How to enable autologin to your wifi

Questions about WIFI networks and devices
Forum rules
Before you post please read this

How to enable autologin to your wifi

Postby lavs23 on Mon Jun 18, 2007 5:02 pm

Edit by Husse// From Daryna this is deprecated, you should not use the guide.//
Here's what I've done on my laptop to auto-login the keyrings. One main point is that the keyring password must be the same as your username password. I assume that this would work for different users as it stores the keyring in your home folder for each user, however I've never used more then one user so I'm unsure. The first thing to do is remove the keyring if the passwords are different by running:

Code: Select all
rm ~/.gnome2/keyrings/default.keyring


You could also do this in Nautilus by browsing to the directory and deleting default.keyring.

Next thing is to install labpam-keyring, this enables auto-login for the keyring.

Code: Select all
sudo apt-get install libpam-keyring


After this is installed you may need to restart to reset the password to the same password as your login password. I don't think it's needed but it might be.

We then need to edit a configuration file.

Code: Select all
sudo gedit /etc/pam.d/gdm


Add following lines to the end of file:

Code: Select all
# use session password for gnome-keyring
auth optional pam_keyring.so try_first_pass
session optional pam_keyring.so


Originally found on the ubuntuforums somewhere a few weeks ago I believe. No credit goes to me as I didn't figure any of this out just copy and pasted. Hope this helps.
lavs23
Level 1
Level 1
 
Posts: 30
Joined: Tue Mar 13, 2007 12:00 pm

Linux Mint is funded by ads and donations.
 

Postby Husse on Wed Jun 20, 2007 1:01 pm

Note - this does not work if you have autologin to gdm
The reason for this can be found in post 85 of this thread:
http://ubuntuforums.org/showthread.php?t=187874&page=9

And I changed the subject to reflect content
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19717
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby Husse on Sat Jul 28, 2007 7:14 am

Additional info here:
http://ubuntuforums.org/showpost.php?s= ... ostcount=1
Not quite easy to read but this solution should fix auto login for both your account and the keyring.
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19717
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to Wireless

Who is online

Users browsing this forum: No registered users and 7 guests