Problems making WPA work with ndiswrapper/broadcom

Donald Teed dteed at artistic.ca
Tue Aug 17 12:49:51 EDT 2004


OK, I've now had a little more sucess.  Another AP is set up
which does broadcast the SSID and I can see the AP with iwlist.

Working with this config:

ctrl_interface=/var/run/wpa_supplicant # for wpa_cli support

network={
         ssid="acadia-test"
         scan_ssid=0
         key_mgmt=WPA-EAP
         eap=PEAP
         proto=WPA
         pairwise=TKIP
         group=TKIP
         identity="test"
         password="testpasswd"
         phase1="peapver=0 peaplabel=0"
         phase2="auth=MSCHAPV2"
}

Running this to connect:


wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf -w -dd

Here is the trace:

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
Setting scan request: 0 sec 100000 usec
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 247 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:40:96:49:35:20 ssid='acadia-test' wpa_ie_len=24 rsn_ie_len=0
    selected
Trying to associate with 00:40:96:49:35:20 (SSID='acadia-test' freq=2462 MHz)
Cancelling scan request
WPA: using IEEE 802.11i/D3.0
WPA: Own 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
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - portControl=Auto
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Authentication with 00:00:00:00:00:00 timed out.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 247 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:40:96:49:35:20 ssid='acadia-test' wpa_ie_len=24 rsn_ie_len=0
    selected
Trying to associate with 00:40:96:49:35:20 (SSID='acadia-test' freq=2462 MHz)
Cancelling scan request


Is there a way to increase the timeout for authentication?  Maybe
5 seconds isn't enough time?

What problem does this demonstrate?  I'm able to use the same
user to connect with Win XP on the same client notebook.

--Donald Teed




More information about the HostAP mailing list