FS#22149 - [NetworkManager] stopped working after latest update.

Attached to Project: Arch Linux
Opened by trusktr (trusktr) - Sunday, 19 December 2010, 18:15 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 24 May 2011, 05:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
After the latest update, networkmanager stopped working.
The problem: networkmanager will detect and show available wireless networks, but you cannot connect to any of them. When you try to connect (in Gnome) a notification appears immediately afterwards saying "connection disconnected" or something along those lines, so it doesn't seem that networkmanager is attempting to connect at all. Probably a typo in the code. hehe.
Here's two forum threads that were started because of this bug:
https://bbs.archlinux.org/viewtopic.php?pid=865648
https://bbs.archlinux.org/viewtopic.php?id=109413


Additional info:
* package version(s): networkmanager 0.8.3-0.20101130


Steps to reproduce:
In my case, i performed a system upgrade, then the next time a booted up the computer networkmanager wasn't working. I've been connecting manually.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 24 May 2011, 05:54 GMT
Reason for closing:  Not a bug
Additional comments about closing:  see the last comment
Comment by trusktr (trusktr) - Sunday, 19 December 2010, 18:16 GMT
Oops, forgot to change the severity. It's probably not low.
Comment by Ionut Biru (wonder) - Sunday, 19 December 2010, 18:21 GMT
indeed. is very low.
Comment by Ionut Biru (wonder) - Sunday, 19 December 2010, 18:28 GMT
in a more serious manner look at  FS#21796  and start providing logs and describe your setup
Comment by trusktr (trusktr) - Friday, 14 January 2011, 17:45 GMT
I think I may have had an entirely different problem. After simply deleting the wireless profile that i was trying to connect to the reconnecting, it worked and then recreated a working profile. It seems like when I upgraded networkmanager, somehow it lost it's tie to keyring and forgot the network security key.
So i'm good now, it was a simple fix.
What now?
Comment by Dimytch (dimytch) - Friday, 04 February 2011, 21:34 GMT
Bug is appearing only for wi-fi profiles.
Deleting them end recreating don`t do nothing.
Did`nt tested that with custom ethernet profiles.
Comment by trusktr (trusktr) - Monday, 11 April 2011, 21:09 GMT
A simple fix for this might be having a script that recreates wireless profiles (effectively refreshing networkmanager).
Comment by João Rodrigues (gothicknight) - Tuesday, 17 May 2011, 12:46 GMT
I can also confirm this behavior using networkmanager + gnome3 from [extra].

The logs shows:
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> Activation (wlan0) starting connection 'SpeedTouchD5560A automática'
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> Activation (wlan0/wireless): access point 'SpeedTouchD5560A automática' has security, but secrets are required.
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
May 17 13:44:50 Zeferino NetworkManager[2631]: <warn> No agents were available for this request.
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> (wlan0): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
May 17 13:44:50 Zeferino NetworkManager[2631]: <warn> Activation (wlan0) failed for access point (SpeedTouchD5560A)
May 17 13:44:50 Zeferino NetworkManager[2631]: <info> Marking connection 'SpeedTouchD5560A automática' invalid.
May 17 13:44:50 Zeferino NetworkManager[2631]: <warn> Activation (wlan0) failed.


It seems there's some GUI missing to handle the auth information.


I'm going to try networkmanager-git from AUR.
Comment by João Rodrigues (gothicknight) - Tuesday, 17 May 2011, 12:59 GMT
I think I've found the issue.

I've noticed that I didn't have the network-manager-applet installed (not required when installing gnome/gnome-extra). While the gnome interface somehow had an networkmanager interface it still needed the nm-connection-editor which is installed in the network-manager-applet package from [extra].

Now, I'm currently unable to further test if this is really working as the company wireless authentication is currently down, but the auth information GUI now appears and the applet does indicate to be trying to connect to the wireless.


So, please add the dependency to network-manager-applet as part of gnome/networkmanager's installation.
Comment by João Rodrigues (gothicknight) - Thursday, 19 May 2011, 02:11 GMT
Confirmed.

At home I can now connect to my WPA2-PSK wireless network.

Loading...