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.

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.
I don't think that NetworkManager uses D-Bus's service autostart
activation, but you can install the attached wpa_supplicant.service to
/usr/share/dbus-1/service/ anyway, for applications that use that mechanism.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
#! /bin/sh /usr/share/dpatch/dpatch-run
## 30_dbus_policy.dpatch by Michael Biebl <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad wpa_supplicant-0.5.7~/dbus-wpa_supplicant.conf 
wpa_supplicant-0.5.7/dbus-wpa_supplicant.conf
--- wpa_supplicant-0.5.7~/dbus-wpa_supplicant.conf      2006-06-26 
04:54:47.000000000 +0200
+++ wpa_supplicant-0.5.7/dbus-wpa_supplicant.conf       2007-03-03 
02:44:49.000000000 +0100
@@ -12,6 +12,10 @@
                 <allow send_destination="fi.epitest.hostap.WPASupplicant"/>
                 <allow send_interface="fi.epitest.hostap.WPASupplicant"/>
         </policy>
+        <policy group="netdev">
+                <allow send_destination="fi.epitest.hostap.WPASupplicant"/>
+                <allow send_interface="fi.epitest.hostap.WPASupplicant"/>
+        </policy>
         <policy context="default">
                 <deny own="fi.epitest.hostap.WPASupplicant"/>
                 <deny send_destination="fi.epitest.hostap.WPASupplicant"/>
[D-BUS Service]
Name=fi.epitest.hostap.WPASupplicant
Exec=/sbin/wpa_supplicant -u

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to