Page 1 of 1

iPhone iOS v4 problem with Hotspot Logon Page

Posted: Mon Jun 28, 2010 1:50 pm
by interpoint
Hello,

I have had two recent seperate complaints about users running the latest iPhone iOS v4 that they cannot login or see the MT Hotspot login page.

Has anyone seen this ? Same hotspots have no problems with Apple iOS v3.x

I do not have an iPhone with this version of the software so it is difficult to test.

The Hotspot is setup as an "out of the box" config using the Hotspot wizard and fresh copy of ROS 3.30. Hotspot HTML is not modded in any way.

Thanks

Shane

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Mon Jun 28, 2010 4:51 pm
by cobianet
I don't know if it's the same on iOS4 as I don't have a device to test it, but I have seen this problem with all captive portals on the iPad. It is still a problem for every iPad that encounters a captive portal. I've tested this extensively on mikrotik hotspot and wifidog.

http://teckhnologia.blogspot.com/2010/0 ... -ipad.html

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Mon Jun 28, 2010 5:13 pm
by interpoint
I don't know if it's the same on iOS4 as I don't have a device to test it, but I have seen this problem with all captive portals on the iPad. It is still a problem for every iPad that encounters a captive portal. I've tested this extensively on mikrotik hotspot and wifidog.

http://teckhnologia.blogspot.com/2010/0 ... -ipad.html
Thanks cobianet for your comment and excellent Blog.

Your conclusion is to "disable Autofill for Names and passwords".. I will try and get an iPhone with iOS v4 to see if I can reproduce / solve the problem with your suggestion.

Anyone that has one and wishes to experiment then please feel free to contribute to this thread. Many hands make light work :)

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Mon Jun 28, 2010 5:46 pm
by cobianet
It's not my blog, just one I found when researching the problem.

I can say that it does resolve the issue on the iPad.

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Mon Jun 28, 2010 5:48 pm
by sonny
Hi,

you can try to set in hotspotserver adresses per MAC to 1. mostly it will help.

Sonny

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Mon Jun 28, 2010 8:07 pm
by roadracer96
Just tried it on my 3gs running 4.0 on a 5.0b3 RB450g. Worked exactly as it used to work.

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Mon Jun 28, 2010 8:08 pm
by ciphercore
the iPad should still be on ios 3. It does not do IOS 4 yet, but it will soon..

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Mon Jun 28, 2010 8:42 pm
by interpoint
Just tried it on my 3gs running 4.0 on a 5.0b3 RB450g. Worked exactly as it used to work.
Interesting.. Can you re-test on non beta version of MT?
Also do you have disable Autofill for Names and passwords turned off on iPhone as per blog above.

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Mon Jun 28, 2010 8:55 pm
by bigguns
Hi there,
Non of my apple products are having any issues what so ever - I would assume it something to do with your setup?

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Mon Jun 28, 2010 9:55 pm
by roadracer96
Just tried it on my 3gs running 4.0 on a 5.0b3 RB450g. Worked exactly as it used to work.
Interesting.. Can you re-test on non beta version of MT?
Also do you have disable Autofill for Names and passwords turned off on iPhone as per blog above.
I think this might be the reason. I use these in restaurant environments where you force people to the restaurants web page or to a specials page, etc. so it goes to their webpage in an iframe with a button at the top "WiFi, Click to connect" and then it goes to the login page. So the phone cant auto-login.

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Mon Jul 12, 2010 5:04 pm
by ciaranc
I have had the same issue on 3 different sites using different versions of MT OS.
It worked fine with the 3gs pre os upgrade to OS 4 we had noticed theat some users could not use their IPOD touches
or some MAC airbooks ( I do not have exact OS version numbers).

It turned out to be when we removed the DNS Name from the Hotspot profile it would redirect to the login page without a problem.
This is specifically if the DNS Name in the Hotspot profile uses the .local suffix only.

Anyone else who can test this would be great and confirm.
Cheers

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Wed Oct 06, 2010 6:06 am
by wilburt
Hi,

Yes I have also confirmed this with my iOS4 iPhone.

It only works if i remove the dns name. It looks like it uses apple.com as the default dns server and tries to look it up.

Has anyone found a way around it? I also noticed that when you select the specific hotspot you want to connect to, the wifi icon on the iPhone doesn't show, so when you have a walled garden it actually access the web via the internet mobile and NOT the hotspot.

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Wed Oct 06, 2010 6:33 am
by wilburt
Hi roadracer96,

Did you manage to get any solution with the problem you were having with the redirect to a specific page after login via iPhone?

Thanks.

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Wed Oct 06, 2010 11:18 am
by normis
we have tested with different iPhones and an iPad, we don't see any hotspot page issues. Are you using a customized page? Which RouterOS versions have you tested?

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Thu Oct 07, 2010 4:08 am
by wilburt
It turns out that it is due to the Auto-login feature of the iPhone OS3.x and above. Otherwise know as CNS.

"With OS3.0, Apple introduced a new auto-login feature for wireless networks. When you join a network, the OS tries to to fetch a test page (specifically, this one). If it gets something other than the expected test data (like a school or hotspot login page), a view pops up showing the login page. The view has a Cancel button on it, but if you click on it, the phone DISCONNECTS you from the network."

from http://www.iphonedevsdk.com/forum/iphon ... ature.html

If this feature is turned off, then there is no issues connecting.

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Thu Oct 07, 2010 7:56 am
by normis
good to know, thanks!

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Thu Nov 18, 2010 12:57 am
by bluecrow76
The trick is to do the following:
/ip hotspot profile set hsprof1 dns-name=""
/ip hotspot walled-garden
add action=allow comment="" disabled=no dst-host=www.apple.com path=/library/test/success.html
For some reason the iPhone and iPad won't resolve the dns-name of the hot spot properly, so don't set it and it will use the IP instead.

The next trick is to allow http://www.apple.com/library/test/success.html in the walled-garden. If IOS can't see that URL, it pops up the annoying login screen. The user can then go run a browser on the device and will be presented with the hotspot login screen.

This is of course a workaround. The proper way to do it is to figure out what the little login popup screen wants to see as a signal that the user was authenticated, but I haven't been able to figure that one out yet.

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Wed Nov 24, 2010 10:19 am
by mabellan
Hello everybody

I've just resolve this issue changing DNS name .local (for example .info)

I've tried it with Iphone v4 and works fine.

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Wed Nov 19, 2014 6:41 pm
by cmue
Hello everybody

I've just resolve this issue changing DNS name .local (for example .info)

I've tried it with Iphone v4 and works fine.
Thanks, This works perfekt!
Change from .local to .de have no Problems

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Thu Nov 20, 2014 8:07 am
by Nikita
Nice Discussion. Thanks

Re: iPhone iOS v4 problem with Hotspot Logon Page

Posted: Thu Nov 20, 2014 9:23 am
by bajodel