captive-portal-wifi-stack
captive-portal-wifi-stack copied to clipboard
The UI does not pop up
Hi, I follow this procedure but cannot see the UI:
- add
- origin: https://github.com/tripflex/captive-portal-wifi-stack
to my project'smos.yml
file -
mos build --clean
-
mos flash
-
mos call Sys.Reboot
- connect to Mongoose_XXXX using my phone and using the pass
Mongoose
- But no UI pops up to set wifi username and password.
Am I doing sth wrong?
Update:
When I connect to Mongoose wifi and go to http://192.168.1.104
ip, I see a list of files and when I go to http://192.168.1.104/wifi_portal.html
, I see the page to select wifi and input password. How can I make it default to be opened automatically when user connects to the wifi? User is not technical and needs a simple GUI.
Thank you
You need to enable it on boot, specifically cportal.enable
it's disabled by default, see the captive portal lib:
https://github.com/tripflex/captive-portal#settings