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
sudo pip3 install wifiConfig
Usage
- Terminal
sudo wifiConfig start
You need to run it with permissions to modify the file /etc/wpa_supplicant/wpa_supplicant.conf
usage: wifiConfig [-h] [-w WLAN] [-i INET] [-ip IP] [-n NETMASK] [-s SSID]
[-p PASSWORD] [-c CHECK] [-ho HOST] [-po PORT]
{start}
Flask app for an easy wifi configuration, iot oriented.
positional arguments:
{start}
optional arguments:
-h, --help show this help message and exit
-w WLAN, --wlan WLAN wi-fi interface that will be used to create hotspot
(default: wlan0)
-i INET, --inet INET forwarding interface (default: None)
-ip IP, --ip IP ip address of this machine in new network (default:
192.168.0.1)
-n NETMASK, --netmask NETMASK
no idea what to put here as help, if don't know what
is it don't change this parameter (default:
255.255.255.0)
-s SSID, --ssid SSID name of new hotspot (default: MyAccessPoint)
-p PASSWORD, --password PASSWORD
password that can be used to connect to created
hotspot (default: 1234567890)
-c CHECK, --check CHECK
If True, it checks the internet con before launch the
app. If you have connection the app will not be
launched (default: True)
-ho HOST, --host HOST
name of new hotspot (default: 0.0.0.0)
-po PORT, --port PORT
password that can be used to connect to created
hotspot (default: 8080)
- Python
import wifiConfig
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"}
myWifiConfig = wifiConfig.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
Metadata
Release files for wifiConfig 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wifiConfig-0.1.14.tar.gz | 8.8 kB | Without provenance | Details for wifiConfig-0.1.14.tar.gz |
Release files / wifiConfig-0.1.14.tar.gz
| Download URL | wifiConfig-0.1.14.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
848850639f953cf7c3be43c070d9f62b1cb8c1597c062e2adbe075e25bf071c1
|
|
BLAKE2b-256 checksum How to use checksums |
e68ccc3028aec3c697874bb7d27148ebaba82851c0e1b4d073c73049bfe45daa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3
|
Security for wifiConfig 0.1.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.