LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-05-2005, 03:21 AM   #1
jspam
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
FC4 + madwifi + wpa_supplicant. Authenticates, but cannot connect to network


Ok, I've been trying to get WPA to work for the last couple days. Following directions from another site I was able to get authenticated. Obtaining an IP address is another story.

Here is what my wpa_supplicant.conf file look like:

Quote:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
#I have tried ap_scan=1 enabled and commented out
#ap_scan=1
fast_reauth=1
# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow valid ciphers
network={
ssid="asianvato"
#psk="01251982"
psk=fullhexkeygeneratedwith.wpa_passphrase
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
}
Using ifconfig results in the following:

Quote:
ath0 Link encap:Ethernet HWaddr 00:13:46:0F:94:79
inet6 addr: fe80::213:46ff:fe0f:9479/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:5886 dropped:0 overruns:0 frame:5886
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:200
RX bytes:0 (0.0 b) TX bytes:140 (140.0 b)
Interrupt:12 Memory:dfb40000-dfb50000

eth0 Link encap:Ethernet HWaddr 00:40:63:D9:1B:DA
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::240:63ff:fed9:1bda/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1182 errors:0 dropped:0 overruns:0 frame:0
TX packets:868 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1480942 (1.4 MiB) TX bytes:68160 (66.5 KiB)
Interrupt:12 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2585 errors:0 dropped:0 overruns:0 frame:0
TX packets:2585 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2180722 (2.0 MiB) TX bytes:2180722 (2.0 MiB)
After that I fire up wpa_supplicant.
[root@localhost jspam]#wpa_supplicant -ddK -iath0 -c/etc/wpa_supplicant.conf -Dmadwifi


Using wpa_cli seem to tell me that my connection is being authenticated.
[root@localhost jspam]# wpa_cli
Quote:
Copyright (c) 2004-2005, Jouni Malinen <> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.


Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.


Selected interface 'ath0'

Interactive mode

> status
bssid=00:13:10:e2:7e:aa
ssid=asianvato
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=COMPLETED
Supplicant PAE state=AUTHENTICATED
suppPortStatus=Authorized
EAP state=SUCCESS
> quit
The instructions I'm working from then tell me to use dhclient to obtain an IP. Doing this sometimes results in an immediate return to the command prompt other times it takes 10-20 seconds.
[root@localhost jspam]# dhclient


Using ifconfig again results in the following output:
Quote:
ath0 Link encap:Ethernet HWaddr 00:13:46:0F:94:79
inet6 addr: fe80::213:46ff:fe0f:9479/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23 errors:21505 dropped:0 overruns:0 frame:21505
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:200
RX bytes:4385 (4.2 KiB) TX bytes:1529 (1.4 KiB)
Interrupt:12 Memory:dfb40000-dfb50000

eth0 Link encap:Ethernet HWaddr 00:40:63:D9:1B:DA
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::240:63ff:fed9:1bda/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2366 errors:0 dropped:0 overruns:0 frame:0
TX packets:2109 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2193089 (2.0 MiB) TX bytes:193070 (188.5 KiB)
Interrupt:12 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2585 errors:0 dropped:0 overruns:0 frame:0
TX packets:2585 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2180722 (2.0 MiB) TX bytes:2180722 (2.0 MiB)
These are the results of iwconfig:
Quote:
lo no wireless extensions.

eth0 no wireless extensions.

Warning: Driver for device ath0 has been compiled with version 18
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

ath0 IEEE 802.11g ESSID:"asianvato"
Mode:Managed Frequency:2.452 GHz Access Point: 00:13:10:E2:7E:AA
Bit Rate:36 Mb/s Tx-Power:18 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:D43C-8E2C-7E38-807E-B2C2-5A06-04C8-C312 Security mode:restricted
Power Management:off
Link Quality=49/94 Signal level=-46 dBm Noise level=-95 dBm
Rx invalid nwid:100 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:78

sit0 no wireless extensions.
And wpa_cli still reports that the connection is being authenticated.
Quote:
wpa_cli v0.3.9
Copyright (c) 2004-2005, Jouni Malinen <j> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.


Selected interface 'ath0'

Interactive mode

> status
bssid=00:13:10:e2:7e:aa
ssid=asianvato
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=COMPLETED
Supplicant PAE state=AUTHENTICATED
suppPortStatus=Authorized
EAP state=SUCCESS
> quit
My router is currently setup with MAC Address filtering (allow only those in the list to connect), and I made sure to add my MAC to the list so that I can connect. What do I need to do in order to connect to the network?

I am away from my computer right now, so I don't have version information available. Just let me know what additional details you need to know. Also, my unix/linux knowledge is basic.
 
  


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
2.6.14, Madwifi & wpa_supplicant on Slack 10.2... rkelsen Slackware 4 11-03-2005 05:59 AM
connect FC4 to current Windows network jjw3 Linux - Wireless Networking 1 10-04-2005 02:10 PM
Ipw2200 with FC4, can't connect to my wireless network Larsza Linux - Wireless Networking 1 09-14-2005 11:51 AM
Madwifi / wpa_supplicant on Kanotix (debian3.1) mattshort Linux - Wireless Networking 2 09-05-2005 08:35 AM
Madwifi + Debian wireless Network troubles Vidaea Linux - Wireless Networking 2 08-09-2005 09:41 AM


All times are GMT -5. The time now is 04:20 AM.

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