help needed getting WPA2 working. 1.7.4 Staion firmware enabeld. Thanks

helas Akropolis hela80
Mon Jun 6 14:30:14 PDT 2005


hi,

I am trying to get the hostapd and WPA_supplicant(winxp/sp2) to work with WPA2 authentication with EAP. I have them running with WPA-PSK and 802.1x authentication with EAP-TTLS.

My Hostap/hostapd station firmware is 1.7.4 so i have WPA/WPA2 support.

My wpa_supplicant configuration is

network={
	ssid="WirelessNetwork"
	proto=RSN
	key_mgmt=WPA-EAP
	auth_alg=OPEN
	pairwise=CCMP TKIP
	group=CCMP TKIP
	eap=TTLS
	identity="wpasup"
 	password="Wire33Less"
	ca_cert="X:\wpa_supplicant-windows-bin-0.3.8\certs\ca.crt"
	phase1="include_tls_length=1"
 	#phase2="auth=PAP"
}

And the hostapd configuration:

interface=wlan0
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=test
macaddr_acl=0
auth_alg=3
ieee8021x=1
eap_authenticator=0
eap_message=hello
eapol_key_index_workaround=0
own_ip_addr=192.168.2.1
nas_identifier=client.example.com

# RADIUS authentication server
auth_server_addr=192.168.2.33
auth_server_port=1812
auth_server_shared_secret=xxxxxxxx

wpa=2

wpa_key_mgmt=WPA-EAP
wpa_pairwise=TKIP CCMP
wpa_group_rekey=600
wpa_gmk_rekey=86400

rsn_preauth=1
rsn_preauth_interfaces=eth0

The access point do not become the association request from the supplicant and not respond as it does not detect it to be WPA/RSN capable. i.e The access point do nothing.

The wpa_supplicant log:

X:\wpa_supplicant-windows-bin-0.3.8>wpa_supplicant.exe -i \Device\NPF_{F554BABA-A284-4E8B-9179-88362F3C7858} -c wpa_supplicant.conf -dd
Initializing interface '\Device\NPF_{F554BABA-A284-4E8B-9179-88362F3C7858}' conf 'wpa_supplicant.conf' driver 'default'
Configuration file 'wpa_supplicant.conf' -> 'X:\Diplom\Implementierung\wpa_supplicant-windows-bin-.3.8/wpa_supplicant.conf'
Reading configuration file 'X:\wpa_supplicant-windows-bin -0.3.8/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=2
ap_scan=1
fast_reauth=1
Line: 323 - 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: 0x1
auth_alg: 0x1
pairwise: 0x18
group: 0x18
eap methods - hexdump(len=2): 15 00
identity - hexdump_ascii(len=6):
     77 70 61 73 75 70                                 wpasup
password - hexdump_ascii(len=10): [REMOVED]
ca_cert - hexdump_ascii(len=71):
     58 3a 5c 44 69 70 6c 6f 6d 5c 49 6d 70 6c 65 6d   X:\xxxxxx\xxxxxx
     65 6e 74 69 65 72 75 6e 67 5c 77 70 61 5f 73 75   entierung\wpa_su
     70 70 6c 69 63 61 6e 74 2d 77 69 6e 64 6f 77 73   pplicant-windows
     2d 62 69 6e 2d 30 2e 33 2e 38 5c 63 65 72 74 73   -bin-0.3.8\certs
     5c 63 61 2e 63 72 74                                               \ca.crt
phase1 - hexdump_ascii(len=20):
     69 6e 63 6c 75 64 65 5f 74 6c 73 5f 6c 65 6e 67   include_tls_leng
     74 68 3d 31                                       th=1
Priority group 0
   id=0 ssid='WirelessNetwork'
Initializing interface (2) '\Device\NPF_{F554BABA-A284-4E8B-9179-88362F3C7858}'
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: 4 adapter names found
NDIS: 4 adapter descriptions found
NDIS: 0 - \Device\NPF_GenericNdisWanAdapter - Generic NdisWan adapter
NDIS: 1 - \Device\NPF_{54617D0B-61F8-4370-AB78-D0609129F1D5} - WAN (PPP/SLIP) In
terface
NDIS: 2 - \Device\NPF_{F554BABA-A284-4E8B-9179-88362F3C7858} - NETGEAR 108 Mbps
Wireless PC Card WG511T (Microsoft's Packet Scheduler)
NDIS: 3 - \Device\NPF_{5C0997E9-AFF5-423C-90A7-E9D32B2E7B1B} - NET IP/1394 Minip
ort
NDIS: Adapter description prefix 'NETGEAR 108 Mbps Wireless PC Card WG511T'
ndis_get_oid: oid=0xd010122 len (512) failed
NDIS: verifying driver WPA capability
NDIS: WPA key management supported
NDIS: WPA-PSK key management supported
NDIS: CCMP encryption supported
NDIS: TKIP encryption supported
NDIS: driver supports WPA
NDIS: driver capabilities: key_mgmt 0x5 enc 0xc auth 0x3
Own MAC address: 00:09:5b:98:e2:7e
wpa_driver_ndis_set_wpa: enabled=1
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) 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: 3
Selecting BSS from priority group 0
0: 00:30:f1:bc:03:64 ssid=' ' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:09:5b:2f:72:78 ssid='WirelessNetwork' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
2: 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: 3
Selecting BSS from priority group 0
0: 00:30:f1:bc:03:64 ssid=' ' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:09:5b:2f:72:78 ssid='WirelessNetwork' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
2: 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: 3
Selecting BSS from priority group 0
0: 00:30:f1:bc:03:64 ssid=' ' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:09:5b:2f:72:78 ssid='WirelessNetwork' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
2: 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
RX ctrl_iface - hexdump_ascii(len=6):
     53 54 41 54 55 53                                 STATUS
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
Scan timeout - try to get results
Scan results: 3
Selecting BSS from priority group 0
0: 00:30:f1:bc:03:64 ssid=' ' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:09:5b:2f:72:78 ssid='WirelessNetwork' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
2: 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
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
ndis_set_oid: oid=0xd010115 len (4) failed
NDIS: failed to disassociate and turn radio off
rmdir[ctrl_interface]: No such file or directory

Thanks

Helas
______________________________________________________________
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