A piece of software that allows you to connect your Raspberry Pi with any wi-fi network via web browser in your smartphone or PC.
To install program on your Raspberry Pi please follow instructions below:
-
Enable sudo without password by editing sudoers file. Type 'sudo visudo' and add following line into the file:
pi ALL=(ALL) NOPASSWD: ALL
-
Install software by running
setup.sh
script while being in the pi-wifi-connector directory./setup.sh
-
Reboot you device
sudo reboot
After reboot your Raspberry Pi should automatically turn itself into hotspot mode. Then you can use your PC/smartfon/any other device with wi-fi module and web browser, and connect with Raspberry Pi. Then open browser and go to this address:
https://192.168.0.1:8080/
Provide the same password as to the hotspot. You should see a nice, intuitive, and responsive interface, that allows you to connect Raspberry Pi with available network, disconnect it (and return to hotspot mode) and check internet connection.
To connect Raspberry Pi with wi-fi please choose your network, type in a valid password to this network and click button. After that device will try to connect with chosen wi-fi network, and you won't be able to see a result of that operation. If it succeed, Raspberry Pi will be connected to this network as long as it provides Internet connection. Otherwise Raspberry automatically turns back to hotspot mode. NOTE: You cannot connect device to local network with no Internet connection.
To disconnect device from network and turn it back to hotspot mode, find address of device in local network (for example using nmap
) and open it's application in browser like before:
https://<address in local network>:8080/
Provide password and after that click "Go offline!" button.