LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-14-2007, 12:59 AM   #1
pafrica
Member
 
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
Authentication Problem with WPA_Supplicant


Hi Everyone,

I recently upgraded my Slackware 10.2 packages to those in Slackware 11. After a kernel recompile, I can't connect to my AP anymore. WPA_Supplicant keeps trying to associate with the AP but authentication times out and does it in a tight loop:

Code:
<2> Trying to associate with 00:14:bf:d0:80:45 (SSID="default freq=0 MHz)
<2> Authentication with 00:00:00:00:00:00 timed out.
I noticed that it only fails to authenticate on networks that use WPA; I can connect successfully to ones that do not have encryption. I thought maybe it was the absence of cryptographic modules but the required ones are present.

Any help will be greatly appreciated.
 
Old 01-14-2007, 04:13 AM   #2
pafrica
Member
 
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
I'd post a log of some sort but wpa_supplicant gets run at boot up and I'm not sure how to get a log.
 
Old 01-16-2007, 02:48 AM   #3
pafrica
Member
 
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
fixed

For someone else's future reference:

I managed to obtain a log by killing the existing instance of wpa_supplicant running in the background and running it again from the shell. The output gets printed to stdout.

Turns out, startup scripts get changed after the upgrade along with the command for starting wpa_supplicant. Like most problems with wpa_supplicant, I was using the wrong driver for the card. If no driver is specified, as was the case with the new start up scripts, it defaults to using the Hostap driver. I have an Intel wireless card and changed the wpa driver accordingly.

wpa_supplicant is run from /etc/rc.d/rc.wireless and you can specify the driver in /etc/rc.d/rc.inet1.conf by adding WLAN_WPADRIVER[i]="drivername" (where i is the interface number of your wireless card) to the appropriate block of code.
 
Old 01-16-2007, 07:39 AM   #4
rlee923
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora Core 6
Posts: 88

Rep: Reputation: 17
Hi,

Are you using the ipw2100 by any chance?

If you are could you please tell me where to download the file and what I actually have to do to set it up?

I am having difficulties connecting to my own wireless router.

Thanks in advance.

Cheers
 
Old 01-16-2007, 10:18 AM   #5
pafrica
Member
 
Registered: Aug 2004
Location: canada
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
I'm using ipw2200. Not quite sure which file you're referring to but but the ipw2100 package can be found here: http://ipw2100.sourceforge.net/. And here's a good how-to: http://jrblevin.freeshell.org/linux/ipw2100/.
 
  


Reply

Tags
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
wpa_supplicant Disconnect Problem roddefig Linux - Software 2 09-27-2010 08:37 AM
WPA_Supplicant and MSCHAPv2/PEAP Authentication Connection Issues metallica1973 Linux - Wireless Networking 1 07-07-2008 01:39 AM
A problem with networkmanager and wpa_supplicant flamy Linux - Networking 1 04-13-2007 09:13 AM
WPA_Supplicant problem on Debian Etch JaseP Linux - Wireless Networking 7 07-25-2006 01:44 AM
wpa_supplicant problem arunsri Linux - Wireless Networking 2 03-15-2005 09:10 PM


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