wpa_supplicant on Windows 7

Vlasov Alexey palexvs at gmail.com
Thu Feb 4 10:22:55 EST 2010


Hello.
Has anyone work with wpa_supplicant on Vista/Windows 7.
People says that in Vista/7 is new NDIS, because wpa_supplicant doesn't 
work (http://lists.shmoo.com/pipermail/hostap/2007-June/015851.html). 
But it was in 2007, may be already was found solution?

Start as:
wpa_supplicant.exe -dddt -i{250C014C-FB73-4A92-B445-E8695DA11777} -c 
717f.conf > log

Config-file:
ctrl_interface=/var/run/wpa_supplicant
update_config=1
ap_scan=2
network={
ssid="717f"
                key_mgmt=NONE
                wep_key0=000E9BB1717F00000000000000
                wep_key1=000E9BB1717F00000000000000
                wep_key2=000E9BB1717F00000000000000
                wep_key3=000E9BB1717F00000000000000
}
blob-base64-exampleblob={
SGVsbG8gV29ybGQhCg==
}

Log:
1265293199.584147: CTRL: Open pipe 00822DA0
1265293199.586647: CTRL: ConnectNamedPipe: connection in progress
1265293199.586647: Initializing interface 
'{250C014C-FB73-4A92-B445-E8695DA11777}' conf '717f.conf' driver 
'default' ctrl_interface 'N/A' bridge 'N/A'
1265293199.586647: Reading configuration file '717f.conf'
1265293199.586647: ctrl_interface='/var/run/wpa_supplicant'
1265293199.586647: update_config=1
1265293199.586647: ap_scan=2
1265293199.586647: Line: 4 - start of a new network block
1265293199.586647: ssid - hexdump_ascii(len=4):
     37 31 37 66                                       717f           
1265293199.586647: key_mgmt: 0x4
1265293199.586647: wep_key0 - hexdump(len=13): [REMOVED]
1265293199.586647: wep_key1 - hexdump(len=13): [REMOVED]
1265293199.586647: wep_key2 - hexdump(len=13): [REMOVED]
1265293199.586647: wep_key3 - hexdump(len=13): [REMOVED]
1265293199.586647: Line: 12 - start of a new named blob 'exampleblob'
1265293199.586647: Priority group 0
1265293199.586647:    id=0 ssid='717f'
1265293199.586647: Initializing interface (2) 
'{250C014C-FB73-4A92-B445-E8695DA11777}'
1265293199.586647: NDIS: Packet.dll version: 4.1.0.1452
1265293199.634147: NDIS: 3 adapter names found
1265293199.634147: NDIS: 3 adapter descriptions found
1265293199.634147: NDIS: 0 - 
\Device\NPF_{250C014C-FB73-4A92-B445-E8695DA11777} - Broadcom RNDIS 
Network Adapter
1265293199.634147: NDIS: 1 - 
\Device\NPF_{F1E8FF41-D545-4497-9BA4-74D299B6FA6E} - Realtek 
RTL8169/8110 PCI Gigabit Ethernet NIC
1265293199.634147: NDIS: 2 - 
\Device\NPF_{3C0681A9-E89B-4539-B40A-6F6074CF8299} - Realtek 
RTL8168C/8111C PCI-E Gigabit Ethernet NIC
1265293199.634147: NDIS: Adapter description prefix 'Broadcom RNDIS 
Network Adapter'
1265293199.634147: NDIS: Failed to load wzcsapi.dll (126) - WZC probably 
not running
1265293199.639147: OID_802_11_CAPABILITY - hexdump(len=128): 80 00 00 00 
02 00 00 00 10 00 00 00 0e 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 
00 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 
04 00 00 00 04 00 00 00 04 00 00 00 05 00 00 00 04 00 00 00 06 00 00 00 
04 00 00 00 07 00 00 00 04 00 00 00 03 00 00 00 06 00 00 00 04 00 00 00 
06 00 00 00 05 00 00 00 06 00 00 00 06 00 00 00 06 00 00 00 07 00 00 00 
06 00 00 00
1265293199.639147: NDIS: Driver supports OID_802_11_CAPABILITY - 
NoOfPMKIDs 16 NoOfAuthEncrPairs 14
1265293199.639147: NDIS: 0 - auth 0 encr 1
1265293199.639147: NDIS: 1 - auth 0 encr 0
1265293199.639147: NDIS: 2 - auth 1 encr 1
1265293199.639147: NDIS: 3 - auth 1 encr 0
1265293199.639147: NDIS: 4 - auth 3 encr 4
1265293199.639147: NDIS: 5 - auth 4 encr 4
1265293199.639147: NDIS: 6 - auth 5 encr 4
1265293199.639147: NDIS: 7 - auth 6 encr 4
1265293199.639147: NDIS: 8 - auth 7 encr 4
1265293199.639147: NDIS: 9 - auth 3 encr 6
1265293199.639147: NDIS: 10 - auth 4 encr 6
1265293199.639147: NDIS: 11 - auth 5 encr 6
1265293199.639147: NDIS: 12 - auth 6 encr 6
1265293199.639147: NDIS: 13 - auth 7 encr 6
1265293199.639147: NDIS: driver capabilities: key_mgmt 0x1f enc 0xf auth 0x3
1265293199.641647: NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
1265293199.641647: NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 
00 00 00 00 00 00 00
1265293199.641647: NDIS: Set OID 0d010123 - hexdump(len=8): [REMOVED]
1265293199.644147: NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
1265293199.646647: NDIS: Set OID 0d010102 - hexdump(len=36): [REMOVED]
1265293199.669148: ndis_events: Connected to ROOT\CIMV2.
1265293199.669148: ndis_events: WMI: SELECT Index FROM 
Win32_NetworkAdapterConfiguration WHERE 
SettingID='{250C014C-FB73-4A92-B445-E8695DA11777}'
1265293199.709148: ndis_events: WMI: SELECT Name,PNPDeviceID FROM 
Win32_NetworkAdapter WHERE Index=18
1265293200.606662: ndis_events: Win32_NetworkAdapter::Name='ASUS USB 
802.11g Wireless Adapter Driver'
1265293200.606662: ndis_events: 
Win32_NetworkAdapter::PNPDeviceID='USB\VID_0B05&PID_1717\001FC6215E7C'
1265293200.606662: ndis_events: WMI: SELECT Name FROM Win32_PnPEntity 
WHERE DeviceID='USB\\VID_0B05&PID_1717\\001FC6215E7C'
1265293200.706664: ndis_events: Win32_PnPEntity::Name='ASUS USB 802.11g 
Wireless Adapter Driver'
1265293200.706664: ndis_events: use adapter descriptor 'ASUS USB 802.11g 
Wireless Adapter Driver'
1265293200.709164: Connected to ROOT\WMI.
1265293200.709164: ndis_events: WMI: SELECT * FROM MSNdis_StatusMediaConnect
1265293200.714164: ndis_events: WMI: SELECT * FROM 
MSNdis_StatusMediaDisconnect
1265293200.716664: ndis_events: WMI: SELECT * FROM 
MSNdis_StatusMediaSpecificIndication
1265293200.719164: ndis_events: WMI: SELECT * FROM 
MSNdis_NotifyAdapterArrival
1265293200.721664: ndis_events: WMI: SELECT * FROM 
MSNdis_NotifyAdapterRemoval
1265293200.724164: NDIS: Set OID 0d010108 - hexdump(len=4): [REMOVED]
1265293200.746664: Own MAC address: 00:1f:c6:21:5e:7c
1265293200.746664: wpa_driver_ndis_set_wpa: enabled=1
1265293200.746664: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.746664: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]
1265293200.749164: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]
1265293200.754164: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.754164: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]
1265293200.756665: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]
1265293200.759165: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.759165: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]
1265293200.761665: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]
1265293200.766665: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.766665: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]
1265293200.766665: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]
1265293200.769165: RSN: flushing PMKID list in the driver
1265293200.771665: NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
1265293200.774165: NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 
00 00 00 00 00 00 00
1265293200.774165: NDIS: Set OID 0d010123 - hexdump(len=8): [REMOVED]
1265293200.776665: NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
1265293200.776665: Setting scan request: 0 sec 100000 usec
1265293200.779165: WPS: UUID based on MAC address - hexdump(len=16): af 
f9 c2 00 b0 c2 5e e5 bb 78 b7 0a 4d a7 a6 e9
1265293200.779165: WPS: Build Beacon and Probe Response IEs
1265293200.779165: WPS:  * Version
1265293200.779165: WPS:  * Wi-Fi Protected Setup State (0)
1265293200.779165: WPS:  * Version
1265293200.779165: WPS:  * Wi-Fi Protected Setup State (0)
1265293200.779165: WPS:  * Response Type (2)
1265293200.779165: WPS:  * UUID-E
1265293200.779165: WPS:  * Manufacturer
1265293200.779165: WPS:  * Model Name
1265293200.779165: WPS:  * Model Number
1265293200.779165: WPS:  * Serial Number
1265293200.779165: WPS:  * Primary Device Type
1265293200.779165: WPS:  * Device Name
1265293200.779165: WPS:  * Config Methods (0)
1265293200.779165: WPS:  * RF Bands (3)
1265293200.779165: EAPOL: SUPP_PAE entering state DISCONNECTED
1265293200.779165: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
1265293200.779165: EAPOL: SUPP_BE entering state INITIALIZE
1265293200.779165: EAP: EAP entering state DISABLED
1265293200.779165: CTRL: Open pipe 02627FF0
1265293200.779165: CTRL: ConnectNamedPipe: connection in progress
1265293200.779165: Added interface {250C014C-FB73-4A92-B445-E8695DA11777}
1265293200.781665: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.876666: State: DISCONNECTED -> SCANNING
1265293200.876666: Trying to associate with SSID '717f'
1265293200.876666: Cancelling scan request
1265293200.876666: WPA: clearing own WPA/RSN IE
1265293200.876666: Automatic auth_alg selection: 0x1
1265293200.876666: WPA: clearing AP WPA IE
1265293200.876666: WPA: clearing AP RSN IE
1265293200.876666: WPA: clearing own WPA/RSN IE
1265293200.876666: No keys have been configured - skip key clearing
1265293200.876666: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.876666: NDIS: OID_802_11_ADD_WEP - hexdump(len=25): [REMOVED]
1265293200.876666: NDIS: Set OID 0d010113 - hexdump(len=25): [REMOVED]
1265293200.881666: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.881666: NDIS: OID_802_11_ADD_WEP - hexdump(len=25): [REMOVED]
1265293200.881666: NDIS: Set OID 0d010113 - hexdump(len=25): [REMOVED]
1265293200.884166: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.884166: NDIS: OID_802_11_ADD_WEP - hexdump(len=25): [REMOVED]
1265293200.884166: NDIS: Set OID 0d010113 - hexdump(len=25): [REMOVED]
1265293200.889167: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.889167: NDIS: OID_802_11_ADD_WEP - hexdump(len=25): [REMOVED]
1265293200.889167: NDIS: Set OID 0d010113 - hexdump(len=25): [REMOVED]
1265293200.891667: State: SCANNING -> ASSOCIATING
1265293200.891667: NDIS: Set OID 0d010108 - hexdump(len=4): [REMOVED]
1265293200.891667: NDIS: Re-setting static WEP key 0
1265293200.894167: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.894167: NDIS: OID_802_11_ADD_WEP - hexdump(len=25): [REMOVED]
1265293200.894167: NDIS: Set OID 0d010113 - hexdump(len=25): [REMOVED]
1265293200.896667: NDIS: Re-setting static WEP key 1
1265293200.899167: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.899167: NDIS: OID_802_11_ADD_WEP - hexdump(len=25): [REMOVED]
1265293200.899167: NDIS: Set OID 0d010113 - hexdump(len=25): [REMOVED]
1265293200.901667: NDIS: Re-setting static WEP key 2
1265293200.901667: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.901667: NDIS: OID_802_11_ADD_WEP - hexdump(len=25): [REMOVED]
1265293200.901667: NDIS: Set OID 0d010113 - hexdump(len=25): [REMOVED]
1265293200.904167: NDIS: Re-setting static WEP key 3
1265293200.906667: ndis_get_oid: oid=0xd010101 len (6) failed
1265293200.906667: NDIS: OID_802_11_ADD_WEP - hexdump(len=25): [REMOVED]
1265293200.906667: NDIS: Set OID 0d010113 - hexdump(len=25): [REMOVED]
1265293200.909167: NDIS: Set OID 0d010119 - hexdump(len=4): [REMOVED]
1265293200.911667: ndis_set_oid: oid=0xd010119 len (4) failed
1265293200.911667: NDIS: Failed to set OID_802_11_PRIVACY_FILTER (0)
1265293200.911667: NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
1265293200.911667: NDIS: Set OID 0d01011b - hexdump(len=4): [REMOVED]
1265293200.914167: NDIS: Set OID 0d010102 - hexdump(len=36): [REMOVED]
1265293200.916667: Setting authentication timeout: 60 sec 0 usec
1265293200.916667: EAPOL: External notification - EAP success=0
1265293200.916667: EAPOL: External notification - EAP fail=0
1265293200.916667: EAPOL: External notification - 
portControl=ForceAuthorized
1265293201.449175: MSNdis_StatusMediaConnect
1265293201.449175: NDIS: received event data - hexdump(len=4): 00 00 00 00
1265293201.449175: NDIS: event - type 0
1265293201.449175: NDIS: Media Connect Event
1265293201.471676: NDIS: association information - hexdump(len=94): 28 
00 00 00 03 00 31 04 0a 00 00 00 00 00 00 00 1e 00 00 00 28 00 00 00 07 
00 11 04 00 00 01 c0 18 00 00 00 46 00 00 00 00 04 37 31 37 66 01 08 82 
84 8b 96 24 30 48 6c 32 04 0c 12 18 60 dd 06 00 10 18 02 00 00 01 08 82 
84 8b 96 24 30 48 6c 32 04 0c 12 18 60 dd 06 00 10 18 02 00 00
1265293201.471676: NDIS: ReqFixed=0x3 RespFixed=0x7 off_req=40 
off_resp=70 len_req=30 len_resp=24
1265293201.471676: NDIS: Request IEs - hexdump(len=30): 00 04 37 31 37 
66 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60 dd 06 00 10 18 02 00 00
1265293201.471676: NDIS: Response IEs - hexdump(len=24): 01 08 82 84 8b 
96 24 30 48 6c 32 04 0c 12 18 60 dd 06 00 10 18 02 00 00
1265293201.484176: NDIS: 4 BSSID items to process for AssocInfo
1265293201.484176: NDIS: Beacon IEs - hexdump(len=39): 00 04 37 31 37 66 
01 08 82 84 8b 96 24 30 48 6c 03 01 01 2a 01 06 2f 01 06 32 04 0c 12 18 
60 dd 06 00 10 18 02 00 00
1265293201.484176: Association info event
1265293201.484176: req_ies - hexdump(len=30): 00 04 37 31 37 66 01 08 82 
84 8b 96 24 30 48 6c 32 04 0c 12 18 60 dd 06 00 10 18 02 00 00
1265293201.484176: resp_ies - hexdump(len=24): 01 08 82 84 8b 96 24 30 
48 6c 32 04 0c 12 18 60 dd 06 00 10 18 02 00 00
1265293201.484176: beacon_ies - hexdump(len=39): 00 04 37 31 37 66 01 08 
82 84 8b 96 24 30 48 6c 03 01 01 2a 01 06 2f 01 06 32 04 0c 12 18 60 dd 
06 00 10 18 02 00 00
1265293201.484176: WPA: clearing own WPA/RSN IE
1265293201.484176: WPA: clearing AP WPA IE
1265293201.484176: WPA: clearing AP RSN IE


Thank you!



More information about the HostAP mailing list