Flask app for an easy wifi configuration
Project description
Description
wifiConfig is a flask app, for an easy wifi configuration.
Tested environments
Hardware | Rpi zero W |
Operating systems | Linux |
Python versions | Python 3.x |
Distros | Raspbian 10 |
Languages | English |
Instalation
pip3 install --user wifiConf
Usage
- Terminal
sudo wifiConfig start
Not many options avaiable via command line at the moment, for more personalitation use the python module.
- Python
import wifiConf
access_point_config = {"wlan":'wlan0', "inet":None, "ip":'192.168.0.1', "netmask":'255.255.255.0', "ssid":'MyAccessPoint', "password":'1234567890'}
flask_app_config = {"host":"0.0.0.0", "port":"8080"}
myWifiConf = wifiConf.WifiConfApp(access_point_config, flask_app_config)
myWifiConf.start()
By default it will create a hotspot called "MyAccessPoint", with password "1234567890" and the flask app running at http://192.168.0:8080 You can change this with the parameters of the constructor.
Dependencies
- System dependencies
- python3
- Python dependencies
- PyAccessPoint, made by @Goblenus that uses https://pypi.org/project/hostpotd
- flask
Mentions
- PyAccessPoint, made by @Goblenus that uses https://pypi.org/project/hostpotd
- python-wifi (modified) made by @CptMonac
Developer
Roberto Lama Rodríguez - roberlama@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.