-
Notifications
You must be signed in to change notification settings - Fork 191
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
Android: No Captive Portal Notifications or Forwarding? #85
Comments
It works for http requests but it would be nicer if I can get a platform specific captive portal detection. Is it somehow related to end point resolution? |
I've solved it! I now get captive portal notifications and automatic forwarding to the captive portal on my Android devices (Samsung Galaxy S8) when I connect to the network. The solution was unintuitive but works. Set the SoftAP apIP and apGatway to a WAN IP instead of default LAN 192.168.244.1. It probably works on other platforms too. Recommend this should be the default (172.168.244.1 instead of 192.168.244.1) AutoConnectDefs.h
Solution: tzapu/WiFiManager#553 (comment) |
@bazfp Thank you for your information. This phenomenon is already discussed in arduino-esp32 core repositories. espressif/arduino-esp32#1037 However, I will keep it open for users with a similar problem, as it may be useful as a temporary workaround for a particular mobile OS. |
@bazfp, I decided to solve this problem by taking your solution that according to the PR. The following quote is causing.
Default softAPIP and gateway IP for the captive portal activation have been changed to 172.217.28.1. IP-range 172.217.0.0/16 has assigned to Google LLC so I used the range for new SoftAP IP to support newer Android. |
Closes until a new phenomenon occurs caused by the SoftAP default IP has changed. |
I'm running some simple code and I cannot get the captive portal to work.
It is accessible at
http://192.168.244.1/_ac
but I am not prompted on any device to access this page? I don't think the DNS is working correctly for captive portal?Device: TTGO T-Beam ESP32
Log:
The text was updated successfully, but these errors were encountered: