Please help.wpa_supplicant problem

helas Akropolis hela80
Wed Apr 13 04:47:32 PDT 2005


Hi,

Can someone tell me what I am doing wrong? I am trying to use WPA-PSK and start the hostapd(0.3.7) with 
[hostapd ?dd hostapd.conf] 

My hostapd.conf sees like this:
[
ssid=WirelessNetwork
auth_algs=1
own_ip_addr=192.168.1.1(AP IP Adress)
wpa=1
wpa_passphrase=(for example, should I enter WireLess as password or use the 

[psk=0ef9900ec987d47ecd4240c939179775c7d3026727a344f6face4357eb79657f ] from wpa_passphrase in the wpa_supplicant. I became with wpa_passphrase.exe WirelessNetwork WireLess 
network={
ssid="WirelessNetwork"
#psk="WireLess"
psk=0ef9900ec987d47ecd4240c939179775c7d3026727a344f6face4357eb79657f )

wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP 
]

The output of the hostapd is:

[root at localhost hostapd-0.3.7]# hostapd -dd hostapd.conf
Configuration file: hostapd.conf
Opening raw packet socket for ifindex 16
Using interface wlan0 with hwaddr 00:09:5b:12:0f:a5 and ssid 'WirelessNetwork'
WPA: group state machine entering state GTK_INIT
GMK - hexdump(len=32): 1c ad 03 67 d0 bf 84 e6 df 0e 85 6b 3b 31 14 3e 21 b7 fc 86 67 ad da c4 b3 97 f3 17 e9 7a 22 00
GTK - hexdump(len=32): 94 fe 22 18 0c 0e 32 46 3c 30 ed d9 1e fc 64 60 d9 8d 37 3b 1f ef 6e c1 71 5f ab 3a f2 a0 69 d4
WPA: group state machine entering state SETKEYSDONE
Flushing old station entries
Deauthenticate all stations
Received 342 bytes management frame
extra data in frame (elen=0)
unknown frame type 3
Received 342 bytes management frame
extra data in frame (elen=0)
unknown frame type 3
Received 342 bytes management frame
extra data in frame (elen=0)
unknown frame type 3
Received 342 bytes management frame
extra data in frame (elen=0)
unknown frame type 3
Received 342 bytes management frame
extra data in frame (elen=0)
unknown frame type 3
wlan0: WPA rekeying GTK
WPA: group state machine entering state SETKEYS
GMK - hexdump(len=32): 1c ad 03 67 d0 bf 84 e6 df 0e 85 6b 3b 31 14 3e 21 b7 fc 86 67 ad da c4 b3 97 f3 17 e9 7a 22 00
GTK - hexdump(len=32): d8 74 d1 32 a5 a5 bc 5d 47 df 56 dc 43 be a7 29 3f 7e b5 87 48 f9 87 94 88 64 9e 02 33 97 d7 07
WPA: group state machine entering state SETKEYSDONE
wlan0: WPA rekeying GTK
WPA: group state machine entering state SETKEYS
GMK - hexdump(len=32): 1c ad 03 67 d0 bf 84 e6 df 0e 85 6b 3b 31 14 3e 21 b7 fc 86 67 ad da c4 b3 97 f3 17 e9 7a 22 00
GTK - hexdump(len=32): b4 3e f7 16 97 e8 6d db 7b c2 35 8b f0 7a e7 21 bd 59 f8 92 e5 e0 94 de ce 67 9f 5f 3e 06 bf de
WPA: group state machine entering state SETKEYSDONE
wlan0: WPA rekeying GTK
WPA: group state machine entering state SETKEYS
GMK - hexdump(len=32): 1c ad 03 67 d0 bf 84 e6 df 0e 85 6b 3b 31 14 3e 21 b7 fc 86 67 ad da c4 b3 97 f3 17 e9 7a 22 00
GTK - hexdump(len=32): 66 67 7c 3a a2 c6 84 19 d7 7c 98 c4 71 e6 08 02 47 97 31 b5 8e ba 83 38 b6 56 8f 52 0d ae a5 ea
WPA: group state machine entering state SETKEYSDONE
wlan0: WPA rekeying GTK
WPA: group state machine entering state SETKEYS
GMK - hexdump(len=32): 1c ad 03 67 d0 bf 84 e6 df 0e 85 6b 3b 31 14 3e 21 b7 fc 86 67 ad da c4 b3 97 f3 17 e9 7a 22 00
GTK - hexdump(len=32): b7 6a e9 4a 3d 1d 39 53 70 62 b4 ac b6 9e 26 bf 06 5b f1 32 df f3 79 c6 78 b2 1f 40 a1 2d e2 a2
WPA: group state machine entering state SETKEYSDONE

The output of iwlist is:

[root at localhost uplink]# iwlist wlan0 scan
Warning: Driver for device wlan0 recommend version 18 of Wireless Extension,
but has been compiled with version 16, therefore some driver features
may not be available...

wlan0     No scan results

Now to wpa_supplicant 0.3.8 on winxp sp2(with wincap 3.1 beta 4)

1.	In wpa_supplicant.conf is just 
	ctrl_interface=/var/run/wpa_supplicant
	#ctrl_interface_group=0
	eapol_version=1
	ap_scan=1
	fast_reauth=1	
	network={
	ssid="WirelessNetwork"
	key_mgmt=WPA-PSK
	proto=WPA
	pairwise=TKIP
	psk="=(for example, should I enter WireLess as password or use the 	[psk=0ef9900ec987d47ecd4240c939179775c7d3026727a344f6face4357eb79657f ] from 	wpa_passphrase in      
                the wpa_supplicant. I became with wpa_passphrase.exe WirelessNetwork WireLess 
	network={
	ssid="WirelessNetwork"
	#psk="WireLess"
	psk=0ef9900ec987d47ecd4240c939179775c7d3026727a344f6face4357eb79657f )
	"
                }
	
2.	wpa_supplicant.exe ?i \Device\NPF_{2227C86E-87BC-405E-9C1A-3C1B00689C25} -c wpa_supplicant.conf ?dd

The output is :

Initializing interface '\Device\NPF_{2227C86E-87BC-405E-9C1A-3C1B00689C25}' conf
 'wpa_supplicant.conf' driver 'default'
Configuration file 'wpa_supplicant.conf' -> 'X:\Diplom\Implementierung\wpa_suppl
icant-windows-bin-0.3.8/wpa_supplicant.conf'
Reading configuration file 'X:\Diplom\Implementierung\wpa_supplicant-windows-bin
-0.3.8/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=1
fast_reauth=1
Line: 261 - start of a new network block
ssid - hexdump_ascii(len=15):57 69 72 65 6c 65 73 73 4e 65 74 77 6f 72 6b      WirelessNetwork
key_mgmt: 0x2
proto: 0x1
pairwise: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line 267: removed CCMP from group cipher list since it was not allowed for pairw
ise cipher
Priority group 0
id=0 ssid='WirelessNetwork'
Initializing interface (2) '\Device\NPF_{2227C86E-87BC-405E-9C1A-3C1B00689C25}'
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: 3 adapter names found
NDIS: 3 adapter descriptions found
NDIS: 0 - \Device\NPF_GenericNdisWanAdapter - Generic NdisWan adapter
NDIS: 1 - \Device\NPF_{2227C86E-87BC-405E-9C1A-3C1B00689C25} - Realtek RTL8180 W
ireless LAN (Mini-)PCI NIC (Microsoft's Packet Scheduler)
NDIS: 2 - \Device\NPF_{5C0997E9-AFF5-423C-90A7-E9D32B2E7B1B} - NET IP/1394 Miniport
NDIS: Adapter description prefix 'Realtek RTL8180 Wireless LAN'
ndis_get_oid: oid=0xd010122 len (512) failed
NDIS: verifying driver WPA capability
NDIS: WEP encryption supported
NDIS: no WPA support found
NDIS: driver capabilities: key_mgmt 0x0 enc 0x3 auth 0x3
Own MAC address: 00:50:fc:be:4c:d0
wpa_driver_ndis_set_wpa: enabled=1
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_set_oid: oid=0xd01011e len (16) failed
ndis_set_oid: oid=0xd010114 len (4) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_set_oid: oid=0xd01011e len (16) failed
ndis_set_oid: oid=0xd010114 len (4) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_set_oid: oid=0xd01011e len (16) failed
ndis_set_oid: oid=0xd010114 len (4) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_set_oid: oid=0xd01011e len (16) failed
ndis_set_oid: oid=0xd010114 len (4) failed
Setting scan request: 0 sec 100000 usec
Starting AP scan (broadcast SSID)
NDIS: turning radio on before the first scan
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
Scan timeout - try to get results
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:12:0f:a5 ssid='WirelessNetwork' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
Scan timeout - try to get results
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:12:0f:a5 ssid='WirelessNetwork' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
Scan timeout - try to get results
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:12:0f:a5 ssid='WirelessNetwork' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
ndis_get_oid: oid=0xd010101 len (6) failed
Signal 2 received - terminating
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ndis_set_wpa: enabled=0
rmdir[ctrl_interface]: No such file or directory 


I hope you can help me und thank you very much..

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193





More information about the Hostap mailing list