captive-portal-wifi-stack icon indicating copy to clipboard operation
captive-portal-wifi-stack copied to clipboard

The UI does not pop up

Open kargarisaac opened this issue 2 years ago • 1 comments

Hi, I follow this procedure but cannot see the UI:

  • add - origin: https://github.com/tripflex/captive-portal-wifi-stack to my project's mos.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

kargarisaac avatar Feb 23 '22 23:02 kargarisaac

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

tripflex avatar Mar 01 '22 14:03 tripflex