Questions tagged [captiveportal]

1

votes
0

answer
207

Views

haproxy frontend cur sessions never decreases

We got a strange behavior with haproxy for one website : frontends current sessions never decreases. haproxy-frontend So, limits are reached after 3 or 4 days, and we have to restart haproxy to reset active connections. Backend servers is a simple nginx with php7. Here is haproxy conf : global log...
Jérôme Denis
1

votes
0

answer
71

Views

Android in captive portal refuses to connect to host in network except gateway

I am implementing captive portal for a local WiFi network (the hotspot where device needs to 'authenticate' before it's traffic can be fully routed to the Internet). When Android devices detects captivity it is able to show login page from the default gateway web server @ 192.168.88.1. However when...
dev-null
1

votes
1

answer
127

Views

How do I implement a captive portal with STM32 microcontroller?

I am using my device as an Access Point and I need to display a deafault web page once somebody is connected. Right now I have to connect to a specific IP (socket parameters: IP 192.168.0.1 , PORT 80) to show the page. The page doesn't need to open automatically, it just has to show up no matter wh...
Gabe
1

votes
0

answer
218

Views

How can I automatically open the app store when connecting to a WIFI network in iOS 11.3?

This worked fine in the previous versions of iOS (prior to 11.3) When my iphone connects to my acces point it brings up the captive portal. The user clicks a button containing a itms:// link to navigate to the app store. On iOS 11.3 it shows the error 'Error Opening Page: Hotspot login cannot open t...
dewijones92
1

votes
0

answer
41

Views

WiFi voucher configuration using c#

I am now working with a hotspot manager application in c#, and i am stock with the voucher creation.Most routers nowadays have built in captive portal. My Problems is how to add new vouchers with time limit to the router using c#. Can somebody help on this I am really lost at the momment. thanks in...
1

votes
0

answer
191

Views

Android 7 and Captive Portal connection authentication in a checkpoint Environment issue

I'm experiencing an issue with android 7 devices and captive portal. I will try to explain this particular issue and actual environment. In our company when someone external(not present in active directory) try to connect on wifi should autenticate him via captive-portal. Our captive portal is under...
Alessandro Renzi
1

votes
0

answer
28

Views

Customized captive portal with external DHCP server

I am stuck in one issue for which I need your help on this. Actually its bit complex to explan about my situatuion but I will try my best. I am working on customized captive portal on arm processor board with embedded linux os. For which I need to run this captive portal server on my arm board. I go...
Dhruv Patel
1

votes
1

answer
264

Views

Detect hotspot usage

I need a develop captive portal for windows. What i did? I share my ethernet connection via wireless adapter with netsh wlan set hostednetwork mode=allow ssid=wifix key=pass1234 command. Detect connecting users (mac/ip pairing) with help of http://www.codeproject.com/Articles/20431/A-Small-DHCP-Serv...
Ercument Eskar
1

votes
1

answer
265

Views

ZAP detectportal.firefox.com

I have set network.captive-portal-service.enabled to false. When I try to run the default AJAX spider, with Firefox, on a URL I've manually browsed it starts a new window with detectportal.firefox.com and hangs the spider because that is forbidden out of context. I then check the about:config for...
liquidtheorems
1

votes
1

answer
107

Views

On Android, 'Sign in to network' uses strange IP routing?

I am trying to have an IoT device (ESP32) use Wifi AP mode, so that I can connect my cellphone to it and visit a webpage hosted on the device in order to see some data. By doing some DNS shenanigans, I do get the 'Sign in to network' pop-up to appear. When I tap on the 'sign in' popup, a page from m...
1

votes
1

answer
793

Views

Jquery page not working on android captive portal sign in browser

I have a captive portal system for which I have built a login page. The page is built in html5 and jquery. It is a single file, multi-page jquery setup and it works perfectly fine in a normal browser(chrome, firefox etc). Android normally detects that the device is connected to a captive portal wifi...
user3777916
0

votes
0

answer
3

Views

Fortigate captive portal javascript message

I have setup a external captive portal in Fortigate running FortiOS v5.6.8 build1672. I have a form in my external captive portal that i submit to the fortigate ip with the fields required (username, password and magic). All works as expected except a message that appears during the login process. T...
cBevilaqua
1

votes
1

answer
77

Views

How make automatic detection of captive portal

I'm doing a hotspot on a server with CentOS 6 and I'd like to know how to make the smarthphones automatically recognize a captive portal, to redirect to the login. No meu firewall eu tenho a seguinte regra: iptables -t nat -A NET_DHCP -i eth1 -s 172.16.0.0/16 -p tcp --dport 80 -j DNAT --to 172.16.0....
Luiz Felipe
2

votes
3

answer
246

Views

NeHotspotHelper: not able to send web request in authenticating state of authentication state machine

I have implemented the NeHotspotHelper so that I can perform authentication in the background for networks with a captive portal. I need to perform a web request in the 'authenticating' state so that I can retrieve the Wispr and also access an API. However, when I try to use URLSession to send a web...
user3344429
4

votes
2

answer
1.2k

Views

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 captive portal inside android application?
Pratik
0

votes
0

answer
5

Views

Nginx redirect except some extensions

I wrote a script that configures a captive portal and everything is working fine. The problem I'm having is because nginx is redirecting all the requests to http://hotspot.localnet/index.php is also redirecting all requests for images. So none of the images in index.php work. Is there a way to exclu...
ag53
4

votes
2

answer
1.6k

Views

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 wifi to use their Google auth credentials in order t...
Beorn
3

votes
0

answer
620

Views

How to detect CaptivePortal network in android?

i want to detect captive portal network and want to redirect that network to my own webview (which contains custom keyboard). i tried with below code but its not working . i am testing on KitKat public class MainActivity extends AppCompatActivity { private static final String URL = 'http://clients3....
Gaju Kollur
2

votes
0

answer
631

Views

How to disable auto open Captive portal in Android marshmallow?

I have work with open ssid of wifi. when auto wifi connected to ssid that time automatically default browser open and redirect to Captive Portal. I have find the method ignoreNetwork() in CaptivePortal class in Android library. Show below link: https://android.googlesource.com/platform/frameworks/ba...
Chirag Parmar
2

votes
0

answer
785

Views

Facebook login on Apple CNA

Questions: Is it possible to set up Facebook login for use in the CNA? Does CNA documentation exist for developers? Can you debug the CNA screen using any developer tools? Details: I have created a captive portal login page that uses an email submission form or a Facebook login button. The login bu...
bdub
2

votes
0

answer
528

Views

OS X CNA (Captive Network Assistant) doesn't load stylesheets for some sites

I wonder if anybody experienced this and, more importantly, found a solution. In OS X (desktop) Captive Network Assistant doesn't apply CSS stylesheets for some websites including (at least) Facebook Login page: Interestingly, it works fine on iOS devices – mobile CNA displays it just fine. Displa...
Denis Mysenko
8

votes
1

answer
1.2k

Views

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 opened and closed immediately and default browser...
2

votes
0

answer
690

Views

Javascript Facebook sdk - captive portal on mobile devices

We are setting up a web app which serves as a wi-fi hotspot using coova chilli and the Javascript Facebook SDK. The app has a 'login with facebook' button that, once clicked, calls the FB.login() function, which opens a pop-up window where the user can insert his credentials and log in. This solutio...
JesperSG
2

votes
1

answer
953

Views

Laravel Radius Authentication

System is built onto: 1. Laravel 5.3 2. php70u 3. PHP PECL Radius Package https://pecl.php.net/package/radius All i want to do is 1. Authenticate users on my own server via custom-built laravel portal (centos 7) 2. And then log them onto FreeRadius server (pfsense BSD machine) Problem is i don't kn...
blankBird_
2

votes
0

answer
395

Views

Captive portal Nodogsplash

I have installed TP-Link WR1043ND and set up a Captive portal using Nodogsplash. So my goal is that when clients connect to my wifi using a mobile device they press on either the Apple Store icon or the Google Playstore so that it redirects them on the page to download the app. It works great and no...
m3kkis
2

votes
1

answer
1.9k

Views

Captive portal not working correctly on iOS 11

On iOS versions before iOS 11: I connect to a wifi network, the captive portal splash page is presented, a presented button links to an app on the app store https://itunes.apple.com/etcetc, the button is pressed and the app store is opened iOS. On iOS 11: The app store is not opened into the foreg...
dewijones92
2

votes
1

answer
484

Views

Captive Network Assistant in Safari does not support Session Storage

I am building an Angular 2 application. The application is bootstrapped when a user joins the wifi network and they are redirected to the application which is rendered in a Captive Portal. The application works in all the other browsers with the exception of Safari for OS X. I cannot debug this but...
Aaron
2

votes
2

answer
801

Views

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 Raspbian. I have http.server (comes with Python3) up an run...
Clone
2

votes
0

answer
403

Views

Android: How to set “captive_portal_server”,“captive_portal_http_url”,“captive_portal_https_url” without use ADB?

My android SDK is API:25 I find an answer to set captive_portal_detection_enabled by use the code below. So that,I can escape the exclamation mark if it's in a walled garden. Settings.Global.putInt(MainActivity.this.getContentResolver(), 'captive_portal_detection_enabled', 0); Now, I want to change...
顏子鈞
2

votes
0

answer
722

Views

ESP8266 Captive portal with pop-up

Has anyone ever succeeded in getting a captive portal to cause a pop-up for the redirected content to a specific landing page on an Arduino or ESP8266? I've tried everything under the sun and while my android will complain about a non-connected internet and other things, it never actually requests/s...
Scott
2

votes
0

answer
228

Views

Getting to know about Captive Portal

We have created a Captive Portal which opens up whenever you connect to a Wi-Fi network. Initially, the page displayed on the Captive Portal was rendered on the server side. Now we are adding some AJAX functionality on the page which is triggered by some user action. However, we are seeing very non-...
nabendu
2

votes
0

answer
205

Views

Apple CNA not showing Facebook Style Sheet (Captive Portal)

I have created a captive portal which requires the user to authenticate via Facebook & Twitter. When the user connects to the hotspot it produces the Captive Network Assistant (Captive portal window). Everything to this point works fine, CSS, HTML, JS & PHP loads fine without any issue. When the us...
just_chris
2

votes
1

answer
945

Views

Android captive portal after login redirection

i have the following problem that i could not figure out: i've created a captive portal when people connects to my hotel's wifi, in some Androids devices - the 'sign up' splash page closes after receiving 204 response in the end of the login - but in some Androids it stays open and you can continue...
ddor254
2

votes
1

answer
367

Views

'disallowed_useragent' error on captive portal

We are currently dealing with a big issue where our Captive Portal solution cannot work with Google OAuth and it is giving 'disallowed_useragent' error on iOS captive portal (seems to work on Android captive portal). Our reference: Laravel Socialite Sign in with google method Other similar reference...
Chee How Lim
3

votes
1

answer
344

Views

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 inspect anything in this evil browser (can it be calle...
Canta
2

votes
0

answer
65

Views

PDF download does not work on Android Captive Portal Browser

I have a captive portal set up on my RaspberryPi device which runs a Python/Pyramid based project. When you connect to device's hotspot it gives a notification and when you click on that notification it takes you to the defined(default) page where I have multiple links which let you download PDF fil...
Saquib Sheikh
2

votes
0

answer
3.1k

Views

How to add facebook login to pfSense Captive Portal?

I'm currently working on an active portal, in pfSense. My goal is to implement a Facebook Login along with the default Local User Manager. While I'm developing, I have no authentication method whatsoever, meaning I have unlimited internet access (I tested it). But, when I click on the login button,...
Mirlfit
2

votes
1

answer
598

Views

Avoid captive portal

I'm trying to make a device with no internet connection that redirects any connection to its wifi to a unique page, a pirate box like. I use a NodeJS server and dnsmasq to redirect all connections to the server. That's working perfectly but when I try to connect with a Android or iOS smartphone it d...
N.Bv
3

votes
1

answer
831

Views

iOS CNA on iOS 10.3 does not open links in Safari

I have a router that opens the Apple CNA on a captive portal with a button to accept the terms & conditions When the users accept the terms, the router unlocks the connection and redirect the user to a welcome page with a link. On iOS 10.2.1 when I click on the link (it is an absolute link 'https://...
Mattia Lancieri
3

votes
1

answer
430

Views

Cloudtrax HTTP Authentication API debug

I'm using the Cloudtrax HTTP Authentication API to create a custom logic for router authentication that has a captive portal. When the router asks for a status request, the server responds the following: 'CODE' 'ACCEPT' 'RA' '1c65684265a2bb1a7c87e4d9565c2b18' 'SECONDS' '3600' 'DOWNLOAD' '2000' 'UPL...
ignacio.munizaga

View additional questions