12.2 RC2 networkmanager issues in KDE

After connecting/disconnecting once to an AP, the networkmanager applet fails to list the AP until networkmanager is restarted. Other APs do appear in list.

The AP is in B/G mode, auto channel selection, WPA/WPA2 PSK. This works fine with 12.1, 11.4

Does it get refreshed if you open a terminal and do something like

su -c 'iw eth1 scan'

(* using the network device relevant to your system of course)

I’ve had the same issue on occasion with openSUSE 11.4, KDE4.8, whereby my iPhone (configured as a wireless AP) would not be detected by my laptop, until I did this.

iw wlan0 scan

displays my AP on cmd line but the nm still doesn’t see it so I have to restart network service. In the past this happened with a KDE update so its probably a KDE (NM) regression bug.

In the past this happened with a KDE update so its probably a KDE (NM) regression bug.

Possibly, in which case it should be reported. However, it is worth checking that your connection is defined as a ‘System connection’, and that the WPA2 passphrase is recorded correctly. Read this thread:

[SOLVED] KDE Network Manager Intermittently Can’t Find AP](http://www.linuxquestions.org/questions/linux-wireless-networking-41/kde-network-manager-intermittently-cant-find-ap-947053/)

If you still think it is a bug, then please submit a bug report for it.

The psk is correctly saved in the settings, which is why I can connect when it sees it.

If it is made system connection, I have to enter root pwd to connect every time.

Another problem is that I am sharing my home dir with previous version of opensuse also updated to kde 4.8.4. The NM passphrases are stored in kwallet. However, logging in to 12.2, I could not see these settings and kwallet’s kded crashed on start, until I cleared networkmanagementrrc.

As in the link you sent above, unchecking/checking wireless brings back the AP so I don’t have to restart network.

I confirm the same behavior with my OpenSuse12.2 64bit, KDE 4.9.1. I can list my AP with “iwlist scan”, but still it isnt listed in the network applet.

The error is solved if I unable, then re-enable the wifi network.

Below are the final lines from my /var/log/NetworkManager when the error occurs:

Sep 20 00:36:37 pedrokth NetworkManager[714]: <info> (wlan0): supplicant interface state: ready → inactive
Sep 20 00:36:37 pedrokth NetworkManager[714]: <warn> Trying to remove a non-existant call id.
Sep 20 00:36:41 pedrokth NetworkManager[714]: <info> Auto-activating connection ‘ospirata_sverige’.
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> Activation (wlan0) starting connection ‘ospirata_sverige’
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> (wlan0): device state change: disconnected → prepare (reason ‘none’) [30 40 0]
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled…
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started…
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled…
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting…
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> (wlan0): device state change: prepare → config (reason ‘none’) [40 50 0]
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> Activation (wlan0/wireless): access point ‘ospirata_sverige’ has security, but secrets are required.
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> (wlan0): device state change: config → need-auth (reason ‘none’) [50 60 0]
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Sep 20 00:36:43 pedrokth NetworkManager[714]: <warn> No agents were available for this request.
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> (wlan0): device state change: need-auth → failed (reason ‘no-secrets’) [60 120 7]
Sep 20 00:36:43 pedrokth NetworkManager[714]: <warn> Activation (wlan0) failed for access point (ospirata_sverige)
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> Marking connection ‘ospirata_sverige’ invalid.
Sep 20 00:36:43 pedrokth NetworkManager[714]: <warn> Activation (wlan0) failed.
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> (wlan0): device state change: failed → disconnected (reason ‘none’) [120 30 0]
Sep 20 00:36:43 pedrokth NetworkManager[714]: <info> (wlan0): deactivating device (reason ‘none’) [0]

Yes, it has been reported here recently too:

http://forums.opensuse.org/forums/english/get-technical-help-here/wireless/478397-kicked-aps-no-longer-show-list.html

You might want to check for existing bug reports, and add to them as necessary…