Captive portals are pages to which users are redirected to until they are logged in.
Questions tagged [captiveportal]
140 questions
15
votes
2 answers
How to specify wifi network with NetworkRequest.Builder().setNetworkSpecifier(string)
I am searching for a way to let an Android 5.0 tablet connect to an intranet which does not have internet connection for security reasons.
Problem is the captive portal protection that Google build in android since 4.4/5.0.
A call is done to…

bluevoid
- 1,274
- 13
- 29
9
votes
1 answer
iPhone/ Android will not dismiss wifi landing page implemented with DNS
I am trying to implement a splash page/ wifi landing page on my existing public wifi network, using the DNS method mentioned in Wiki, in which I host a custom DNS server, that will redirect ALL dns lookup to a local address where a web server is…

kaho
- 4,746
- 1
- 16
- 24
8
votes
2 answers
Google OAuth 2.0 and Captive portal with Embedded browser
Both Android and IOS devices have a mechanism to detect captive portal on Guest Wifi networks.
Whenever a captive portal is detected, these devices start an embedded browser in order to show up the captive portal.
My captive portal allows my guest…

Beorn
- 81
- 1
- 3
8
votes
1 answer
How to open default browser from captive on Android
We are developing WiFi authentication solution which should redirect user to the particular page after connection to the WiFi.
On the Android devices we faces with the problem. Once user clicks on the notification into the widget, captive is getting…

Sergey Teplyakov
- 603
- 8
- 18
7
votes
1 answer
Samsung phones ignore Captive Portal intent (android.net.conn.CAPTIVE_PORTAL)
I want to setup an Activity that can be chosen to navigate a captive portal.
When I select a WiFi network that is captive I want to be able to choose my app as the handler instead of starting the CaptivePortalLogin app that's preinstalled on every…

Paul Weber
- 133
- 9
6
votes
2 answers
Open browser in Android Captive Portal after sign in
I am making a captive portal for Android:
the user connect to Wi-Fi
the captive portal open with informations for login (302 of /generate_204)
I post the informations and release the user to use internet (204 of /generate_204)
THE PROBLEM: the…

aneto
- 1,501
- 2
- 13
- 19
5
votes
3 answers
Captive Portal inside Android App
Can anyone suggest how to open captive portal inside android app?
i have gone through below links
https://developer.android.com/reference/android/net/CaptivePortal.html
Using ACTION_CAPTIVE_PORTAL_SIGN_IN
Can anyone have a complete guide to use…

Pratik
- 452
- 4
- 17
5
votes
2 answers
How do I implement a simple Captive Portal with `http.server`?
I would like to serve a Captive Portal - page that would prompt the user to agree to certain terms before starting browsing the web from my wireless network (through WiFi) using http.server on my Raspberry Pi that runs the newest version of…

Clone
- 3,378
- 11
- 25
- 41
5
votes
1 answer
HTML5 Video not showing on Mac OS X (Desktop) CNA (Captive Network Assistant)
I'm building a captive portal for free wifi access. When user connects, the CNA pops up in the screen where my portal is loaded.
Problem: HTML5 video is not being displayed in OS X desktop. Even iPhone can show it, desktop doesn't. I cannot even…

Canta
- 1,480
- 1
- 13
- 26
5
votes
1 answer
How to disable captive network assistant into android device?
When a user connects to an open WiFi with a Captive Portal, the Android device will open a browser instance with the captive portal/login page.
We want to disable it, since we used an app for login purposes.
I came across the CaptivePortal Class…

ChandreshKanetiya
- 2,414
- 5
- 27
- 41
4
votes
0 answers
Disable captive portal checking on Android 9
How does one completely disable captive portal checking on Android 9 (on a Moto G7 Play in my case)?
Answers to similar questions, here and on other sites, suggest to change settings through the ADB shell.
What I have set so far with adb…

Dominik
- 244
- 1
- 3
- 13
4
votes
1 answer
How to redirect to default browser from captive portal (cna browser)
So, i have to redirect user from captive portal to browser, cause captive portal doesnt support japascript and cookies correctly. How anyone an idea?
Thank you very much

Игорь Кабаков
- 99
- 1
- 5
4
votes
1 answer
How to disable captive portal detection on Android 6.0?
Before, I just execute the command in terminal:
settings put global captive_portal_server 127.0.0.1 && settings put global captive_portal_detection_enabled 0
And everything worked fine. But now the captive portal window "Join Wifi" appears again,…

Евгений Шахов
- 167
- 3
- 14
3
votes
0 answers
iOS Captive Network Assistant (CNA) does not load on some iPhones
We are seeing an issue with iOS Captive Network Assistant (CNA). When a user selects public SSID to access internet, CNA does not load on some iPhones. This behavior is random and is not specific to any iPhone or iOS version. We checked on Captive…

ltrivedi
- 31
- 2
3
votes
2 answers
Is there any standard URL for detecting presence of captive portal?
I am writing an application wherein I would like to check if the user is connected to the Access Point, but network access is not permitted(due to presence of captive portal).
The following URL is a test server from Microsoft, and if everything is…

Ashish Mittal
- 643
- 3
- 12
- 32