This webUI is specifically designed to dynamically connect to a WiFi AP using the browser.
- Connect to Access point created by the Raspberry Pi.
- Open up a browser and navigate to http://raspberrypi.local
- Fill up the
SSID
and thepsk
- Click the connect button. Wait for some time(2-3 minutes). Pi will restart itself and now it is good to go!
- Navigate to the
webui
directory usingcd webui
- Run the command
sudo python app.py
You can set the server to auto-start on boot using systemd
- Create a file called
server.service
usingcd sudo nano /lib/systemd/system/server.service
- Add the following contents to the file
- Enable the service using
sudo systemctl enable server
- Start the service using
sudo systemctl start server
[Unit]
Description=WiFi conf server
After=multi-user.target
[Service]
Type=idle
ExecStart=/usr/bin/python3 /home/pi/webui/app.py
[Install]
WantedBy=multi-user.target