tested on ESP8266 & android 6.0 - not workin
UrbanskiDawid opened this issue · 6 comments
sadly this does not work for me, have you tested it? is it working for you?
@ranma1988 this worked for me on NodeMCU v2 using Safari on both the iPhone X and iPhone 6 and Chrome web browser on Windows 10 for setting the WiFi options. Are there any specific problems you're having? With a serial connection to your ESP device and trying to connect to the portal is the mock DNS server giving any output on the terminal?
I should have been more specific:
I was expecting a 'popup' page after connecting to my node-mcu is this happening in your enviroment?
@ranma1988 check http://blog.brockman.io/?p=54 , it's not a 'true' captive portal right now. It doesn't force a redirect to a landing page. Try connecting to the WiFi network and navigating to http://192.168.4.1:80/
The DNS+HTTP had been working from the start.. are you planing to add support for "force a redirect to a landing page"? or have you faond any materials on how to implement it?
It would be complicated, see here https://ansonvandoren.com/posts/esp8266-captive-web-portal-part-1/#:~:text=The%20non-HTTPS,actually%20need
I used the code on the ESP32 and it doesn't work. I can see the dns request and reply message in the That's what I need. Thanks~
It would be complicated, see here https://ansonvandoren.com/posts/esp8266-captive-web-portal-part-1/#:~:text=The%20non-HTTPS,actually%20need
Many thanks for the link. That's exactly what I want.