LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-04-2006, 08:44 PM   #1
push
Member
 
Registered: Sep 2004
Location: Cincinnati
Distribution: Slackware 10.2
Posts: 32

Rep: Reputation: 15
Can't optain IP from WPA router


I'm running slackware 10.2 with wpa_supplicant and madwifi

I have the following config

rc.wireless.conf

pcmia card mac)
INFO="MY wireless card"
ESSID="NETGEAR"
GATEWAY="192.168.0.1"
;;

rc.inet1.conf

IFNAME[1]="ath0"
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]="NETGEAR"
WLAN_WPA[1]="wpa_supplicant"
WLAN_WPADRIVER[1]="madwifi"


wpasupplicant.conf

ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
scan_ssid=0
ssid="NETGEAR"
Proto=WPA
key_mgmt=WPA-PSK
pairwise=CMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="mykeyhere"
}

Now sometimes when I do dhcpcd -d -n ath0 it works fine and I obtain an IP address and all is smooth sailing. However most of the time I can't obtain an IP address and I'm not quite sure why. I know sometimes the existing /var/run/wpa_supplicant/ath0 can cause a problem if I reboot and it already exists. So I make it a habit to remove the ath0 folder then take out the card and put it back in to get a fresh version before I dhcpcd -d -n ath0, but usually it doesn't work. Any help?
 
Old 09-04-2006, 09:51 PM   #2
push
Member
 
Registered: Sep 2004
Location: Cincinnati
Distribution: Slackware 10.2
Posts: 32

Original Poster
Rep: Reputation: 15
wpa_cli outputs:

<2>Trying to associate with (router mac addy here) (SSID='NETGEAR' freq=2462mhz)
<2>Association request to the driver failed
<2>Authentication with 00:00:00:00:00:00 timed out

and it repeats
 
Old 09-13-2006, 10:27 PM   #3
push
Member
 
Registered: Sep 2004
Location: Cincinnati
Distribution: Slackware 10.2
Posts: 32

Original Poster
Rep: Reputation: 15
Anyone please? I can't connect to my router anymore
 
  


Reply



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 Possible? ryedunn Ubuntu 4 09-07-2006 05:31 PM
How do i set up WPA PSK with wpa supplicant and linuxant? Eleavings Linux - Wireless Networking 4 12-27-2004 11:24 AM
Connect to a WPA-encrypted router in Slackware garnser Linux - Wireless Networking 0 08-22-2004 02:12 PM
WPA-PSK on Mandrake 9.2 (DI-624 router, emachines m5312) mmassat Linux - Wireless Networking 0 12-20-2003 09:39 AM
is there an easy way to optain a list of users on my box? bripage Linux - Security 6 09-26-2002 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:55 PM.

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
Open Source Consulting | Domain Registration