LinuxQuestions.org
Visit Jeremy's Blog.
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 05-25-2007, 11:04 PM   #1
mdorries
LQ Newbie
 
Registered: May 2007
Location: Illinois
Distribution: Fedora Core 6
Posts: 13

Rep: Reputation: 0
Problem getting wireless card to use WPA mode.


I'm attempted to get my WMP54G(Linksys) card to function with Fedora Core 6 Linux but I'm getting stuck on the final steps. I got it so that my card can detect the AP but I can't get it set up for WPA mode. I'm following the directions over at NDISwrapper but the steps kinda confuse me on this. The first it says to make a .config file. Well I right click in the directory and make a blank file. Then I type in what it says and save it as ".config" but I don't understand what it wants me to do with the "make" command. Other than that I did everything else. My .conf file is in the right place and says exactly what it tells me to put in but when I follow the rest of the steps this is the output I get.


[root@localhost /]# ifconfig wlan0 up
[root@localhost /]# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd

Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Failed to read read or parse configuration '/etc/wpa_supplicant.conf'.
Failed to add interface wlan0
Cancelling scan request


Any help is greatly appreciated because I really want to use Fedora but without Internet it seems pointless.

Thanks
 
Old 05-26-2007, 01:35 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
From the message is sounds like there is a problem with your wpa_supplicant.conf file. Check the syntax and any hidden characters such as \r.

Also check the permissions of the config file. Some programs will not run if you use a globally readable file. On example is ssh. I don't know if wpa_supplicant is like that but the key should only be readable by root.

Last edited by jschiwal; 05-26-2007 at 01:37 AM.
 
Old 05-27-2007, 07:52 PM   #3
mdorries
LQ Newbie
 
Registered: May 2007
Location: Illinois
Distribution: Fedora Core 6
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal
From the message is sounds like there is a problem with your wpa_supplicant.conf file. Check the syntax and any hidden characters such as \r.

Also check the permissions of the config file. Some programs will not run if you use a globally readable file. On example is ssh. I don't know if wpa_supplicant is like that but the key should only be readable by root.

Got that worked out. My problem was it was pointing to the wrong directory. I compiled the .config file. And now ran everything. But it seems to get stuck in a loop and this is what it keeps looping. However I can't decipher it.

Code:
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 492 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:18:39:70:2f:9e ssid='linksys_SYS_14755' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Trying to associate with 00:18:39:70:2f:9e (SSID='linksys_SYS_14755' freq=2437 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_hostap_set_drop_unencrypted: enabled=1
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
State: SCANNING -> ASSOCIATING
wpa_driver_hostap_associate
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
hostap: Failed to configure ieee_802_1x param
Association request to the driver failed
Setting authentication timeout: 15 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b04 len=12
Wireless event: cmd=0x8b1a len=26
RX EAPOL from 00:18:39:70:2f:9e
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
State: ASSOCIATING -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:18:39:70:2f:9e (ver=1)
WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: Renewed SNonce - hexdump(len=32): 59 2a ee 03 41 c8 b1 8d 8f 17 cd a8 62 5a 7d ec 2f ac 89 63 11 c0 0c e8 b2 4d 6b 60 19 f6 99 4f
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: Sending EAPOL-Key 2/4
^ARX EAPOL from 00:18:39:70:2f:9e
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:18:39:70:2f:9e (ver=1)
WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: Sending EAPOL-Key 2/4
RX EAPOL from 00:18:39:70:2f:9e
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:18:39:70:2f:9e (ver=1)
WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: Sending EAPOL-Key 2/4
RX EAPOL from 00:18:39:70:2f:9e
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:18:39:70:2f:9e (ver=1)
WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: Sending EAPOL-Key 2/4
RX EAPOL from 00:18:39:70:2f:9e
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
WPA: EAPOL-Key Replay Counter did not increase - dropping packet
RX EAPOL from 00:18:39:70:2f:9e
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
WPA: EAPOL-Key Replay Counter did not increase - dropping packet
RX EAPOL from 00:18:39:70:2f:9e
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:18:39:70:2f:9e (ver=1)
WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: Sending EAPOL-Key 2/4
RX EAPOL from 00:18:39:70:2f:9e
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:18:39:70:2f:9e (ver=1)
WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: Sending EAPOL-Key 2/4
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:00:00:00:00:00 blacklist count incremented to 11
State: 4WAY_HANDSHAKE -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
 
  


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
scripts (kommander and command line) to start wireless devices with wpa/wpa2/wpa-aes Fluxx Linux - Wireless Networking 4 06-28-2010 02:51 AM
Dell 1390 wireless authentication problem with WPA-SK Michael_aust Linux - Wireless Networking 3 05-25-2007 07:02 AM
Wireless connection problem ( WPA or something else) peter07 Linux - Wireless Networking 1 12-16-2006 05:38 AM
Belkin wireless card F5D7010 WPA-PAS TKIP Works!!!!!! Tarry LinuxQuestions.org Member Success Stories 3 08-28-2004 07:47 AM

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

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