Currently to connect to a TTLS secured network I have to do the following every time: 1. Go to the applet's configuration screen 2. Select my the network and click Edit. 3. Wait 25 seconds for a dbus error saying "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.", click ok. 4. Enter my password in the settings dialog, confirm. 5. Connect to the network. The password then works only once. If I disconnect, or the connection fails I have do all of this again. Connecting to a WPA2 Personal network works fine and the password is stored correctly. Reproducible: Always
Sorry, forgot to add, network management applet version 0.9.0.4, networkmanager 0.9.6.0, KDE 4.9.1, on Gentoo Linux.
Just updated to version 0.9.0.5, the error message changed to "No agents were available for this request." and there is no longer a 25 second wait. The password is still not being saved.
Is kwallet enabled? Do you use systemd? I also use Gentoo and I do have not this problem here, but I know systemd can cause such problems and kwallet is the preferred secret storage for Plasma NM.
I didn't have KDE wallet enabled. Enabling it seems to have fixed this issue. I'll be able to confirm this 100% tomorrow (I don't have access to that network now). The password does seem to to be saved correctly. Still, if there are technical issues with using whatever is being used when kwallet is disabled, a more informative error message would be nice. I don't use systemd.
If you do not use kwallet you must configure Plasma NM to store secrets in plain text file (Manage Connections -> Other -> Store connection secrets -> In file (unencrypted)). The 25s timeout must be due to Plasma NM trying to contact kwallet and failing. The message "Did not receive a reply..." is the generic dbus message from something goes wrong. The "No agents were available for this request." comes from NetworkManager and is the generic error message when something goes wrong when retrieving secrets. If you configure Plasma NM to use 'In file' storage it should work, but as the configuration says Plasma NM will store secrets unencrypted.
Git commit ecb9e75286e2892f8b59a526400e37cc31b38d0d by Lamarque V. Souza. Committed on 02/10/2012 at 16:08. Pushed by lvsouza into branch 'master'. Add warning when storage mode is kwallet and kwallet is not enabled. The warning will be printed in ~/.xsession-errors. M +20 -0 libs/service/secretstorage.cpp http://commits.kde.org/networkmanagement/ecb9e75286e2892f8b59a526400e37cc31b38d0d
Git commit 85f0437aafee9b1fc7f40781bfadbaafea9b7a19 by Lamarque V. Souza. Committed on 02/10/2012 at 16:08. Pushed by lvsouza into branch 'nm09'. Add warning when storage mode is kwallet and kwallet is not enabled. The warning will be printed in ~/.xsession-errors. (cherry picked from commit ecb9e75286e2892f8b59a526400e37cc31b38d0d) M +20 -0 libs/service/secretstorage.cpp M +1 -1 plasma_nm_version.h http://commits.kde.org/networkmanagement/85f0437aafee9b1fc7f40781bfadbaafea9b7a19
Do you mean these warnings will be *only* printed in .xsession-errors and or will they be actually shown to the user?
Only in ~/.xsession-errors. Users are supposed to look at ~/.xsession-errors when anything goes wrong in any program (even non-KDE programs) that run in the Xorg's session (this includes all non-root programs, NetworkManager is not include here since it run as root).