=?ISO-8859-1?Q?wpa=5Fsupplicant_0.4.7, _broadcom_driver, _WPA-EAP, _PEAP, _MS?= CHAPv2 with Lancom AP

Simon Tester simon_tester at gmx.de
Mon Jan 2 12:30:04 EST 2006


Hi @ all!

I have some problems connecting with wpa_supplicant to a Lancom L54g.
I'm running wpa_supplicant version 0.4.7 in my actual test. I have also
tried with version 0.2.4. with 0.2.4 it works!

here my configuration:

Radius Server: freeradius-1.0.4

AP: L54g with firmware version 5.02

Client: WRT54G with openwrt and wpa_supplicant 0.4.7

here the config file:

ctrl_interface=/var/run/wpa_supplicant
network={
        ssid="dbd-hd-vgs-000-e"
#        scan_ssid=1
        key_mgmt=WPA-EAP
        eap=PEAP
        identity="abcdef"
        password="123"
        ca_cert="/etc/ca.pem"
        phase1="peapver=0 peaplabel=1"
        phase2="auth=MSCHAPV2"
}

and the wpa_supplicant output:

wpa_supplicant -i eth1 -c /etc/wpa_supp.conf -D broadcom -ddt

Jan 01 02:02:10.445251: Initializing interface 'eth1' conf
'/etc/wpa_supp.conf' driver 'broadcom' ctrl_interface 'N/A'
Jan 01 02:02:10.446893: Configuration file '/etc/wpa_supp.conf' ->
'/etc/wpa_supp.conf'
Jan 01 02:02:10.447282: Reading configuration file '/etc/wpa_supp.conf'
Jan 01 02:02:10.448141: ctrl_interface='/var/run/wpa_supplicant'
Jan 01 02:02:10.448445: Line: 3 - start of a new network block
Jan 01 02:02:10.448947: ssid - hexdump_ascii(len=16):
     64 62 64 2d 68 64 2d 76 67 73 2d 30 30 30 2d 65   dbd-hd-vgs-000-e
Jan 01 02:02:10.449598: key_mgmt: 0x1
Jan 01 02:02:10.453531: eap methods - hexdump(len=2): 19 00
Jan 01 02:02:10.454009: identity - hexdump_ascii(len=25):
     45 41 4b 2d 33 33 39 31 35 30 36 32 32 40 44 53   EAK-339150622 at DS
     4c 4f 4e 41 49 52 2e 44 45                        LONAIR.DE       
Jan 01 02:02:10.454736: password - hexdump_ascii(len=8): [REMOVED]
Jan 01 02:02:10.455058: ca_cert - hexdump_ascii(len=11):
     2f 65 74 63 2f 63 61 2e 70 65 6d                  /etc/ca.pem     
Jan 01 02:02:10.455564: phase1 - hexdump_ascii(len=21):
     70 65 61 70 76 65 72 3d 30 20 70 65 61 70 6c 61   peapver=0 peapla
     62 65 6c 3d 31                                    bel=1           
Jan 01 02:02:10.456230: phase2 - hexdump_ascii(len=13):
     61 75 74 68 3d 4d 53 43 48 41 50 56 32            auth=MSCHAPV2   
