iPhone 3.0 and Captive Portal problems

Home Page Forums Network Management ZeroShell iPhone 3.0 and Captive Portal problems

This topic contains 1 reply, has 0 voices, and was last updated by  andywright 8 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41872

    andywright
    Member

    iPhone OS3.0 introduced a change in the way a device authenticates through WiFi. If the phone detects that a Login page (ie Captive Portal) is displayed on initial connection, it ‘traps’ this and displays it when the WiFi connects and obtains its IP address from DHCP.

    The page that appears correctly shows the fields for username and password, together with the Connect button. However tapping either “Done” (part of the ‘trap’ page that iPhone 3.0 displays), or the “Connect” button itself have no effect – the page is never submitted.

    Cancelling-out of this causes the device to release its IP address making it impossible to go into Safari and enter the login credentials there.

    I was wondering if anyone else has come up against this? As more and more people upgrade their phones (and presumably iPod Touches) this is going to become more problematic.

    Andy.

    #48669

    andywright
    Member

    I have come up with an ugly hack for this.

    It seems the iPhone does a DNS lookup on http://www.apple.com prior to redirecting to the Captive Portal page. If the DNS lookup fails, the phone doesn’t display the login screen within the WiFi app, and more importantly, doesn’t lose the assigned IP address. The user can then open Safari and log in as normal through the captive portal.

    To get DNS lookups on http://www.apple.com to fail I created a DNS entry for apple.com without any ‘A’ records on the ZeroShell server.

    This gets around the problem, but does mean that clients can’t get to apple.com pages. Better than none at all though 😀

    #48670

    rjc
    Member

    Did anyone see this on line? I still have this problem, and I’m wondering if zeroshell has been added as an exception.

    http://www.iphonedevsdk.com/forum/iphone-sdk-development/25401-how-disable-os3-0s-wifi-auto-login-feature.html

    If there is a fix beyond boingo I would appreciate some help.

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.