coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
518 stars 260 forks source link

iPhone / Android devices issues #267

Open Onepamopa opened 8 years ago

Onepamopa commented 8 years ago

For some reason the newer versions of iOS and Android have problem with the redirect to the authentication page.

We have to manually disable "auto login" (and other similar settings) in order to have these devices working properly with coova-chilli.

jobezic commented 8 years ago

What kind of problems do they have?

Onepamopa commented 8 years ago

Well, authentication always fails if auto-popup/auto-auth functionality on iOS/Android is enabled. I have to manually stop these then reconnect to the network, open the browser manually - only then the authentication succeeds.

Note that I'm not using the built-in web interface. I'm using apache serving hotspotlogin.php (daloradius) on the hotspot side (I don't really think this is the problem, but still..)

jobezic commented 8 years ago

Do you see any response from radius when the authentication fails? Try to debug radius to see what request it receives..

Onepamopa commented 8 years ago

I'll have to check that, will report in a day or two.

irongomme commented 8 years ago

Is there any cache on server side for the hotspotlogin page ? The challenge have to renewed each time and it can make the login fails if its not.

Onepamopa commented 8 years ago

There is no cache server. Sorry for the late reply, I haven't been on the location recently. I'm waiting for someone on-site to login with iOS and Android devices while I watch the logs.

Will provide more information as soon as possible.