On Tue, Nov 4, 2008 at 2:46 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > On Tue, Nov 04, 2008 at 02:13:37PM +0100, Pablo Martí wrote: >> On Tue, Nov 4, 2008 at 1:21 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: >> > On Tue, Nov 04, 2008 at 01:29:22PM +0200, Tambet Ingo wrote: >> >> On Tue, Nov 4, 2008 at 1:00 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: >> >> > On Tue, Nov 04, 2008 at 10:44:59AM +0200, Tambet Ingo wrote: >> >> >> >> >> >> Add a dispatcher script that runs "xdg-open $url" for a specific SSID >> >> >> you need it for and you're done. >> >> > >> >> > Do we have per-user dispatcher scripts or are you suggesting to open >> >> > the browser as root here :) ? >> >> >> >> Ok, you're right, but listening for a DBus signal from a user process >> >> isn't all that hard either. Or do you prefer NM executing firefox >> >> directly (as root) like the original mail suggested? >> >> >> > >> > Dbus would work. However, I dont really understand the use-case this >> > is supposed to cover. The browser usually redirects to the login site >> > anyway? What benefit would the user by such a firefox extension? >> >> The benefit is that the user is not redirected to the hotspot webpage, >> but is logged in automatically. It might seem a silly difference, but >> is a requested feature. Our customer requires WISPr/WSP capabilities >> and I'm very interested in the outcome of this thread. > > I agree that it would be nice to be automatically logged in, but I > don't clearly see how why we need firefox to do that authentication. > > Another idea would be to write a tray applet that recognizes when NM > goes online and the probes whether it gets redirected to hotspot > site. If thats the case the tray thing would authenticate and would > allow users also to end that session later (from the tray). This could > be done by nm applet itself, but as we dont really have a plugin > infrastructure for that yet I would suggest to make that a standalone > tray tool until we have more experience on what we really want > here. Would that work?
Sure! I also think that the Firefox approach is not the right one, is just that I'm not very fond on NM's dispatcher architecture/capabilities. I kinda like the description/mockup given here [0]. Marcelo asked in nm-list 1 year ago and he was pointed to a dispatcher script[1]. [0] http://blog.marcelotoledo.org/2007/09/01/network-manager-with-wispr-support/ [1] http://mail.gnome.org/archives/networkmanager-list/2007-September/msg00002.html > > > - Alexander > > -- Pablo Martí http://www.linkedin.com/in/pmarti || http://www.warp.es python -c "print '706d6172746940776172702e6573'.decode('hex')" _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
