Jun 23, '09 07:30:01AM • Contributed by: belisle
On some networks, however, the captive portal page may not provide a way to login. In my case, the page simply provides instructions saying that I need to connect to the VPN to access the Internet. There's no apparently way to exit the HotSpot login without also disconnecting from the WiFi network, which makes it impossible to connect to my VPN.
If you have a jailbroken phone, a workaround to disable the login is to edit /etc/hosts (using a text editor such as nano) and add this line:
0.0.0.0 www.apple.com
This makes connecting to www.apple.com return an error, and thus prevents the HotSpot login from taking over. If you connect to a network that does uses a captive portal login, you can still login using Safari, as in previous OS versions.
Of course, this also makes it impossible to access www.apple.com, but for me that's better than not accessing anything at all.
