Re: Networkmanager/dbus/wpa_supplicant



On Fri, 2008-01-11 at 14:08 +0000, Robert Piasek wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Dan Williams wrote:
> > On Fri, 2008-01-11 at 08:20 +0000, Robert Piasek wrote:
> > Steev Klimaszewski wrote:
> > | On Thu, 2008-01-10 at 12:33 -0500, Dan Williams wrote:
> > |> 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
> > | Massive snippage...
> > |
> > | For what its worth, last time I attempted to get this going, I ran
> > into the same issue.  I am not sure what exactly causes it, and no
> > amount of inspecting the Fedora spec files would give me any clues.  I
> > made sure all the permissions were the same as what Fedora installs, and
> > made sure the files were identical.  Not sure what magic they are using
> > over there, but I wish some would spread over here ;)
> > | Also, does wpa_supplicant ship with that file yet?  I know that
> > previously it didn't (and I grabbed it from Fedora's cvs) - perhaps I
> > will try to get another snapshot into my overlay soon.
> > |
> > | -- Steev
> > |
> > Dan,
> >
> > I've tried without -f option and still no luck. I will update my
> > wpa_supplicant to the most recent git version and check how it goes. I
> > will also try to investigate why dbus doesn't want to run it.
> > I'm not using SELinux or anything like it which could cause a problem.
> > At the moment I added wpa_supplicant -u to my startup files and it works
> > well.
> >
> > > Might be worth tossing some debug logging into
> > > bus/activation-helper-bin.c and bus/activation-helper.c in dbus to
> > > narrow down where it's going wrong.
> >
> > > Dan
> >
> > Thanks for your help.
> >
> > Rob
> >>
> 
> 
> I've installed wpa_supplicant 0.6.2 and still no love. How can I monitor
> all messages which are sent by NM to dbus?

That won't really help you at all.  You want to figure out why dbus is
not launching wpa_supplicant when a service requests that it be
activated.  Try patching the dbus system bus service activation helper
to get log output as to why it's not getting launched.

Dan

> When the connection is established I can see it in /var/log/messages and
> using dbus-monitor:
> 
> /var/log/messages:
> Jan 11 13:46:56 [NetworkManager] <info>  Activation (eth0) successful,
> device activated._
> Jan 11 13:46:56 [NetworkManager] <info>  Activation (eth0) Stage 5 of 5
> (IP Configure Commit) complete._
> 
> 
> dbus-monitor:
> method call sender=:1.18 -> dest=org.freedesktop.Notifications
> path=/org/freedesktop/Notifications;
> interface=org.freedesktop.Notifications; member=Notify
>    string "NetworkManager"
>    uint32 0
>    string "nm-device-wired"
>    string "Connection Established"
>    string "You are now connected to the wired network."
>    array [
>    ]
>    array [
>       dict entry(
>          string "y"
>          variant             int32 12
>       )
>       dict entry(
>          string "xdisplay"
>          variant             string ":0.0"
>       )
>       dict entry(
>          string "urgency"
>          variant             byte 0
>       )
>       dict entry(
>          string "x"
>          variant             int32 1474
>       )
>    ]
>    int32 -1
> method return sender=:1.16 -> dest=:1.18 reply_serial=15
>    uint32 23
> 
> 
> 
> but I  can't see anything in dbus monitor when NM tries to run
> wpa_supplicant
> 
> /var/log/messages:
> Jan 11 13:49:53 [NetworkManager] <info>  Trying to start the supplicant..._
>                 - Last output repeated twice -
>  
> 
> 
> I will also check the files you mentioned (although I'm not a programmer)
> 
> 
> Thanks,
> 
> Rob
> 
> 
> 
> > _______________________________________________
> > NetworkManager-list mailing list
> > NetworkManager-list gnome org
> > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.8 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iQIcBAEBAgAGBQJHh3hDAAoJELvLB8ABrzqY/oMQAJtDWu0YPR0vldhpB4fNtN2u
> KPfd3dTX3KYXez286Y9l5HtaVmyZQ2ZN40DawbnYBMXxK/m0+SU9sis+hbFz77pl
> dezp9d7Zq4mnJlXsZkf35XiqAyD+A3Stav0NgVrySF5z1l4bMSnJKZj2vl1iRMUm
> p3h3MehGdBKhoaosevCuN4rTYWiecByEyc/G9GziLnfO7b5PcO9XN/4fC0dXdEQt
> bVSS6ekNokLiNSriXH64pgOSOfYXjLv/xURgVRdZFXhOdCWgbGy4l/MO3UcqXpiv
> pD2u/s3aSqe8t8pcf4iZL6L10Df47hzfBuvJVpFlGHQWeejqnGpE0UBC0zuID2Vr
> 425s0yzyrMTycgaXQr/IMe8Ahpj0UasjeVSI83g9otxMB51E6ZTbs7SG+01Sr8Z/
> 3LwHVFhpje8hR24hn/t1YuxlcemoCH7DV1GI+RLeGIRb+Tf8AFv/RmHyqvzb2uD8
> tB7rxNEnrISfY2YD679QK4zPb7Q3UqFf5Iyk7OGFySCbBTgb4LC1jKLHk5DNx+C6
> acxOzHt6VOXGzwW1B68zsJrHc5VP1UJDLytKZ7qo3y6/aF31wHdQCAr7qlyRJluo
> sYmTjWkE4gfgKhQ0Ndjn4hd8N6XlSFzlcAkAgR9ccJA0WIcbo07worYI284WkoyA
> V0Y42qAgcGzjOtB/HWmN
> =uyg6
> -----END PGP SIGNATURE-----
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]