Re: Network Manager Autologin
- From: "Tambet Ingo" <tambet gmail com>
- To: Slokunshialgo <slokun belligero org>
- Cc: networkmanager-list gnome org
- Subject: Re: Network Manager Autologin
- Date: Tue, 4 Nov 2008 10:44:59 +0200
On Tue, Nov 4, 2008 at 1:41 AM, Slokunshialgo <slokun belligero org> wrote:
> I know I posted something about this awhile ago, but thinking about it a
> bit more, a couple of questions and ideas have arisen in my mind. For
> those who may not have read this before, the idea is to have something
> using NetworkManager to automatically log in to web-authenticated
> networks (ie: hotspots in a cafe) when it connects to specific networks.
>
> I have three ideas on how to implement this, but they all revolve around
> the idea of having a Firefox extension that would listen to dbus signals
> being sent by nm, and when told to, would go to a specific webpage to
> log in, using Firefox's password storage.
>
> 1) Have nm check to see if Firefox is open, if not, open it and send the
> signal
> 2) Make nm have nothing to do with the extension, but merely sending its
> regular signals and FF picking them up
> 3) Make nm send modified signals specifically for the autologin, letting
> any program pick them up (such as network name, URL to visit, etc)
>
> Judging by before, I doubt #1 would be the best idea (forcing FF to be
> installed is not good), #2 may or may not work, but I think #3 would be
> best. To get around whether FF is open or not, a small program could be
> written to start on login (separate from nm) that would listen for the
> signals, start FF, and pass it along.
>
> As for the technical side of this, it's primarily, what sort of
> information does nm send through dbus, and are multiple programs able to
> pick up on it?
>
> Opinions, ideas, information?
Add a dispatcher script that runs "xdg-open $url" for a specific SSID
you need it for and you're done.
Tambet
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]