I built a captive portal (Linux Debian router), providing a WifiHotspot based on hostapd and iptables rules ( like this: http://www.andybev.com/index.php/Using_iptables_and_PHP_to_create_a_captive_portal ).

It works, by redirecting any request to a local welcome login page.

On Android, Kindle: the portal is detected as captive. And something happens ( notification, alert, popup...)

On iOS, the CNA (Captive Network Assistant), nothing happens. Unless I put wispr payload in the local pages ('Reply' one, MessageType=100, code=0). Example: http://www.coova.org/node/4346

My question is: why ? Why without WispR "tag" there is no CNA ?


Put the wispr payload, it is required.

I must confess I have been painful and unsuccessfuk in finding doc about. A bounty is to come about: https://stackoverflow.com/questions/31650338/apple-documentation-about-wispr-cna

  • This needs more detail, e.g. Apple dev documents describing this. – Sven Jul 27 '15 at 8:43
  • @Sven There is no dev documents for this (it does not concern iOS or OSX apps development). The question is about wispr, answer is 'yes, needed'. – ArchiT3K Jul 27 '15 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.