Re: Networkmanager/dbus/wpa_supplicant
- From: Steev Klimaszewski <steev steev net>
- To: Robert Piasek <robert piasek co uk>
- Cc: NetworkManager <networkmanager-list gnome org>
- Subject: Re: Networkmanager/dbus/wpa_supplicant
- Date: Thu, 10 Jan 2008 10:17:02 -0600
Robert Piasek wrote:
Hi,
Today I've updated NM to recent SVN build. When I run NetworkManager I
can see in logs:
Jan 10 15:50:36 [NetworkManager] <info> Trying to start the supplicant..._
Jan 10 15:50:37 [NetworkManager] <info> Trying to start the supplicant..._
and it doesn't start it. When I manually run wpa_supplicant -u I can see:
Jan 10 15:50:51 [NetworkManager] <info> (eth0) supplicant interface is
now in state 1 (from 0)._
Jan 10 15:50:51 [NetworkManager] <info> (eth0) supplicant interface is
now in state 2 (from 1)._
so everything seems to be fine.
This happens for wired ethernet card (haven't tried on laptop yet to
check wireless).
I'm using dbus-1.1.2 so it should start automatically right? Can it be
related with dbus policy settings?
my current setting for NM is:
cat /etc/dbus-1/system.d/NetworkManager.conf
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="org.freedesktop.NetworkManager"/>
<allow send_destination="org.freedesktop.NetworkManager"/>
<allow send_interface="org.freedesktop.NetworkManager"/>
<allow own="org.freedesktop.NetworkManager.PPP"/>
<allow
send_destination="org.freedesktop.NetworkManager.PPP"/>
<allow send_interface="org.freedesktop.NetworkManager.PPP"/>
</policy>
<policy group="plugdev">
<allow send_destination="org.freedesktop.NetworkManager"/>
<allow send_interface="org.freedesktop.NetworkManager"/>
</policy>
<policy context="default">
<allow own="org.freedesktop.NetworkManager"/>
<allow send_destination="org.freedesktop.NetworkManager"/>
<allow send_interface="org.freedesktop.NetworkManager"/>
<deny own="org.freedesktop.NetworkManager.PPP"/>
<deny
send_destination="org.freedesktop.NetworkManager.PPP"/>
<deny send_interface="org.freedesktop.NetworkManager.PPP"/>
</policy>
<limit name="max_replies_per_connection">512</limit>
</busconfig>
cat /etc/dbus-1/system.d/wpa_supplicant.conf
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="fi.epitest.hostap.WPASupplicant"/>
<allow send_destination="fi.epitest.hostap.WPASupplicant"/>
<allow send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
<policy at_console="true">
<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"/>
<deny send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
</busconfig>
Thank you,
Robert
------------------------------------------------------------------------
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list
You may want to try the dbus 1.1.3 snapshot in my developer overlay.
Its publicly located at http://git.overlays.gentoo.org (just look on
gitweb for the url)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]