-->
Page 1 of 1

Captive Portal Advanced sketch not working

PostPosted: Wed Feb 28, 2018 8:43 pm
by Richmond Gingingon
I just use the original DNSServer example sketch which is Captive Portal Advanced. I have done connecting to the AP but the page not loaded because it says "network connection is lost". This is the screenshot of the error popup. Image?

Re: Captive Portal Advanced sketch not working

PostPosted: Thu Mar 01, 2018 7:29 am
by rudy
Captive portals with the ESP8266 can be difficult. Some applications are "smart" and expect to see certain things before they let you access a captive portal. Different operating system platforms may require different tricks to get it to work. Basically having the ESP8266 provide the parts that the application is expecting to see.

Do a search for captive portal and the device type you are using. (Ipad ?)

Re: Captive Portal Advanced sketch not working

PostPosted: Fri Mar 02, 2018 6:31 pm
by mrburnette
It has been a couple of years since I played around with redirection, but I had it working here:
https://www.hackster.io/rayburne/esp8266-captive-portal-5798ff

Ray

Re: Captive Portal Advanced sketch not working

PostPosted: Mon Mar 05, 2018 8:55 am
by schufti
most difficult I encountered try to resolve some dns before they accept "internet" as connected and even try to access website.