Hacker News new | ask | show | jobs
by ckuehl 3615 days ago
Most operating systems have started detecting captive portals and presenting a notification. All of the modern consumer ones (OS X, Windows, Android, iOS) appear to have this detection. (I don't use it so not sure how well it works, though.)
3 comments

I used to stay a lot at a hotel that would "helpfully" exempt a good number of domains from the captive browser, including whatever macs and androids use to detect connectivity...

There should really be a standard for dealing with this, like a flag on DHCP saying "O HAI you need to login here", and providing a REST endpoint that will tell the OS the status of the connection at any given time.

As if such a standard would help for these WiFi providers that explicitly take steps to avoid captive portal detection?
Surely it's not in their interest to avoid captive portal detection, anyway? After all, it helps them advertise their product!
Bugs will happen, but it's a very simply operation, they simply load an HTTP URL that has an expected response (Google's is just a 204 No Content) and check if it matches.
Chromebook does as well. Works great.