[CentOS] NetworkManager won't save wireless keys

Thu Jan 14 22:33:36 UTC 2010
Ned Slider <ned at unixmail.co.uk>

On 01/14/2010 05:42 PM, Kevin Kempter wrote:
> On Thursday 14 January 2010 10:28, Frank Cox wrote:
>> On Thu, 2010-01-14 at 10:07 -0700, Kevin Kempter wrote:
>>> Hi all;
>>>
>>> I'm running KDE 3.5 on CentOS 5.4
>>>
>>> I have wireless working however every time I boot I have to enter the
>>> wireless key. Anyone know how to get NetworkManager to save the keys?
>>>
>>> I've tried going to the 'edit connections' and adding the key there as
>>> well with no luck.
>>
>> gnome-keyring stores the keys on (of course) gnome.  Do you have
>> something similar on kde that is, perhaps, either not installed or
>> disabled?
>
>
> I have kwallet installed but the KDE NetworkManager seems to not be using it

I think this is because NetworkManager is really a gnome application. 
Here's how I have my laptop set up to automatically authenticate using 
KDE...

If you have gnome installed, log into gnome, set up gnome-keyring and 
store the key there and make sure it's working.

Then, log into KDE and use nm-applet. If you use the same password for 
your keyring as you do to log in (not always the best idea security 
wise), you can then configure pam_keyring to use your login password to 
automatically authenticate you on the wireless network using your stored 
keys.

Details for configuring pam_keyring can be found here:

https://www.centos.org/modules/newbb/viewtopic.php?topic_id=19782&forum=40&post_id=74422#forumpost74422

Hope that helps.