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 09-06-2006, 01:11 PM   #1
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

[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

[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.

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

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.



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

All times are GMT -5. The time now is 07:31 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