Saturday, October 13, 2007

Passphrase Required

=====Passphrase Required by Wireless Network=====
An annoyance that many Fedora users seem to encounter. Every time you boot your computer it tries to connect to your wireless network. It always asks for a passphrase but you
would like it to be seamless and not ask for a password. Here's what I did using info gathered from
[http://www.fedoraforum.org Fedora Forum].

First off, when setting up the pam_keyring, the user login password and the '"default-keyring"' name must be the same. Also you need to edit the '''/etc/pam.d/gdm''' and add a couple entries. Also, if you are using '''auto login''' the automating of the keyring will not work, as the password needs to be read from the login screen. To change your keyring password, open a terminal window and type:
/usr/libexec/pam-keyring-tool -c
Change the password to the same as your user login password and change your '''/etc/pam.d/gdm''' to look like this:
#%PAM-1.0
auth required pam_env.so
auth optional pam_keyring.so try_first_pass
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so
session optional pam_console.so
session optional pam_keyring.so
Make sure you have '''pam_keyring''' and '''gnome-keyring''' installed.
yum install pam_keyring gnome-keyring
Using '''Nautilus''' or your favorite file browser open '''.gnome2/keyrings''' in your home folder. You may need to have your file browser show hidden files to see the '''.gnome2/keyrings''' folder. Delete the file '''default.keyring''' and reboot. When the system is up It should ask for the default keyring password, which should be the same as your user login password, and then ask for the key.

No comments: