Trouble associating a WPA PEAP TKIP network

micha micha
Wed Feb 8 11:16:21 PST 2006


Hello,
My first mail to the list =)
I have problems while associating with a wpa peap tkip network (freeradius)
at my office.
(other winxp clients do fine with microsoft stuff)
wpa_supplicant is trying to associate but nothig happens than?
what could be the problem?

	Thanks in advance Michael Roth




using a agere card with hermes 1 chip
kernel 2.4.25
agere 7.18 kernelmodul
wpa_supplicant-0.4.7 (tested 0.5.1 too)
wpa-psk works fine


driver interface is the one of h.schurig
the agere one do not compile

driver_hermes.c <- with hardcoeded freq of channel 9 (at line 586 -
attachment)
			i was in need to do that, otherwise my test with wpa-psk wasnt successful
			with my ap at home
			-so the driver and the interface-file schould be ok?


----config---
network={
	ssid="wti"
	scan_ssid=0
	key_mgmt=WPA-EAP
	eap=PEAP
	phase1="peaplabel=1" <-tried 1 and 0
	phase2="auth=MSCHAPV2"
	identity="myusername"
	password="mypassword"
#	ca_cert="/etc/cert/ca.pem" <- i was told that a cert isnt needed
					is it ok only to comment it out
}

-------

Initializing interface 'eth0' conf './examples/ieee8021x2.conf' driver
'hermes' ctrl_interface 'N/A'
Configuration file './examples/ieee8021x2.conf' ->
'/root/wpa_supplicant/wpa_supplicant-0.4.7/./examples/ieee8021x2.conf'
Reading configuration file
'/root/wpa_supplicant/wpa_supplicant-0.4.7/./examples/ieee8021x2.conf'
Line: 7 - start of a new network block
ssid - hexdump_ascii(len=3):
     77 74 69                                          wti
scan_ssid=0 (0x0)
key_mgmt: 0x1
eap methods - hexdump(len=2): 19 00
phase1 - hexdump_ascii(len=11):
     70 65 61 70 6c 61 62 65 6c 3d 31                  peaplabel=1
phase2 - hexdump_ascii(len=13):
     61 75 74 68 3d 4d 53 43 48 41 50 56 32            auth=MSCHAPV2
identity - hexdump_ascii(len=5):
     52 6f 74 68 4d                                    myusername
password - hexdump_ascii(len=9):
     6d 65 73 30 33 64 76 38 39                        mypassword
Priority group 0
   id=0 ssid='wti'
Initializing interface (2) 'eth0'
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
wpa_driver_hermes_init: eth0
SIOCGIWRANGE: too old (short) data - assuming WPA is not supported
_get_info: eth0
found Hermes 1 STA
Own MAC address: 00:02:a5:2e:fe:0e
wpa_driver_hermes_set_wpa: enabled=1
wpa_driver_hermes_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_hermes_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_hermes_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_hermes_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_hermes_set_countermeasures: enabled=0
wpa_driver_hermes_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface eth0
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b19 len=12
Received 4096 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0f:66:e9:d5:c2 ssid='wti' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Trying to associate with 00:0f:66:e9:d5:c2 (SSID='wti' freq=0 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
wpa_driver_hermes_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_hermes_associate: priv=0x808e5f8 freq=0 pairwise_suite=2
group_suite=2 key_mgmt_suite=0 auth_alg=1 mode=0
   bssid=00:0f:66:e9:d5:c2
   ssid - hexdump_ascii(len=3):
     77 74 69                                          wti
   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_driver_hermes_set_wpa_ie
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b04 len=12
Wireless event: cmd=0x8b1a len=15

-> endless loop
<strg-c>

CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth0
State: ASSOCIATING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_hermes_set_wpa: enabled=0
wpa_driver_hermes_set_drop_unencrypted: enabled=0
wpa_driver_hermes_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
Cancelling scan request


-------------- next part --------------
A non-text attachment was scrubbed...
Name: driver_hermes_for_wpas.tar.bz2
Type: application/x-bzip
Size: 5902 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20060208/c9ac2b3e/attachment.bin 



More information about the Hostap mailing list