captivenetwork

IOS notification of wifi connection including SSID

∥☆過路亽.° 提交于 2019-12-03 11:21:17
问题 Newbie IOS programmer looking for a way to get notified when the IPhone connects to a WIFI network. i.e. Notification for the following transitions: 3G to WIFI WIFI to 3G WIFI to another WIFI It should be able to tell which SSID I am connected to ... This took about 20 minutes to figure out on Android, can't find a starting point for this function on IOS thanks 回答1: Using the code u can get the SSID data of the WIFI you are currently connected to. CFArrayRef myArray1 =

Connect to captive portal wifi using ESP8266

拜拜、爱过 提交于 2019-12-03 08:47:07
I would like to connect an ESP8266 based sensor on a wifi network protected by a captive portal (I've no other option, and I cannot ask for derogation). I have a login/password to connect. From a basic computer, when I'm connected to the network and I do an Internet request (for example, I search "bl" on google), I got a page like this : https://url:1003/fgtauth?12291a0aff04200a <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> ... </style> <body> <div class="oc"> <div class="ic"> <form

Using ACTION_CAPTIVE_PORTAL_SIGN_IN

你。 提交于 2019-12-03 07:47:41
The Android M supports a new ACTION_CAPTIVE_PORTAL_SIGN_IN . Is there any sample available on how to capture this action. I tried with the normal way of registering for an action in both through the activity and through the broadcast receiver. However when I am connected with the captive portal wifi network, I am not receiving the actions. Someone please help It can be used to allow your app to perform captive portal Wi-Fi sign in. Assuming you have something like this in your manifest: <activity android:name=".SignInActivity"> <intent-filter> <action android:name="android.net.conn.CAPTIVE

Captive Wifi Popup: Click a link to open Safari

泪湿孤枕 提交于 2019-12-03 05:41:50
问题 We are having an issue on our network with iOS devices (ipads, iphones etc): After connecting to the SSID, the iphone / ipad immediately opens the Captive Network Assistant (CNA) - it is like a scaled-down browser without navigation buttons etc - that displays our welcome page (ready for the user to authenticate his MAC in the network to give him internet). This CNA is a functin of iOS, and happens automatically. I was looking around on this forum how to make the user open his Safari browser

Prevent Captive Portal auto-close after authentication (Android)

霸气de小男生 提交于 2019-12-03 03:57:06
问题 So the simple idea is that we have a RADIUS server setup to allow users to authenticate with our Ruckus controller via user credentials. On authentication the user should be redirected to a page that allows them to manage MAC authenticated devices. On everything we have tested so far, including "older" Android devices this seems to be no issue and things run as they should. However with Lollipop (5.0+) versions of Android the captive portal has changed quite a bit, and part of that change is

Facebook.com and the iOS7 Captive Portal Detection

浪子不回头ぞ 提交于 2019-12-03 00:44:59
I created a router that connects to facebook to get some info before a user may access the internet. First they connect, get the Captive Portal Page and then continue to a facebook login. Since the upgrade to iOS7 it fails to load the facebook login page. On my mac with the Captive Portal Assistant it has no problems and even on the phone itself while using the iOS version of safari there are no problems. What is going wrong here? Is facebook filtering request from the iOS7 Captive Portal Assistant or is Apple doing some sneaky stuff here? It seems the problem is widespread and only related to

Captive Wifi Popup: Click a link to open Safari

别说谁变了你拦得住时间么 提交于 2019-12-02 18:07:42
We are having an issue on our network with iOS devices (ipads, iphones etc): After connecting to the SSID, the iphone / ipad immediately opens the Captive Network Assistant (CNA) - it is like a scaled-down browser without navigation buttons etc - that displays our welcome page (ready for the user to authenticate his MAC in the network to give him internet). This CNA is a functin of iOS, and happens automatically. I was looking around on this forum how to make the user open his Safari browser by clicking a link (while in the CNA), thus sending him away from the CNA and into Safari (which is

Prevent Captive Portal auto-close after authentication (Android)

好久不见. 提交于 2019-12-02 17:19:41
So the simple idea is that we have a RADIUS server setup to allow users to authenticate with our Ruckus controller via user credentials. On authentication the user should be redirected to a page that allows them to manage MAC authenticated devices. On everything we have tested so far, including "older" Android devices this seems to be no issue and things run as they should. However with Lollipop (5.0+) versions of Android the captive portal has changed quite a bit, and part of that change is to automatically close the captive portal that launches when you join the network. Because we want them

Ajax on Captive Network Assistant on iOS and OSX

删除回忆录丶 提交于 2019-11-30 23:24:44
Does ajax work on Captive network Assistant on iOS and OSX? I am using jquery to do the following, but does not work. The responseText variable comes neither as true or false. Works fine on proper Safari browser as well as for android and windows devices. Also, is there any documentation available for Captive network Assistant ? I am unable to find any on google. function checkEmailHost(hostname) { if ($.ajax({ type : "GET", url : "welcome/emailvalidate", data : "hostname=" + hostname, async : false }).responseText == "true") { return true; } else { return false; } } Thanks in advance. From

Captive portal on android device

北慕城南 提交于 2019-11-30 00:22:40
I am using my android device as a mobile web server. I want to direct every user that connects through my portable Android hotspot to a specific wellcome page. Does anybody know how to implement this technique in my device (I believe this is called the captive portal technique)? I answer my own question until someone shares some useful information on how to implement the captive portal in a non-rooted device. At the moment I am not aware of such working solution. Captive portal works by intercepting most network packets (using a firewall), regardless of address or port, until the user opens a