Kel Modderman wrote: > Hi Michael, > > On Saturday 03 March 2007 12:22, Michael Biebl wrote: >> Hi, >> >> you will also very likely need the attached patch: >> Debian does not use pam_console but uses group membership to control >> access to D-Bus. Activating both options in the conf file makes it work >> on Debian and Ubuntu. > > Thanks very much. > >> About activating the service, you will very likely have to provide a >> D-Bus init script (for /etc/dbus-1/event.d/) comparable to the one from >> dhcdbd. > > Ok. How would the sequnce number of the wpa_supplicant event.d scriplet be > determined?
NetworkManager 0.7.x is currently the only application I know of, which uses the D-Bus interface of wpa_supplicant. It runs at 25, so, yeah, 23 should be fine. > Attached is the patch I recently commited to SVN, can you please check it? > > Also, an experimental package has been prepared at: > > http://users.tpg.com.au/sigm/debian/pkg-wpa/wpasupplicant_0.6.0~cvs20070224-1.dsc > Seems to work fine here, although I can't really test the D-Bus interface. NetworkManager 0.7 from SVN is currently horribly broken and immediately crashes after startup (not because of wpa_supplicant I might add). Maybe it would make sense to provide a /etc/default/wpasupplicant with a var DAEMON_START or the like which defaults to 0. The D-Bus init script would check this var and so it would be easy to enable/disable the D-Bus service. IIRC avahi-daemon does it similar. With no application using the D-Bus interface atm. (NM 0.7 will still take some time to be released) I think people would complain if we start wpa_supplicant by default. On the other hand, if wpa_action could be made to reuse the running D-Bus enabled wpa_supplicant instance instead of spawning its own copy (dunno if that would be possible/sensible) it would be different. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature