coova / coova-chilli

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

iPhone does not pops up the captive portal page second time. #373

Open amit-tomar-cm opened 7 years ago

amit-tomar-cm commented 7 years ago

We are developing a captive portal solution where the user can get wifi.

First time when the user connects, then the popup comes up and user gets connected after clicking "Connect" button When the user disconnects we wipe out the data from backend radius servers, and cleanout the sessions in coovachilli, so the backend state is as if the user never connected. (We can also simulate it if we restart chilli and don't use a radius server.. just use a localusers file)

On Android if the user tries connecting again, then he will get a new popup. But on iPhone the user does not gets a popup. When the user opens a browser and tries to navigate to a non-secure website then he is redirected to the captive portal page. On iPhone if we go in settings and either do a "forget this network" or "Auto-Login = YES" then we get a popup evertime the user disconnects and reconnects.

Can somebody tell me

  1. Is it possible to control this "Auto-Login" session somehow from router..
  2. Or send something differnet in wispr response which iPhone understands.

Regards, Amit

carlosheiras17 commented 7 years ago

what documentation did you follow? i'm having issues poping up the captiveportal on iphone and android. it just simple dont appears.