GNOME Bugzilla – Bug 379523
Add captive portal authentication support
Last modified: 2008-11-05 16:12:52 UTC
More and more networks uses captive portal and forces users to authenticate on a web page before allow them to use the network. It would be great if NM could automatically perform the HTTP authentication using login/pass previously stored in gnome-keyring. I'm not sure if it's really doable but maybe something like that could work: - when we're connected, try to reach a well-know HTTP URL - if it's the good web page, fine we're online - if not, parse the web page, detect the password field (the pass) and the other input field (the login) - Use login/pass stored in gnome-keyring or ask them to the user and send it using a HTTP request
I've made an applet doing this kind of stuff using NetworkManager's dbus interface. You can find it on http://antoine.mairesse.free.fr/autologin-applet/ Feel free to contact me if you need some help with it. If this enhancement is accepted and no one propose I will try but I've not done C since at least 6 years so I will take sometimes... :-)
The best solution is an external applet like Antoine has done; the applet could even pull from the DHCP information exposed over D-Bus for the captive portal identification stuff or probe the portal when connected. The auth info could be tied to a connection; but at this time I don't think I want to suck this functionality directly into NM.