Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The UI does not pop up #7

Open
kargarisaac opened this issue Feb 23, 2022 · 1 comment
Open

The UI does not pop up #7

kargarisaac opened this issue Feb 23, 2022 · 1 comment
Labels
question Further information is requested

Comments

@kargarisaac
Copy link

kargarisaac commented Feb 23, 2022

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

@tripflex
Copy link
Owner

tripflex commented Mar 1, 2022

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 tripflex added the question Further information is requested label Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants