OpenWrt Forum Archive

Topic: wpa-enterprise client?

The content of this topic has been archived on 24 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello.
I own wrt54gl (1.1) flashed with OpenWrt Kamikaze from SVN w/kernel 2.6.25.
Using driver b43, firmware 4.150.10.5, wpa_supplicant v0.6.3
When i try to connect to wireless provider network supplicant successfully authenticates with PEAP, but can't go through 4-way handshake.
wpa_supplicant output:

CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
EAPOL: SUPP_BE entering state RECEIVE
EAPOL: SUPP_BE entering state SUCCESS
EAPOL: SUPP_BE entering state IDLE
RX EAPOL from 00:19:e1:00:e8:e2
EAPOL: Ignoring WPA EAPOL-Key frame in EAPOL state machines
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=2
  key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
  key_length=16 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
  key_nonce - hexdump(len=32): 4a b6 44 bb ed 9a 4a bf f5 c1 54 2a 9b 23 d9 f4 24 51 f6 a7 b8 95 58 bf 24 cc e4 fd 27 ef b2 c0
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: ASSOCIATED -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:19:e1:00:e8:e2 (ver=2)
RSN: msg 1/4 key data - hexdump(len=0):
EAPOL: Successfully fetched key (len=32)
WPA: PMK from EAPOL state machines - hexdump(len=32): [REMOVED]
RSN: added PMKSA cache entry for 00:19:e1:00:e8:e2
WPA: Renewed SNonce - hexdump(len=32): 77 7a 6b 4e 26 de ce 58 6a 7d 74 28 ff 4f 09 38 f0 e2 98 ed 9e b6 e3 fe 4b 4f 09 80 dd c8 f6 3b
WPA: PTK derivation - A1=00:1c:83:67:20:49 A2=00:19:e1:00:e8:e2
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 01 00 00
WPA: Sending EAPOL-Key 2/4
EAPOL: startWhen --> 0

� еre it freezes for some time and returns to scanning->associating->authentication loop.

Is it misconfiguration of supplicant or driver incompatibility or strange settings on the provider side?

wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
        ssid="Golden_WiFi_B2B"
        scan_ssid=1
        auth_alg=OPEN LEAP
        proto=WPA RSN
        key_mgmt=WPA-EAP
        eap=PEAP
        pairwise=TKIP CCMP
        group=TKIP
        identity="XXXXXXX@goldenwifi.b2b"
        password="**********"
        phase1="peaplabel=1"
        phase2="autheap=MSCHAPV2"
        priority=10
}

Is there a puplicly available SVN build of broadcom with b43 ? I'd like to try this out as well.

The discussion might have continued from here.