Re: Networkmanager/dbus/wpa_supplicant
- From: Dan Williams <dcbw redhat com>
- To: Robert Piasek <robert piasek co uk>
- Cc: NetworkManager <networkmanager-list gnome org>
- Subject: Re: Networkmanager/dbus/wpa_supplicant
- Date: Thu, 10 Jan 2008 12:33:59 -0500
On Thu, 2008-01-10 at 17:29 +0000, Robert Piasek wrote:
> Steev, Dan, thank you for help guys. I'm afraid it still doesn't work.
> I've updated to heavily patched dbus-1.1.3 from steev's repo
> * sys-apps/dbus
> gentoo: 1.0.2-r2 {:0}
> installed: 1.1.3* {:0}
> Installed time: Thu Jan 10 17:07:06 2008
> Installed using: paludis-0.26.0_alpha5
>
> also ensured I've got
> /usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service
>
> [D-BUS Service]
> Name=fi.epitest.hostap.WPASupplicant
> Exec=/usr/sbin/wpa_supplicant
> -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f
> User=root
>
> in place. Still the same issue. Any other ideas?
Try removing the "-f" from the Exec line. The version of wpa_supplicant
you have might not support that option, which may be causing it to quit.
Also, are you running SELinux or anything like that?
Dan
> Thanks
>
> Rob
>
>
>
> On Thu, 2008-01-10 at 10:17 -0600, Steev Klimaszewski wrote:
> > 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)
> >
> > _______________________________________________
> > NetworkManager-list mailing list
> > NetworkManager-list gnome org
> > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> >
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]