Community discussions

MikroTik App
 
tarasius
just joined
Topic Author
Posts: 5
Joined: Thu Apr 16, 2015 1:06 pm

Captive portal without internet on Android

Fri Apr 24, 2015 10:56 pm

Good day. I need Captive Portal on the WiFi hotspot that will work without internet and popup a notification or open a login page automatically. I am using Mikrotik with RouterOS 6.27. I created hotspot and then added a RegExp in DNS like

.* = HOTSPOT_IP_ADDRESS

It works fine in Windows and iOS since their captive portal detection is based on getting the response from some website. Afaik - any response. But for Android it must be some special response, with empty content or status code 204 - I am still not sure.

I tried to emulate google pages which give 204 or empty response and did redirection to my server with this emulation pages but it did not help Android to show notification.

So I need help to make captive portal notification in Android without internet.

Thanks.
 
hubber
just joined
Posts: 7
Joined: Wed Nov 11, 2015 12:26 am

Re: Captive portal without internet on Android

Wed Nov 11, 2015 12:29 am

*.*=8.8.8.8
.*=8.8.8.8
.*.*=8.8.8.8

Who is online

Users browsing this forum: No registered users and 55 guests