Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25593 - [Network-manager-applet] does not connect to any secured wi-fi network

Attached to Project: Arch Linux
Opened by jck (jck) - Monday, 15 August 2011, 23:47 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 30 August 2011, 12:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I'm using the latest versions of networkmanager(0.8.9997-2) and network-manager-applet(
0.8.9997-1)

I cannot connect to any secured wifi network even if I run nm-applet as root.

console log:
** (nm-applet:24438): WARNING **: _nm_object_array_demarshal: couldn't create object for /org/freedesktop/NetworkManager/ActiveConnection/1

** (nm-applet:24438): WARNING **: handle_property_changed: failed to update property 'active-access-point' of object type NMDeviceWifi.

** (nm-applet:24438): WARNING **: handle_property_changed: failed to update property 'ip6-config' of object type NMDeviceWifi.

** (nm-applet:24438): WARNING **: handle_property_changed: failed to update property 'ip4-config' of object type NMDeviceWifi.
This task depends upon

Closed by  Ionut Biru (wonder)
Tuesday, 30 August 2011, 12:46 GMT
Reason for closing:  Works for me
Additional comments about closing:  configuration error. please ask in forums if is not fixed
Comment by Jelle van der Waa (jelly) - Tuesday, 16 August 2011, 08:53 GMT
a) You should never run nm-applet as root
b) how are you using networkmanager? In gnome,kde? If not you should start:
/usr/lib/notification-daemon-1.0/notification-daemon &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1&
And the gnome-keyring iirc
Comment by Jan Alexander Steffens (heftig) - Tuesday, 16 August 2011, 18:13 GMT
Do you have a consolekit session=
Comment by jck (jck) - Friday, 19 August 2011, 20:59 GMT
I have ck-launch-session running.

When I run /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1, it asks for root password but never asks for wifi password and fails to connect.
Comment by Jan Alexander Steffens (heftig) - Friday, 19 August 2011, 23:37 GMT
Does nm-connection-editor work?
Comment by Szunti (Szunti) - Tuesday, 23 August 2011, 19:59 GMT
You could also try removing everything from /etc/NetworkManager/system-connections.
IIRC i had the same until i installed everything mentioned above, and deleted those files.
Comment by jck (jck) - Thursday, 25 August 2011, 22:40 GMT
I am running
/usr/lib/notification-daemon-1.0/notification-daemon &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1&
gnome-keyring, im still facing the same problem.

I also cleared /etc/NetworkManager/system-connections
Comment by Myhrlin (myhrlin) - Monday, 29 August 2011, 23:18 GMT
Just adding my two cents here :

I have my DAEMONS line in /etc/rc.conf as :
DAEMONS=(syslog-ng network netfs crond gpm dbus networkmanager)

...and in my profile ~/.xinitrc I start nm-applet :
nm-applet &

...I start GNOME from startx so my exec line in ~/.xinitrc is (does it make a difference? I'm not sure) :
exec ck-launch-session dbus-launch gnome-session

-------------
I really don't have much of an understanding of what is necessary to get nm-applet working and such.
This setup happens to work for me and IIRC this is all I did to get it working (with WPA2 and WEP so far).
I'm using networkmanager(0.9.0-1) and network-manager-applet(0.9.0-1).
Comment by Ionut Biru (wonder) - Tuesday, 30 August 2011, 07:27 GMT
@Myhrlin you have a lot of mistakes in your setup
1) remove network from DAEMONS
2) you don't have to start nm-applet in ~/.xinitrc
3) you start gnome in the wrong way. Read again the wiki, until you get it
The only line in ~/.xinitrc SHOULD be this:
exec ck-launch-session gnome-session

nothing more, nothing less. The default ~/.xinitrc contains an if block that breaks consolekit in gnome
Comment by Myhrlin (myhrlin) - Tuesday, 30 August 2011, 12:31 GMT
@wonder : Ah, thank you. I've applied the changes and things are still working.
Though I really should have been more aware of something wrong when I noticed 2 nm-applet
icons in the system tray whenever GNOME3 went in to fallback mode on random occasion.

So the issue is just the if block in .xinitrc breaking consolekit? Out of my scope and
I'll just head out now. Thanks for the feedback!

Loading...