Automatic disabling of Windows WZC

Gentoopower gentoopower at yahoo.de
Wed May 10 18:42:14 EDT 2006


I gave it a try today, but the result was negative, here is the log output:


ctrl_interface=C://wpa_supplicant
network={
ssid="MY_SSID"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP WEP104 WEP40
psk="MY_PASS"
}

D:\Program Files\WPA>win_if_list.exe
ifname: \Device\NPF_GenericDialupAdapter
description: Generic dialup adapter

ifname: \Device\NPF_{9C82A7BE-EB31-4B5E-8BDF-1A204EDD896D}
description: IEEE 802.11g Wireless Card.

ifname: \Device\NPF_{508692E1-7B72-43B7-ABBE-B2EAF2CDDCDE}
description: NVIDIA nForce MCP Networking Adapter Driver


D:\Program Files\WPA>wpa_supplicant.exe
-i\Device\NPF_{9C82A7BE-EB31-4B5E-8BDF-1A204EDD896D} -c wpa.conf.txt -dd
Initializing interface
'\Device\NPF_{9C82A7BE-EB31-4B5E-8BDF-1A204EDD896D}' conf 'wpa.conf.txt'
driver 'default' ctrl_in
terface 'N/A' bridge 'N/A'
Reading configuration file 'wpa.conf.txt'
ctrl_interface='/var/run/wpa_supplicant'
Line: 2 - start of a new network block
ssid - hexdump_ascii(len=8):
     4c 69 6e 70 6f 77 65 72                           Linpower
proto: 0x1
key_mgmt: 0x2
pairwise: 0x8
group: 0xe
PSK (ASCII passphrase) - hexdump_ascii(len=28): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='Linpower'
Initializing interface (2)
'\Device\NPF_{9C82A7BE-EB31-4B5E-8BDF-1A204EDD896D}'
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
NDIS: Packet.dll version: 3, 1, 0, 27
NDIS: 3 adapter names found
NDIS: 3 adapter descriptions found
NDIS: 0 - \Device\NPF_GenericDialupAdapter - Generic dialup adapter
NDIS: 1 - \Device\NPF_{508692E1-7B72-43B7-ABBE-B2EAF2CDDCDE} - NVIDIA
nForce MCP Networking Adapter Driver
NDIS: 2 - \Device\NPF_{9C82A7BE-EB31-4B5E-8BDF-1A204EDD896D} - IEEE
802.11g Wireless Card.
NDIS: Adapter description prefix 'IEEE 802.11g Wireless Card.'
OID_802_11_CAPABILITY - hexdump(len=128): 80 00 00 00 02 00 00 00 04 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 03 00 00 00 06 00 00 00 04 00
00 00 04 00 00 00 04 00 00 00 06 00 00 00 05 00 00 00 04 00 00 00 05 00
00 00 06 00 00 00 06 00 00 00 04 00 00 00 06 00
00 00 06 00 00 00 07 00 00 00 04 00 00 00 07 00 00 00 06 00 00 00
NDIS: Driver supports OID_802_11_CAPABILITY - NoOfPMKIDs 4
NoOfAuthEncrPairs 14
NDIS: 0 - auth 0 encr 1
NDIS: 1 - auth 0 encr 0
NDIS: 2 - auth 1 encr 1
NDIS: 3 - auth 1 encr 0
NDIS: 4 - auth 3 encr 4
NDIS: 5 - auth 3 encr 6
NDIS: 6 - auth 4 encr 4
NDIS: 7 - auth 4 encr 6
NDIS: 8 - auth 5 encr 4
NDIS: 9 - auth 5 encr 6
NDIS: 10 - auth 6 encr 4
NDIS: 11 - auth 6 encr 6
NDIS: 12 - auth 7 encr 4
NDIS: 13 - auth 7 encr 6
NDIS: driver capabilities: key_mgmt 0x1f enc 0xf auth 0x3
NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 00 00 00 00 00 00 00
Connected to ROOT\WMI.
NDIS: WZCEnumInterfaces failed: 1702; WZC service is apparently not running
Own MAC address: 00:0e:2e:52:25:c7
wpa_driver_ndis_set_wpa: enabled=1
ndis_set_oid: oid=0xd01011e len (16) failed
ndis_set_oid: oid=0xd01011e len (16) failed
ndis_set_oid: oid=0xd01011e len (16) failed
ndis_set_oid: oid=0xd01011e len (16) failed
Setting scan request: 0 sec 100000 usec
Added interface \Device\NPF_{9C82A7BE-EB31-4B5E-8BDF-1A204EDD896D}
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan
to speed up initial association
Scan results: 1
Selecting BSS from priority group 0
0: 00:14:bf:63:7a:fe ssid='Linpower' wpa_ie_len=24 rsn_ie_len=0 caps=0x10
   selected based on WPA IE
Trying to associate with 00:14:bf:63:7a:fe (SSID='Linpower' freq=2462 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 2
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 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
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 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
MSNdis_StatusMediaConnect
  InstanceName: 'Ralink RT2500 Wireless LAN Card'
NDIS: received event data - hexdump(len=36): 00 00 00 00 1f 52 61 6c 69
6e 6b 20 52 54 32 35 30 30 20 57 69 72 65 6c 65
73 73 20 4c 41 4e 20 43 61 72 64
NDIS: event - type 0
NDIS: event InstanceName - hexdump_ascii(len=31):
     52 61 6c 69 6e 6b 20 52 54 32 35 30 30 20 57 69   Ralink RT2500 Wi
     72 65 6c 65 73 73 20 4c 41 4e 20 43 61 72 64      reless LAN Card
NDIS: ignored event for another adapter
MSNdis_StatusMediaConnect
  InstanceName: 'Ralink RT2500 Wireless LAN Card'
NDIS: received event data - hexdump(len=36): 00 00 00 00 1f 52 61 6c 69
6e 6b 20 52 54 32 35 30 30 20 57 69 72 65 6c 65
73 73 20 4c 41 4e 20 43 61 72 64
NDIS: event - type 0
NDIS: event InstanceName - hexdump_ascii(len=31):
     52 61 6c 69 6e 6b 20 52 54 32 35 30 30 20 57 69   Ralink RT2500 Wi
     72 65 6c 65 73 73 20 4c 41 4e 20 43 61 72 64      reless LAN Card
NDIS: ignored event for another adapter

Any idea what the NDIS: ignored event for another adapter is all about?

-Ric

Jouni Malinen wrote:
> On Mon, May 08, 2006 at 11:31:57PM +0200, Gentoopower wrote:
>
>   
>> Is wpa_supplicant running as a Windows Service?
>>     
>
> Yes, you can run it as a service with 0.5.x versions. The binary build
> comes with two versions: wpa_supplicant.exe, which is more or less like
> Linux versions, and wpasvc.exe, which can be registered as a Windows
> service. README-Windows.txt has more information on how to use
> wpasvc.exe.
>
>   
>> The problem with that method is, that this tool only starts if a user is
>> logged in, if I restart my Server via remote connection the wireless
>> network won't be available anymore until someone logs on locally.
>>     
>
> I haven't tried this myself, but I believe that some people are indeed
> starting wpa_supplicant as a service before anyone logs in. There has
> been some discussion on this mailing list about reducing start up delays
> by making sure that WinPcap service is started early enough.
>
>   



		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



More information about the HostAP mailing list