This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Network manager and kwallet for WPA passphrase

Tags: None
(comma "," separated)
Ofnuts
Registered Member
Posts
62
Karma
0
OS
I'm in a dense residential area, and the home wifi is disrupted by my neighbours' (30-40 networks showing in a scan), this can lead to disconnections.

On my old KDE 4.4.5 (Kubuntu 10.04), when Network manager attemtps a reconnection, it put up a dialog with the passphrase entry field pre-filled and [enter] was all that was needed. This is already an unexpected (for me) behavior because the pass is in the wallet... But maybe it tried a couple of times, and that didn't work due to bandwdith congestion, and it made the wrong conclusion that the password is incorrect...

On KDE 4.9.5, this gets worse, because I get a dialog with an empty passphrase field... so I have to retype a rather long passphrase each time (fortunately it's easy to memorize and retype). Is there a way to prevent this (except boosting my home wifi...)

My wallet has 33 maps under 'Network management' (*), but only a half a dozen seem to contain data, including 3 with the home wifi passphrase. Is this normal?

(*) exactly the same number as lines in /var/lib/NetworkManager/timestamps but I can't relate the two...

Last edited by Ofnuts on Sun Apr 14, 2013 9:16 pm, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
In this case, it is probably safe to remove the KWallet entries, especially those which are empty, as they may be part of the problem here.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
lamarque
Registered Member
Posts
152
Karma
2
OS
Plasma NM is not part of KDE SC so its version (4.4.5 or 4.9.5) does not matter. Pre-filling wifi connection's secrets in password dialog was implemented some months ago. If you use the lastest Plasma NM (0.9.8) it should be working. You can see the Plasma NM version string in "Manage Connections" -> "Other".

The password dialog is triggered by NetworkManager itself. We just implement the GUI for it, not when it appears. This is an unsolvable problem unless ou can boost your wifi signal to prevent wifi unwanted disconnections.

The last problem you talked about was unknown to me until now. There are 234 entries in Network Management group in my kwallet, there should not happen. I will investigate why that happen.


Software engineer at Petrobrás http://www.petrobras.com.br/en/about-us/
KDE's Network Management maintainer
Ofnuts
Registered Member
Posts
62
Karma
0
OS
Running 0.9.0.5 (nm09 20120930). Will remove the empty wallet entries, and those for my home wifi to see if they come back.

Edit:
  • performed a clean-up to the entries, and left only 5 that all seem unrelated to my home wifi (WEP key, VPN, or GSM-related stuff)
  • disconnected from Wifi
  • reconnected and was requested the passphrase as expected,
  • back to the wallet: two entries added since cleanup:
    • one called "{some long hex key};802-11-wireless-security" with entries:
      • leappassword: empty
      • psk: wifi passphrase
      • wepkey0: empty
      • wepkey1: empty
      • wepkey2: empty
      • wepkey3: empty
    • one called "{some long hex key};802-1x" (same key as above) with entries:
      • password: empty
      • phase2-private-key-password: empty
      • private-key-password: empty


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]