micropython-captive-portal-network-setup icon indicating copy to clipboard operation
micropython-captive-portal-network-setup copied to clipboard

tested on ESP8266 & android 6.0 - not workin

Open UrbanskiDawid opened this issue 7 years ago • 6 comments

sadly this does not work for me, have you tested it? is it working for you?

UrbanskiDawid avatar Dec 29 '17 23:12 UrbanskiDawid

@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?

Matt4 avatar Dec 30 '17 19:12 Matt4

I should have been more specific: I was expecting a 'popup' page after connecting to my node-mcu is this happening in your enviroment?

UrbanskiDawid avatar Dec 30 '17 23:12 UrbanskiDawid

@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/

Matt4 avatar Dec 31 '17 00:12 Matt4

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?

UrbanskiDawid avatar Dec 31 '17 12:12 UrbanskiDawid

It would be complicated, see here https://ansonvandoren.com/posts/esp8266-captive-web-portal-part-1/#:~:text=The%20non-HTTPS,actually%20need

jacobhq avatar Feb 01 '21 09:02 jacobhq

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.

alexhuang226 avatar Mar 30 '22 08:03 alexhuang226