Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Captive Portal not working with Apple devices #28

Open
spatiald opened this issue Oct 22, 2016 · 3 comments
Open

Captive Portal not working with Apple devices #28

spatiald opened this issue Oct 22, 2016 · 3 comments
Labels

Comments

@spatiald
Copy link
Contributor

Background

NOT WORKING - OSX 10.11.6
WORKING - Windows 10
NOT TESTED - Debian

Problem

On OSX, logging onto the RACHEL AP doesn't spawn a working captive portal page nor does it redirect when you try to surf to site (the latter usually happens if no traffic triggered the original popup).

Logs

OSX connnection

It spawns this captive portal box:
image

From /var/log/http/access_log:
192.168.88.11 captive.apple.com - [22/Oct/2016:19:38:09 -0400] "GET /pass_ticket.shtml HTTP/1.1" 200 29 "http://captive.apple.com/hotspot-detect.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko)"

Windows 10 connnection

It works (redirects to captive portal page) but drops one error.

From /var/log/http/access_log:

2016-10-22 19:27:39: (mod_fastcgi.c.2698) FastCGI-stderr: PHP Notice:  Undefined variable: preflang in /media/RACHEL/rachel/captiveportal-redirect.php on line 6

From /var/log/http/error_log:

192.168.88.12 www.msftconnecttest.com - [22/Oct/2016:19:27:36 -0400] "GET /connecttest.txt HTTP/1.1" 200 922 "-" "Microsoft NCSI"
192.168.88.12 go.microsoft.com - [22/Oct/2016:19:27:38 -0400] "GET /fwlink/?LinkID=219472&clcid=0x409 HTTP/1.1" 200 922 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393"
192.168.88.12 go.microsoft.com - [22/Oct/2016:19:27:39 -0400] "GET /pass_ticket.shtml HTTP/1.1" 200 29 "http://go.microsoft.com/fwlink/?LinkID=219472&clcid=0x409" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393"
@needlestack
Copy link
Collaborator

Just fixed the Win 10 error -- will look into the mac problem

@needlestack
Copy link
Collaborator

So it looks like this is working in the latest Mac OS (Sierra). I don't have a device with an older version to test with. Can you replicate it? I have some things you could try...

@spatiald
Copy link
Contributor Author

Working on OSX 10.10.5 (Yosemite)

Not Working on OSX 10.11.6 (El Capitan) - let's put a hold on this issue while I test some more stuff on my own system. Maybe a laptop issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants