You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented your script. When I select the hotspot SSID using an iphone, the safari did not activate automatically. I need to start the browser (in this case safari) and key in hotspot.localnet before it goes to the captive portal.
Anyway for the browser to startup when sign into the hotspot?
Rggs,
James
The text was updated successfully, but these errors were encountered:
When I tested it today, the popup didn't work. I captured traffic on Raspberry pi and used wireshark to see what was happening.
When Mac connected to CaptivePortal there was no internet and my Mac having manual DNS of 8.8.8.8 tried to resolve captive.apple.com. That wasn't successful.
When I changed the DNS on my Mac to Automatic, it get a proper response from Raspberry pi and popup worked fine.
The logic, from what I understand, is that Mac has to be able to resolve captive.apple.com to 17.253.35.204 but no other traffic is allowed.
Can you set your DNS to automatic?
If this still doesn't work:
Install tcpdump
apt-get install tcpdump
Start capturing traffic to a file
tcpdump -s 0 -i wlan0 -w mac.pcap
Connect to CaptivePortal and if popup is not happening, open captured file in Wireshark.
Hi,
I implemented your script. When I select the hotspot SSID using an iphone, the safari did not activate automatically. I need to start the browser (in this case safari) and key in hotspot.localnet before it goes to the captive portal.
Anyway for the browser to startup when sign into the hotspot?
Rggs,
James
The text was updated successfully, but these errors were encountered: