TUI for setting up Rasperry PI 3 WiFi settings via web browser
BASED ON SHELLINABOX
https://github.com/shellinabox/shellinabox
Tested on 2019-09-26-raspbian-buster-lite.img
Step by step guide:
# sudo su
# apt-get install shellinabox apache2
# nano /etc/default/shellinabox
SHELLINABOX_ARGS="--no-beep --disable-ssl --localhost-only --service /:0:0:/root/webmin/:/root/webmin/webmin.sh"
# systemctl restart shellinabox.service
# nano /etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:80>
...
<Location /wifi>
ProxyPass http://localhost:4200/
Order allow,deny
Allow from all
</Location>
...
</VirtualHost>
# a2enmod proxy_http
# apachectl restart
# cd
# mkdir webmin
# cd webmin
# wget https://raw.githubusercontent.com/Telefonorosso/rpi-wifi-in-a-box/master/webmin.sh
# wget https://raw.githubusercontent.com/Telefonorosso/rpi-wifi-in-a-box/master/en.locale.sh
# chmod +x webmin.sh
DONE!
Navigate to: http://[address_of_your_pi]/wifi
Please note:
WiFi regulatory domain is hardcoded to "IT" (Italy).
Line 23 in 25c6cb0
Change it to suit your needs.