Posted in Howto Linux Wifi
Ubuntu : connect to your secure wireless network without authenticating against keyring
From : original link
By default, if your wireless network is secured by WPA or such, you have to save the info in your keyring manager, which is protected by a password.
I personally have the same password for my Ubuntu session but also for the keyring manager.
Whenever I log in, I have to authenticate with my user and password, then Gnome tries to connect to my wireless network and prompts me to unlock the keyring. This is tedious since I have the same password for both the session and keyring manager.
Now, you can avoid having to unlock the keyring, read on…
1. Install libpam-keyring package :
$ sudo apt-get install libpam-keyring
2. Then tweak the GDM PAM (plugable authentication module) security
$ sudo gedit /etc/pam.d/gdm
Add the following line at the very end of that file, then save :
@include common-pamkeyring
3. Reboot and authenticate into your session, you should now be connected directly !
Both SESSION and KEYRING passwords must MATCH, if they don’t match, you would be prompted to unlock the keyring.
4. Optional : change your keyring password
$ /usr/lib/libpam-keyring/pam-keyring-tool -c
Also see https://help.ubuntu.com/community/WifiDocs/NetworkManager under section “Automatic keyring”
Comments
James
Thanks Sébastien, exactly what I wanted. For those on Hardy, ignore step one as there is a Gnome version already.
Leave Comment
Please consider visiting the partners below if you enjoyed this article :If this post saved you time and money, please consider checking my Amazon wishlist.







Robert
Thanks for posting this! Exactly what I looked for right now