Comment 4 for bug 1039042

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote : Re: Detect captive portals when connecting to WiFi

Somewhat hacky (though possible) way of doing it outside of NetworkManager: use NetworkManager's DBus API to watch for connecting to a wireless network. Once a connection is made, try and hit an external page and detect if there's a captive portal. If not, do nothing. If there is, then prompt the user to sign in.