LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 11-25-2007, 12:30 AM   #1
taman
LQ Newbie
 
Registered: Nov 2007
Distribution: Ubuntu 7.1
Posts: 5

Rep: Reputation: 0
New to Linux and wifi doesn't detect automatically


Hello,

I have Ubuntu 7.1 and has configured my wireless access via the network settings gui. It works fine, however, I always have to go back into the gui and retype my WPA key and change the setting back to WPA2-PSK.

For some reason, it doesn't automatically connect when the machine restarts and it defaults to WPA-PSK. I always have to re-type the info before I get an IP and connect to the network.

My /etc/network/interfaces settings are:
auto lo
iface lo inet loopback

iface eth0 inet dhcp

auto eth0

auto ath0
iface ath0 inet dhcp
pre-up wpa_supplicant -Bw -Dwext -iath0 -c/etc/wpa_supplicant/wpa_supplicant.conf
post-down killall -q wpa_supplicant
wpa-psk "my encrypted equivalent key without quotes"
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA2
wpa-ssid "my ssid"

My /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
network={
ssid="My SSID"
key_mgmt=WPA-PSK
psk="encrypted key without quotes"
}
INTERFACES="-iath0"
DRIVERS="Dwext"

Any insight will be appreciated.
 
  


Reply


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
Fedora 7 cannot detect my Broadcom WiFi card jamie4567 Linux - Hardware 31 08-09-2007 06:29 PM
Pen drive, how detect automatically dass Slackware 6 07-25-2006 06:44 AM
Detect automatically USB flashdisk intmail Slackware 1 07-20-2005 10:17 AM
Detect WiFi adapter jeopardyracing Linux - Wireless Networking 2 09-16-2004 12:28 PM


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

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