<html><body bgcolor='#ffffff' style='font-size:9pt; font-family:Verdana; font-family: Verdana' ><P>Hi,</P><P>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] </P><P>My hostapd.conf sees like this:<BR>[<BR>ssid=WirelessNetwork<BR>auth_algs=(I don’t use IEEE802.1X ore Shared Key, because I want WPA-PSK I lave it = 3 )<BR>own_ip_addr=192.168.1.1(AP IP Adress)<BR>wpa=0(bit0=WPA)<BR>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 <BR>network={<BR>ssid="WirelessNetwork"<BR>#psk="WireLess"<BR>psk=0ef9900ec987d47ecd4240c939179775c7d3026727a344f6face4357eb79657f )<BR>wpa_key_mgmt=WPA-PSK<BR>wpa_pairwise=TKIP CCMP <BR>]<BR>I don’t become any Errors, just this</P><P>[root@localhost uplink]# iwlist wlan0 scan<BR>Warning: Driver for device wlan0 recommend version 18 of Wireless Extension,<BR>but has been compiled with version 16, therefore some driver features<BR>may not be available...</P><P>wlan0 No scan results</P><P>[root@localhost hostapd-0.3.7]# hostapd -dd hostapd.conf<BR>Configuration file: hostapd.conf<BR>Opening raw packet socket for ifindex 16<BR>Using interface wlan0 with hwaddr 00:09:5b:12:0f:a5 and ssid 'WirelessNetwork'<BR>WPA: group state machine entering state GTK_INIT<BR>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<BR>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<BR>WPA: group state machine entering state SETKEYSDONE<BR>Flushing old station entries<BR>Deauthenticate all stations<BR>Received 342 bytes management frame<BR>extra data in frame (elen=0)<BR>unknown frame type 3<BR>Received 342 bytes management frame<BR>extra data in frame (elen=0)<BR>unknown frame type 3<BR>Received 342 bytes management frame<BR>extra data in frame (elen=0)<BR>unknown frame type 3<BR>Received 342 bytes management frame<BR>extra data in frame (elen=0)<BR>unknown frame type 3<BR>Received 342 bytes management frame<BR>extra data in frame (elen=0)<BR>unknown frame type 3<BR>wlan0: WPA rekeying GTK<BR>WPA: group state machine entering state SETKEYS<BR>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<BR>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<BR>WPA: group state machine entering state SETKEYSDONE<BR>wlan0: WPA rekeying GTK<BR>WPA: group state machine entering state SETKEYS<BR>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<BR>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<BR>WPA: group state machine entering state SETKEYSDONE<BR>wlan0: WPA rekeying GTK<BR>WPA: group state machine entering state SETKEYS<BR>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<BR>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<BR>WPA: group state machine entering state SETKEYSDONE<BR>wlan0: WPA rekeying GTK<BR>WPA: group state machine entering state SETKEYS<BR>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<BR>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<BR>WPA: group state machine entering state SETKEYSDONE</P><P>Now to wpa_supplicant 0.3.8 on winxp sp2(with wincap 3.1 beta 4)</P><P>1. In wpa_supplicant.conf is just <BR> ctrl_interface=/var/run/wpa_supplicant<BR> #ctrl_interface_group=0<BR> eapol_version=1<BR> ap_scan=1<BR> fast_reauth=1 <BR> network={<BR> ssid="WirelessNetwork"<BR> key_mgmt=WPA-PSK<BR> proto=WPA<BR> pairwise=TKIP<BR> 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 <BR> network={<BR> ssid="WirelessNetwork"<BR> #psk="WireLess"<BR> psk=0ef9900ec987d47ecd4240c939179775c7d3026727a344f6face4357eb79657f )<BR> "<BR>}<BR> <BR>2. wpa_supplicant.exe –i \Device\NPF_{2227C86E-87BC-405E-9C1A-3C1B00689C25} -c wpa_supplicant.conf –dd</P><P>i become this output :</P><P>Initializing interface '\Device\NPF_{2227C86E-87BC-405E-9C1A-3C1B00689C25}' conf<BR> 'wpa_supplicant.conf' driver 'default'<BR>Configuration file 'wpa_supplicant.conf' -> 'X:\Diplom\Implementierung\wpa_suppl<BR>icant-windows-bin-0.3.8/wpa_supplicant.conf'<BR>Reading configuration file 'X:\Diplom\Implementierung\wpa_supplicant-windows-bin<BR>-0.3.8/wpa_supplicant.conf'<BR>ctrl_interface='/var/run/wpa_supplicant'<BR>eapol_version=1<BR>ap_scan=1<BR>fast_reauth=1<BR>Line: 261 - start of a new network block<BR>ssid - hexdump_ascii(len=15):<BR> 57 69 72 65 6c 65 73 73 4e 65 74 77 6f 72 6b WirelessNetwork<BR>key_mgmt: 0x2<BR>proto: 0x1<BR>pairwise: 0x8<BR>PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]<BR>PSK (from passphrase) - hexdump(len=32): [REMOVED]<BR>Line 267: removed CCMP from group cipher list since it was not allowed for pairw<BR>ise cipher<BR>Priority group 0<BR> id=0 ssid='WirelessNetwork'<BR>Initializing interface (2) '\Device\NPF_{2227C86E-87BC-405E-9C1A-3C1B00689C25}'<BR>EAPOL: SUPP_PAE entering state DISCONNECTED<BR>EAPOL: KEY_RX entering state NO_KEY_RECEIVE<BR>EAPOL: SUPP_BE entering state INITIALIZE<BR>EAP: EAP entering state DISABLED<BR>EAPOL: External notification - portEnabled=0<BR>EAPOL: External notification - portValid=0<BR>NDIS: 3 adapter names found<BR>NDIS: 3 adapter descriptions found<BR>NDIS: 0 - \Device\NPF_GenericNdisWanAdapter - Generic NdisWan adapter<BR>NDIS: 1 - \Device\NPF_{2227C86E-87BC-405E-9C1A-3C1B00689C25} - Realtek RTL8180 W<BR>ireless LAN (Mini-)PCI NIC (Microsoft's Pac<BR>ket Scheduler)<BR>NDIS: 2 - \Device\NPF_{5C0997E9-AFF5-423C-90A7-E9D32B2E7B1B} - NET IP/1394 Minip<BR>ort<BR>NDIS: Adapter description prefix 'Realtek RTL8180 Wireless LAN'<BR>ndis_get_oid: oid=0xd010122 len (512) failed<BR>NDIS: verifying driver WPA capability<BR>NDIS: WEP encryption supported<BR>NDIS: no WPA support found<BR>NDIS: driver capabilities: key_mgmt 0x0 enc 0x3 auth 0x3<BR>Own MAC address: 00:50:fc:be:4c:d0<BR>wpa_driver_ndis_set_wpa: enabled=1<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>ndis_set_oid: oid=0xd01011e len (16) failed<BR>ndis_set_oid: oid=0xd010114 len (4) failed<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>ndis_set_oid: oid=0xd01011e len (16) failed<BR>ndis_set_oid: oid=0xd010114 len (4) failed<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>ndis_set_oid: oid=0xd01011e len (16) failed<BR>ndis_set_oid: oid=0xd010114 len (4) failed<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>ndis_set_oid: oid=0xd01011e len (16) failed<BR>ndis_set_oid: oid=0xd010114 len (4) failed<BR>Setting scan request: 0 sec 100000 usec<BR>Starting AP scan (broadcast SSID)<BR>NDIS: turning radio on before the first scan<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>Scan timeout - try to get results<BR>Scan results: 1<BR>Selecting BSS from priority group 0<BR>0: 00:09:5b:12:0f:a5 ssid='WirelessNetwork' wpa_ie_len=0 rsn_ie_len=0<BR> skip - no WPA/RSN IE<BR>No suitable AP found.<BR>Setting scan request: 5 sec 0 usec<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>Starting AP scan (broadcast SSID)<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>Scan timeout - try to get results<BR>Scan results: 1<BR>Selecting BSS from priority group 0<BR>0: 00:09:5b:12:0f:a5 ssid='WirelessNetwork' wpa_ie_len=0 rsn_ie_len=0<BR> skip - no WPA/RSN IE<BR>No suitable AP found.<BR>Setting scan request: 5 sec 0 usec<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>Starting AP scan (broadcast SSID)<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>Scan timeout - try to get results<BR>Scan results: 1<BR>Selecting BSS from priority group 0<BR>0: 00:09:5b:12:0f:a5 ssid='WirelessNetwork' wpa_ie_len=0 rsn_ie_len=0<BR> skip - no WPA/RSN IE<BR>No suitable AP found.<BR>Setting scan request: 5 sec 0 usec<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>Starting AP scan (broadcast SSID)<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0<BR>ndis_get_oid: oid=0xd010101 len (6) failed<BR>Signal 2 received - terminating<BR>No keys have been configured - skip key clearing<BR>EAPOL: External notification - portEnabled=0<BR>EAPOL: External notification - portValid=0<BR>wpa_driver_ndis_set_wpa: enabled=0<BR>rmdir[ctrl_interface]: No such file or directory </P><P><BR>I hope you can help me und thank you very much..<BR></P><br><br><table cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#000000"><img src="http://img.web.de/p.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td style="font-family:verdana; font-size:12px; line-height:17px;">Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. <br>weltweit telefonieren! <A HREF="http://freephone.web.de/?mc=021201"><B>http://freephone.web.de/?mc=021201</B></A> </td></tr></table></body></html>