Coder Social home page Coder Social logo

msc's Introduction

APConfigurator

APConfigurator is a Python-based application designed to help configure access points (AP) on various Wi-Fi-enabled devices with IoTempower support. It provides an easy-to-use interface for setting up and managing Wi-Fi networks, making it ideal for classroom use and IoT applications.

Features

  • Configure access points using NetworkManager or hostapd.
  • Configure OpenWRT routers.
  • View connected clients.
  • View and manage access point settings.
  • View Wi-Fi chip information.
  • Runs bash scripts asynchronously in the background.

Project Structure

  • ap_configurator.py: Main entry point of the application containing the APConfigurator class and the main application logic.
  • config.py: Shared configuration and state variables.
  • utils.py: Utility functions including asynchronous command execution.
  • screens.py: Screen classes for different configuration and information views.
  • style.tcss: CSS styles for the Textual app.
  • scripts/: Directory containing bash scripts used for configuration and detection.

Requirements

  • Python 3, bash
  • Python libraries: Textual, paho-mqtt
  • Libraries: arp-scan, lshw, lspci, lsmod, hostapd, network-manager
  • IoTempower installed and activated

Usage

  1. Install the required libraries and packages.
  2. Install and activate IoTempower.
  3. Run the run.sh script and enter your sudo password if prompted.

Other scripts

This repository also contains scripts for monitoring live gateway connections:

  • mqtt_alive.py can be used to count the number of live clients transmitting over MQTT.
  • scripts/ap_neighs.py uses arp-scan to search for currently active connections.
  • scripts/neigh.py and scripts/neigh_iw.py use ipand iw respectively to display the connected devices.

msc's People

Contributors

tonysln avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.