Jan 01 02:02:10.456930: priority=10 (0xa)
Jan 01 02:02:10.457480: Priority group 10
Jan 01 02:02:10.457875:    id=0 ssid='dbd-hd-vgs-000-e'
Jan 01 02:02:10.458215: Initializing interface (2) 'eth1'
Jan 01 02:02:10.462578: EAPOL: SUPP_PAE entering state DISCONNECTED
Jan 01 02:02:10.462939: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
Jan 01 02:02:10.463276: EAPOL: SUPP_BE entering state INITIALIZE
Jan 01 02:02:10.463539: EAP: EAP entering state DISABLED
Jan 01 02:02:10.464146: EAPOL: External notification - portEnabled=0
Jan 01 02:02:10.464574: EAPOL: External notification - portValid=0
Jan 01 02:02:10.465969: Own MAC address: 00:12:17:dd:b4:c2
Jan 01 02:02:10.466315: BROADCOM: wlioctl(eth1,164,len=4,val=0x7fff7c88)
Jan 01 02:02:10.466677: BROADCOM: wlioctl(eth1,133,len=4,val=0x7fff7c8c)
Jan 01 02:02:10.467072: BROADCOM: wlioctl(eth1,165,len=4,val=0x7fff7c88)
Jan 01 02:02:10.467447: BROADCOM: wlioctl(eth1,134,len=4,val=0x7fff7c8c)
Jan 01 02:02:10.467851: BROADCOM: wlioctl(eth1,122,len=6,val=0x7fff7c80)
Jan 01 02:02:10.468243: BROADCOM: SET KEY[0] alg=0
Jan 01 02:02:10.468639: BROADCOM: addr - hexdump(len=6): ff ff ff ff ff ff
Jan 01 02:02:10.468993: BROADCOM: wlioctl(eth1,45,len=164,val=0x7fff7ba0)
Jan 01 02:02:10.469358: BROADCOM: SET KEY[1] alg=0
Jan 01 02:02:10.469647: BROADCOM: addr - hexdump(len=6): ff ff ff ff ff ff
Jan 01 02:02:10.469985: BROADCOM: wlioctl(eth1,45,len=164,val=0x7fff7ba0)
Jan 01 02:02:10.470493: BROADCOM: SET KEY[2] alg=0
Jan 01 02:02:10.470784: BROADCOM: addr - hexdump(len=6): ff ff ff ff ff ff
Jan 01 02:02:10.471118: BROADCOM: wlioctl(eth1,45,len=164,val=0x7fff7ba0)
Jan 01 02:02:10.471481: BROADCOM: SET KEY[3] alg=0
Jan 01 02:02:10.471771: BROADCOM: addr - hexdump(len=6): ff ff ff ff ff ff
Jan 01 02:02:10.472106: BROADCOM: wlioctl(eth1,45,len=164,val=0x7fff7ba0)
Jan 01 02:02:10.472470: BROADCOM: wlioctl(eth1,82,len=4,val=0x7fff7c98)
Jan 01 02:02:10.472916: BROADCOM: wlioctl(eth1,120,len=4,val=0x7fff7c98)
Jan 01 02:02:10.473539: Setting scan request: 0 sec 100000 usec
Jan 01 02:02:10.474944: Added interface eth1
Jan 01 02:02:10.580225: State: DISCONNECTED -> SCANNING
Jan 01 02:02:10.580530: Starting AP scan (broadcast SSID)
Jan 01 02:02:10.580775: BROADCOM: wlioctl(eth1,50,len=36,val=0x7fff7c60)
Jan 01 02:02:13.590134: Scan timeout - try to get results
Jan 01 02:02:13.590845: BROADCOM: wlioctl(eth1,51,len=8192,val=0x10007620)
Jan 01 02:02:13.592381: BROADCOM: AP IEs - hexdump(len=111): 00 0e 64 62 64
2d 68 64 2d 76 67 73 2d 30 30 30 01 04 82 84 8b 96 03 01 08 85 1e 00 00 4c
00 00 00 00 00 00 00 52 65 73 65 72 76 65 00 00 00 00 00 00 00 00 00 00 00
00 00 07 06 44 45 20 01 0d 12 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01
00 00 0f ac 02 00 00 dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04
01 00 00 50 f2 02
Jan 01 02:02:13.594558: BROADCOM: IE: id:0, len:14
Jan 01 02:02:13.595070: BROADCOM: oui:646264
Jan 01 02:02:13.595340: BROADCOM: IE: id:1, len:4
Jan 01 02:02:13.595581: BROADCOM: oui:82848b
Jan 01 02:02:13.596024: BROADCOM: IE: id:3, len:1
Jan 01 02:02:13.596298: BROADCOM: IE: id:85, len:30
Jan 01 02:02:13.596550: BROADCOM: oui:00004c
Jan 01 02:02:13.597022: BROADCOM: IE: id:7, len:6
Jan 01 02:02:13.597279: BROADCOM: oui:444520
Jan 01 02:02:13.597533: BROADCOM: IE: id:30, len:20
Jan 01 02:02:13.597776: BROADCOM: oui:010000
Jan 01 02:02:13.598030: BROADCOM: IE: id:dd, len:22
Jan 01 02:02:13.598273: BROADCOM: oui:0050f2
Jan 01 02:02:13.598573: BROADCOM: AP IEs - hexdump(len=113): 00 10 64 62 64
2d 68 64 2d 76 67 73 2d 30 30 30 2d 65 01 04 82 84 8b 96 03 01 08 85 1e 00
00 4c 00 00 00 00 00 00 00 52 65 73 65 72 76 65 00 00 00 00 00 00 00 00 00
00 00 00 00 07 06 44 45 20 01 0d 12 30 14 01 00 00 0f ac 04 01 00 00 0f ac
04 01 00 00 0f ac 01 00 00 dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50
f2 04 01 00 00 50 f2 01
Jan 01 02:02:13.600406: BROADCOM: IE: id:0, len:16
Jan 01 02:02:13.600664: BROADCOM: oui:646264
Jan 01 02:02:13.600918: BROADCOM: IE: id:1, len:4
Jan 01 02:02:13.601161: BROADCOM: oui:82848b
Jan 01 02:02:13.601416: BROADCOM: IE: id:3, len:1
Jan 01 02:02:13.601660: BROADCOM: IE: id:85, len:30
Jan 01 02:02:13.601902: BROADCOM: oui:00004c
Jan 01 02:02:13.602158: BROADCOM: IE: id:7, len:6
Jan 01 02:02:13.602401: BROADCOM: oui:444520
Jan 01 02:02:13.602654: BROADCOM: IE: id:30, len:20
Jan 01 02:02:13.602897: BROADCOM: oui:010000
Jan 01 02:02:13.603152: BROADCOM: IE: id:dd, len:22
Jan 01 02:02:13.603566: BROADCOM: oui:0050f2
Jan 01 02:02:13.603826: Received 416 bytes of scan results (2 BSSes)
Jan 01 02:02:13.604085: Scan results: 2
Jan 01 02:02:13.604353: Selecting BSS from priority group 10
Jan 01 02:02:13.604607: 0: 02:0f:a3:1a:c7:1b ssid='dbd-hd-vgs-000'
wpa_ie_len=24 rsn_ie_len=0 caps=0x0
Jan 01 02:02:13.604956:    skip - SSID mismatch
Jan 01 02:02:13.605192: 1: 06:0f:a3:1a:c7:1b ssid='dbd-hd-vgs-000-e'
wpa_ie_len=24 rsn_ie_len=0 caps=0x0
Jan 01 02:02:13.605641:    selected based on WPA IE
Jan 01 02:02:13.606047: Trying to associate with 06:0f:a3:1a:c7:1b
(SSID='dbd-hd-vgs-000-e' freq=2447 MHz)
Jan 01 02:02:13.606327: Cancelling scan request
Jan 01 02:02:13.606585: WPA: clearing own WPA/RSN IE
Jan 01 02:02:13.606899: Automatic auth_alg selection: 0x1
Jan 01 02:02:13.607297: WPA: using IEEE 802.11i/D3.0
Jan 01 02:02:13.607575: WPA: Selected cipher suites: group 16 pairwise 16
key_mgmt 1
Jan 01 02:02:13.607853: WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2
01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 01
Jan 01 02:02:13.608456: WPA: clearing AP RSN IE
Jan 01 02:02:13.608713: WPA: using GTK CCMP
Jan 01 02:02:13.608986: WPA: using PTK CCMP
Jan 01 02:02:13.609257: WPA: using KEY_MGMT 802.1X
Jan 01 02:02:13.609518: WPA: Set own WPA IE default - hexdump(len=24): dd 16
00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 01
Jan 01 02:02:13.610230: No keys have been configured - skip key clearing
Jan 01 02:02:13.610492: BROADCOM: wlioctl(eth1,82,len=4,val=0x7fff7ac0)
Jan 01 02:02:13.610846: BROADCOM: wlioctl(eth1,120,len=4,val=0x7fff7ac0)
Jan 01 02:02:13.611242: State: SCANNING -> ASSOCIATING
Jan 01 02:02:13.611536: BROADCOM: wlioctl(eth1,134,len=4,val=0x7fff7aa8)
Jan 01 02:02:13.611925: BROADCOM: wlioctl(eth1,165,len=4,val=0x7fff7aac)
Jan 01 02:02:13.612299: BROADCOM: wlioctl(eth1,42,len=4,val=0x7fff7ab0)
Jan 01 02:02:13.612697: BROADCOM: wlioctl(eth1,20,len=4,val=0x7fff7ab4)
Jan 01 02:02:13.613069: BROADCOM: wlioctl(eth1,22,len=4,val=0x7fff7ab8)
Jan 01 02:02:13.613461: BROADCOM: wlioctl(eth1,43,len=4,val=0x7fff7aa8)
Jan 01 02:02:13.613873: BROADCOM: wlioctl(eth1,26,len=36,val=0x7fff7a80)
Jan 01 02:02:13.614476: Setting authentication timeout: 10 sec 0 usec
Jan 01 02:02:13.614784: EAPOL: External notification - portControl=Auto
Jan 01 02:02:14.165217: RX EAPOL from 06:0f:a3:1a:c7:1b
Jan 01 02:02:14.165552: RX EAPOL - hexdump(len=9): 01 00 00 05 01 01 00 05
01
Jan 01 02:02:14.166299: Setting authentication timeout: 70 sec 0 usec
Jan 01 02:02:14.166608: EAPOL: Received EAP-Packet frame
Jan 01 02:02:41.825131: CTRL-EVENT-TERMINATING - signal 2 received
Jan 01 02:02:41.825429: Removing interface eth1
Jan 01 02:02:41.825684: State: ASSOCIATING -> DISCONNECTED
Jan 01 02:02:41.825942: No keys have been configured - skip key clearing
Jan 01 02:02:41.826179: EAPOL: External notification - portEnabled=0
Jan 01 02:02:41.826617: EAPOL: External notification - portValid=0
Jan 01 02:02:41.827053: BROADCOM: wlioctl(eth1,164,len=4,val=0x7fff7cb0)
Jan 01 02:02:41.827415: BROADCOM: wlioctl(eth1,133,len=4,val=0x7fff7cb4)
Jan 01 02:02:41.827806: BROADCOM: wlioctl(eth1,165,len=4,val=0x7fff7cb0)
Jan 01 02:02:41.828182: BROADCOM: wlioctl(eth1,134,len=4,val=0x7fff7cb4)
Jan 01 02:02:41.828580: BROADCOM: wlioctl(eth1,122,len=6,val=0x7fff7ca8)
Jan 01 02:02:41.828965: BROADCOM: wlioctl(eth1,82,len=4,val=0x7fff7cc0)
Jan 01 02:02:41.829335: BROADCOM: wlioctl(eth1,120,len=4,val=0x7fff7cc0)
Jan 01 02:02:41.829735: No keys have been configured - skip key clearing
Jan 01 02:02:41.831796: Cancelling scan request

has anbody an idea what i've made wrong?
it seems the wpa_supplicant isn't sending an EAPOL-Start. Why?

thx

Marc

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie



More information about the HostAP mailing list