[Bug 253413] New: knetworkmanager does not store WPA-PEAP authentication in kwallet
https://bugzilla.novell.com/show_bug.cgi?id=253413 Summary: knetworkmanager does not store WPA-PEAP authentication in kwallet Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: robin.knapp@fujitsu-siemens.com QAContact: qa@suse.de At work I tried to connect to our new WPA-PEAP WLAN network using a certificate and username/password. This worked very well at first try - I was deeply impressed ;) BUT! The password is not being stored in kwallet - so I have to enter all the information again if I want to reconnect (type, user, pass, cert) which is very annoying. Also tried with a clean knetworkmanagerrc - didn't help. At home I'm using WPA-Personal (WPA2, hidden ESSID) - here the encryption key is stored correctly and knetworkmanager reconnects automatically. So I am sure, kwallet is configured correctly and works fine. I also noticed that sometimes not all information specified during adding a new wlan is being written into knetworkmanagerrc file. I could not find out, when it works and when it doesn't. Often only very basic information is stored, so I have to delete the knetworkmanagerrc file and try again. BTW, a GUI for managing trusted networks should be added, I'll file an enhancement request for 10.3... The way it works now automagically is suboptimal. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 hschaa@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 dystopianray@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dystopianray@gmail.com ------- Comment #1 from dystopianray@gmail.com 2007-04-03 01:34 MST ------- I have created a patch against knetworkmanager 0.1 which should fix this issue and allow WPA-EAP passwords to be saved in kwallet. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 ------- Comment #2 from dystopianray@gmail.com 2007-04-03 01:35 MST ------- Created an attachment (id=128383) --> (https://bugzilla.novell.com/attachment.cgi?id=128383&action=view) Patch to make knetworkmanager 0.1 save wpa-eap passwords -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 ------- Comment #3 from robin.knapp@fujitsu-siemens.com 2007-04-03 07:17 MST ------- I applied that patch to the version in the update repository, but it shows some strange behaviour... I cannot select a WLAN from the popup menu. In the Networkmanager Logfile I see: -------------------- <WARN> nm_dbus_get_user_key_for_network_cb(): nm_dbus_get_user_key_for_network_cb(): dbus returned an error. (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManagerInfo was not provided by any .service files -------------------- Maybe something went wrong during compilation. If I manually specify the Network, I run into the situation I described in bug #253414, comment 3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 ------- Comment #4 from robin.knapp@fujitsu-siemens.com 2007-04-03 07:53 MST ------- Sorry, my fault... Created an rpm with that patch using the spec file. Now the information is saved in kwallet correctly, but it does not seem to be used on reconnect. The following message is being repeated over and over in the /var/log/NetworkManager: ----------------------- <info> Activation (eth1) New wireless user key requested for network 'WLAN@xxxxxxxxxxxx'. <info> Activation (eth1) Stage 2 of 5 (Device Configure) complete. <info> Activation (eth1) New wireless user key for network 'WLAN@xxxxxxxxxx' received. <info> Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled... <info> Activation (eth1) Stage 1 of 5 (Device Prepare) started... <info> Activation (eth1) Stage 2 of 5 (Device Configure) scheduled... <info> Activation (eth1) Stage 1 of 5 (Device Prepare) complete. <info> Activation (eth1) Stage 2 of 5 (Device Configure) starting... <info> Activation (eth1/wireless): access point 'WLAN@xxxxxxxxxxx' is encrypted, but NO valid key exists. New key needed. ------------------------ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 ------- Comment #5 from robin.knapp@fujitsu-siemens.com 2007-04-03 08:04 MST ------- Created an attachment (id=128564) --> (https://bugzilla.novell.com/attachment.cgi?id=128564&action=view) knetworkmanagerrc with correct settings Settings seem to be saved correctly, but re-connecting does not work -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 ------- Comment #6 from hschaa@novell.com 2007-04-04 02:07 MST ------- Thanks for the patch Raymond. I modified it a little bit so it hopefully works now. Robin, can you try it out (because I do not have a WPA-EAP-network around)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 hschaa@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #128383|0 |1 is obsolete| | ------- Comment #7 from hschaa@novell.com 2007-04-04 02:10 MST ------- Created an attachment (id=128813) --> (https://bugzilla.novell.com/attachment.cgi?id=128813&action=view) Modified version of Raymonds patch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 ------- Comment #8 from robin.knapp@fujitsu-siemens.com 2007-04-04 05:18 MST ------- I tested the second patch. Now manually selecting the Network from the popup menu works fine. The values from kwallet are used for connection. But one thing still does not work: After a restart/reboot, knetworkmanager does not automatically connect to my ESSID.
From /var/log/NetworkManager:
<info> Updating allowed wireless network lists. <WARN> nm_dbus_get_network_data_cb(): nm_dbus_get_network_data_cb(): dbus returned an error. (org.freedesktop.NetworkManagerInfo.NoSecurity) org.freedesktop.NetworkManagerInfo.NoSecurity -------------- I have set it to Fallback=true, but still no automatic connection (manually force connect works). I am not sure if this is caused by a different bug... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 ------- Comment #9 from robin.knapp@fujitsu-siemens.com 2007-04-04 05:26 MST ------- What I noticed, too: During initial connection and entering credentials, the "connect" button is grayed out even if all necessary parameters are specified. I have to switch back to WPA Personal and then WPA Enterprise, then the button is clickable (and works). This was not the case after I applied the first patch (which is strange). --- Another point as enhancement: If something changed (i.e. Password), fill out the WPA Enterprise credential fields. So one doesn't have to specify all the configuration stuff once again (i.e. just adjust the password). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 hschaa@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #128813|0 |1 is obsolete| | ------- Comment #10 from hschaa@novell.com 2007-04-04 06:41 MST ------- Created an attachment (id=128896) --> (https://bugzilla.novell.com/attachment.cgi?id=128896&action=view) Over again modified version of the patch My fault ;-) Here is a (hopefully) entirely working patch which does also solve your problem described in bug #253414. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 ------- Comment #11 from hschaa@novell.com 2007-04-04 07:03 MST ------- Fixed packages will soon be available at [1] including a fix for bug #253414. [1] http://beta.suse.com/private/hschaa/bugzilla/253413/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 ------- Comment #12 from robin.knapp@fujitsu-siemens.com 2007-04-04 07:18 MST ------- Well done! Created a test package and it works very well :) Initial connect using popup: works Initial connect by adding network manually: works "connect" button: works after entering password Automatic connect after restart: works Great :) Now still one question: Using the popup selection method, WPA Personal is selected in the credential window. Is it possible to detect wheter it's WPA Personal or WPA Enterprise? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253413 hschaa@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #13 from hschaa@novell.com 2007-04-04 07:31 MST ------- Robin, I agree that it should work as you pointed out. Feel free to open a new bug for it and assign it to me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com