Re: NM Install fails. dbus?



OK, All is almost working perfectly but one thing. Whenever I reboot,
nm-applet will say it won't find any network adapters. But if I sudo
killall NetworkManager and then sudo NetworkManager --no-daemon then it
works like a charm. Any idea on what could be wrong? or if I can always
change it to load as --no-daemon?

Thanks!


On Sun, 2006-03-12 at 20:37 -0500, Darren Albers wrote:
> I think you need at least version 0.5.1 of wpa supplicant.
> 
> *Stupid GMAIL always replies to the sender and not the list....  grrr  lol*
> 
> On 3/12/06, Alejandro Bonilla <abonilla linuxwireless org> wrote:
> > OK Cool, that did it. Now it looks like nothing will work ;-)
> >
> > I have wpasupplicant Version: 0.4.7
> >
> > I hope that is fine. See: (It's finding an unknown command, I wish it
> > would be move -v to see what commands are being executed.)
> >
> > NetworkManager: <WARNING>        nm_dbus_get_user_key_for_network_cb ():
> > nm_dbus_get_user_key_for_network_cb(): dbus returned an error.
> >   (org.freedesktop.DBus.Error.AccessDenied) A security policy in place
> > prevents this sender from sending this message to this recipient, see
> > message bus configuration file (rejected message had interface
> > "org.freedesktop.NetworkManagerInfo" member "getKeyForNetwork" error
> > name "(unset)" destination "org.freedesktop.NetworkManagerInfo")
> >
> > NetworkManager: <information>   Deactivating device eth1.
> > NetworkManager: <information>   Activation (eth1): cancelling...
> > NetworkManager: <information>   Activation (eth1): cancelled.
> > NetworkManager: <debug info>    [1142213237.011771]
> > nm_device_802_11_wireless_get_activation_ap (): Forcing AP 'sotoforn'
> > NetworkManager: <information>   User
> > Switch: /org/freedesktop/NetworkManager/Devices/eth1 / sotoforn
> > NetworkManager: <information>   Deactivating device eth1.
> > NetworkManager: <information>   Device eth1 activation scheduled...
> > NetworkManager: <information>   Activation (eth1) started...
> > NetworkManager: <information>   Activation (eth1) Stage 1 of 5 (Device
> > Prepare) scheduled...
> > NetworkManager: <information>   Activation (eth1) Stage 1 of 5 (Device
> > Prepare) started...
> > NetworkManager: <information>   Activation (eth1) Stage 2 of 5 (Device
> > Configure) scheduled...
> > NetworkManager: <information>   Activation (eth1) Stage 1 of 5 (Device
> > Prepare) complete.
> > NetworkManager: <information>   Activation (eth1) Stage 2 of 5 (Device
> > Configure) starting...
> > NetworkManager: <information>   Activation (eth1/wireless): access point
> > 'sotoforn' is encrypted, and a key exists.  No new key needed.
> > NetworkManager: <information>   SUP: sending command 'INTERFACE_ADD eth1
> > wext    /usr/local/var/run/wpa_supplicant       '
> > NetworkManager: <information>   SUP: response was 'OK'
> > NetworkManager: <information>   SUP: sending command 'AP_SCAN 1'
> > NetworkManager: <information>   SUP: response was 'UNKNOWN COMMAND'
> > NetworkManager: <WARNING>        nm_utils_supplicant_request_with_check
> > (): supplicant_send_network_config: supplicant error for 'AP_SCAN 1'.
> > Response: 'UNKNOWN COMMAND'
> >
> > On Sun, 2006-03-12 at 20:24 -0500, Darren Albers wrote:
> > > No there is a section like this:
> > > <policy user="default">
> > >         <deny own="org.freedesktop.NetworkManager"/>
> > >         <deny send_destination="org.freedesktop.NetworkManager"/>
> > >         <deny send_interface="org.freedesktop.NetworkManager"/>
> > > </policy>
> > >
> > > Change the deny's to allow's but I think that allows any user to make
> > > changes to NetworkManager which may not be safe.
> > >
> > > On 3/12/06, Alejandro Bonilla <abonilla linuxwireless org> wrote:
> > > > If what you meant is <policy context="allow"> from default. Did not
> > > > work.
> > > >
> > > > .Alejandro
> > > >
> > > > On Sun, 2006-03-12 at 20:17 -0500, Darren Albers wrote:
> > > > > You could always change the default to allow, but I am not sure what
> > > > > the security implications of that would be.
> > > > >
> > > > > On 3/12/06, Alejandro Bonilla <abonilla linuxwireless org> wrote:
> > > > > > Let me correct this. I changed to root to test it and it worked. Is
> > > > > > there another conf file that I probably have set to root that should be
> > > > > > set to my username to match and allow me to do this?
> > > > > >
> > > > > > Thanks!
> > > > > >
> > > > > > On Sun, 2006-03-12 at 19:22 -0500, Darren Albers wrote:
> > > > > > > go to /etc/dbus-1/system.d/NetworkManager.conf and
> > > > > > > /etc/dbus-1/system.d/nm-applet.conf and add a line like this to each
> > > > > > > replacing USERNAME with your username:
> > > > > > >
> > > > > > > <policy user="USERNAME">
> > > > > > >        <allow own="org.freedesktop.NetworkManager"/>
> > > > > > >        <allow send_destination="org.freedesktop.NetworkManager"/>
> > > > > > >        <allow send_interface="org.freedesktop.NetworkManager"/>
> > > > > > > </policy>
> > > > > > >
> > > > > > > On 3/12/06, Alejandro Bonilla <abonilla linuxwireless org> wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > >         I installed NM 0.6 and I'm getting these errors. I think this is cause
> > > > > > > > dbus is not allowing the applet to use some resources? Any idea is
> > > > > > > > Welcome.
> > > > > > > >
> > > > > > > > abonilla black:~$ sudo NetworkManager --no-daemon
> > > > > > > > NetworkManager: <information>   starting...
> > > > > > > > NetworkManager: <WARNING>        nm_dbus_init (): nm_dbus_init() could
> > > > > > > > not acquire the NetworkManager service.
> > > > > > > >   Message: 'Connection ":1.22" is not allowed to own the service
> > > > > > > > "org.freedesktop.NetworkManager" due to security policies in the
> > > > > > > > configuration file'
> > > > > > > > NetworkManager: <ERROR> [1142207057.016965] main (): nm_dbus_init()
> > > > > > > > failed, exiting. Either dbus is not running, or the NetworkManager dbus
> > > > > > > > security policy was not loaded.
> > > > > > > > NetworkManager: traceback:
> > > > > > > > NetworkManager:         NetworkManager(main+0x3e4) [0x8066507]
> > > > > > > > NetworkManager:         /lib/tls/i686/cmov/libc.so.6(__libc_start_main
> > > > > > > > +0xd2) [0x77c87ea2]
> > > > > > > > NetworkManager:         NetworkManager [0x8052c61]
> > > > > > > > Trace/breakpoint trap
> > > > > > > >
> > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > 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
> > > > > > >
> > > > > >
> > > > > >
> > > > > _______________________________________________
> > > > > 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]