LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-06-2006, 02:11 PM   #1
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Problems authenticating more than once with wpa_supplicant


I've just installed a new Netgear WG111T wireless network adapter in my computer and have proceeded to set up WPA-PSK. However, results are a little intermittent. I have managed to get it to work (it's working right now, in fact), but if the connection drops or loses signal or the link fails for any other reason, I can't get the WPA key negotiation to work without removing and reinserting the card, which is somewhat irritating.

I'm using the latest version of the ndiswrapper (2.63) and wpa_supplicant (0.49-15).

On a successful key negotiation run, I get

Code:
[david@malvern ~]$ sudo wpa_supplicant -D wext -i wlan1 -c /etc/wpa_supplicant/wpa_supplicant.conf
Trying to associate with <mac address> (SSID='APD' freq=2462 MHz)
Associated with <mac address>
WPA: Key negotiation completed with <mac address> [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to <mac address> completed (auth)
On a failed run, this happens

Code:
[david@malvern ~]$ sudo wpa_supplicant -D wext -i wlan1 -c /etc/wpa_supplicant/wpa_supplicant.conf
Trying to associate with <mac address> (SSID='APD' freq=2462 MHz)
Authentication with 00:00:00:00:00:00 timed out.
I can paste output from wpa_supplicant with the -dd option turned on if anyone can use the information to further help me.

Any suggestions are wekcine.

Regards
David Gee
 
Old 09-06-2006, 04:17 PM   #2
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,490

Rep: Reputation: Disabled
I constantly had problems with wpa_supplicant/ndiswrapper dropping the connection. I had to resort to two workarounds to minimize the inconvenience.:

1. I set up a shell script for connection/reconnection. The first two lines kill any running wpa_supplicant and dhcpcd processes. By killing the old processes, you can USUALLY reconnect.

2. It seemed that the connection would drop after a certain (random) amount of idle time. So I set a cron job to ping my home server every 15 minutes. That was enough activity to significantly reduce the number of drops.

Sometimes, despite this, when changing networks, my laptops froze and needed a hard reboot.

Brian
 
  


Reply

Tags
wireless, wpapsk, wpasupplicant


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
problems with wpa_supplicant holdenrj Mandriva 4 02-01-2006 03:42 AM
Problems authenticating to Active Directory eantoranz Linux - Networking 3 08-02-2005 05:11 PM
Wpa_supplicant Problems Plz Help! scorpio1883 Linux - Wireless Networking 0 07-28-2005 03:25 AM
wpa_supplicant problems maddoggames Linux - Wireless Networking 2 01-22-2005 04:36 PM
Having problems in users authenticating when trying to FTP. gothicreader Linux - General 1 12-03-2003 09:24 PM


All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
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