Linksys WRT54GL client to a WPA + TKIP + PEAP + MSCHAPV2 acces point

c.buzlea at atlastelecom.ro c.buzlea at atlastelecom.ro
Mon Jan 15 08:09:49 PST 2007


 Hello everybody,
 I am Catalin from Romania and I'm here to ask you guys some help because
I heard that Seattlewireless kicks some serious wifi ass :)

 My setup goes like this:
 I want to connect my WRT54GL v1.1 router using client mode to an WPA
secured MAN network in my area using TKIP, EAP-PEAP, MSCHAPv2 with no
certificate. Im using openwrt on the router and I'm trying to connect
using wpa_supplicant with the default openwrt broadcom driver.

 launch line:
 wpa_supplicant -i eth1 -D broadcom -c /etc/wpa_supplicant.conf -d

 wpa_supplicant.conf looks like this:

eapol_version=1
fast_reauth=1
network={
        ssid="AtlasTelecom"
        bssid=00:90:4B:CA:00:6D
        scan_ssid=1
        key_mgmt=WPA-EAP
        pairwise=TKIP
        group=TKIP
        eap=PEAP
        identity="xxx"
        password="xxxxxx"
        phase1="peaplabel=0 include_tls_length=1"
        phase2="auth=MSCHAPV2"
        priority=10
}

I made 00:90:4B:CA:00:6D the only usable AP because my parabolic antenna
is directioned to it and the other AP-s do not interest me.


the wpa_supplicant debug output is like this:

Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver
'broadcom' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
eapol_version=1
fast_reauth=1
Priority group 10
   id=0 ssid='AtlasTelecom'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:16:b6:da:03:8c
Setting scan request: 0 sec 100000 usec
Added interface eth1
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=12):
     41 74 6c 61 73 54 65 6c 65 63 6f 6d               AtlasTelecom
Scan timeout - try to get results
Scan results: 5
Selecting BSS from priority group 10
0: 00:90:4b:ca:00:21 ssid='AtlasTelecom' wpa_ie_len=24 rsn_ie_len=0 caps=0x0
   skip - BSSID mismatch
1: 00:90:4b:ca:00:6d ssid='AtlasTelecom' wpa_ie_len=24 rsn_ie_len=0 caps=0x0
   selected based on WPA IE
Trying to associate with 00:90:4b:ca:00:6d (SSID='AtlasTelecom' freq=2472
MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 1
WPA: set AP WPA IE - 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 01
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT 802.1X
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 01
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
State: ASSOCIATING -> 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)
Scan timeout - try to get results
Scan results: 3
Selecting BSS from priority group 10
0: 00:90:4b:ca:00:6d ssid='AtlasTelecom' wpa_ie_len=24 rsn_ie_len=0 caps=0x0
   selected based on WPA IE
Trying to associate with 00:90:4b:ca:00:6d (SSID='AtlasTelecom' freq=2472
MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 1
WPA: set AP WPA IE - 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 01
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT 802.1X
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 01
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:00:00:00:00:00 blacklist count incremented to 2
State: ASSOCIATING -> 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 (specific SSID)
Scan SSID - hexdump_ascii(len=12):
     41 74 6c 61 73 54 65 6c 65 63 6f 6d               AtlasTelecom
Scan timeout - try to get results
Scan results: 4
Selecting BSS from priority group 10
0: 00:90:4b:ca:00:21 ssid='AtlasTelecom' wpa_ie_len=24 rsn_ie_len=0 caps=0x0
   skip - BSSID mismatch
1: 00:90:4b:ca:00:6d ssid='AtlasTelecom' wpa_ie_len=24 rsn_ie_len=0 caps=0x0
   selected based on WPA IE
Trying to associate with 00:90:4b:ca:00:6d (SSID='AtlasTelecom' freq=2472
MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 1
WPA: set AP WPA IE - 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 01
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT 802.1X
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 01
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:00:00:00:00:00 blacklist count incremented to 3
State: ASSOCIATING -> 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)
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth1
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
No keys have been configured - skip key clearing
Removed BSSID 00:00:00:00:00:00 from blacklist (clear)
Cancelling scan request

I'm new to the Wifi experience so I don't know how to interpret this
output. I can tell you that using the same wpa_supplicant.conf file I was
able to connect to the network from windowsXP but with an external NUB-362
usb adapter.
Is it possible that my broadcom adapter is not supporting the AP-s standards?
a lspci on the WRT54GL router says that the wifi is:

00:05.0 Network controller: Broadcom Corporation BCM4306 802.11b/g
Wireless LAN Controller

Please give me some help guys. I'm really desperate.
Thanx for your time.

Catalin


More information about the Talk mailing list