Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 04-19-2012, 08:50 AM   #1
Registered: Feb 2010
Distribution: Ubuntu
Posts: 86

Rep: Reputation: 17
How to auto-connect to network when logging in without password?

I have set up my home desktop as a server, for personal use (accessing documents and media on the road mainly). It is connected over a wifi network, because it is impractical to run an ethernet cable to where it is. Because it is a desktop machine, I set it up to automatically log me in at boot-up and then immediately lock the screen; my thinking was that this would allow me to remotely reboot it when necessary (or ask someone else to turn it back on if the power had gone out). The problem is that now after it logs me in, it pops up a dialog box saying "The login keychain was not unlocked" or something to that effect, and it doesn't connect to the wifi network until after I type in my password again. Is there a way to bypass this so that it automatically unlocks the keychain and connects to the network?
System information:
OS is Ubuntu 10.04 Lucid Lynx, 32 bit. Wifi connection is secured with WPA.
Old 04-19-2012, 09:32 AM   #2
LQ Veteran
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,270

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
I see no reason why you should have to log in at all. You should be able to get the wi-fi adapter to start with the startup scripts. However, I don't run Ubuntu any more because of the strange bugs you users get.

I tested this with my netbook running Slackware 13.37. The wi-fi adapter is up, before the desktop appears. I pinged the system, it show up, no problem. I verified I could ssh into the system, that work, even did a su to root, and ran 'shutdown -r now', and that works as expected.

Last edited by camorri; 04-19-2012 at 10:03 AM.


login, wifi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [Fedora]Can't connect to wireless network: Network manager keeps asking for password. nicolassatragno Linux - Wireless Networking 3 08-03-2011 12:54 PM
Remove network from auto-connect Slokunshialgo Linux - Wireless Networking 0 11-24-2007 12:11 AM
Auto connect in different wireless network Juan Basso Linux - Wireless Networking 2 09-25-2006 04:16 PM
how to stop password request to connect to network webazoid Mandriva 1 12-23-2005 10:49 AM
Cant Connect to network via/user name and password BlackShadowWolf Linux - Networking 4 09-25-2005 02:50 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 03:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration