Interoperability with Windows Mobile

Henk Vergonet rememberme
Tue Feb 28 05:49:04 PST 2006



Hi all,

Is there anayone that knows of interoperability issues with Windows Mobile
handheld devices and hostapd?

I am just using hostapd-0.4.8 (WPA-PSK) together with an atheros card and it
works flawlesly with my linux and Windows XP laptop.

However my wlan stack on my MDA-Vario (HTC Wizzard) should in theory support
WPA-PSK with WEB or TKIP cyphers, but in practice I get: 

  Feb 16 22:22:05 [hostapd] ath0: STA 00:09:xx:xx:xx:xx IEEE 802.11: associated
  Feb 16 22:22:08 [hostapd] ath0: STA 00:09:xx:xx:xx:xx IEEE 802.11:
  	deauthenticated due to local deauth request
  Feb 16 22:22:08 [hostapd] ath0: STA 00:09:xx:xx:xx:xx IEEE 802.11:
	deassociated

Can someone from the logs below see what went wrong, or should I do some other
tests?

Any help appreciated.

Regards,
Henk


hostapd log for a connection MDA Vario (WPA-PSK TKIP) attempt:
--------------------------------------------------------------------------------
	Configuration file: /etc/hostapd.conf
	madwifi_set_iface_flags: dev_up=0
	Using interface ath0 with hwaddr 00:40:xx:xx:xx:xx and ssid 'systol'
	madwifi_set_ieee8021x: enabled=1
	madwifi_configure_wpa: group key cipher=1
	madwifi_configure_wpa: pairwise key ciphers=0xa
	madwifi_configure_wpa: key management algorithms=0x2
	madwifi_configure_wpa: rsn capabilities=0x0
	madwifi_configure_wpa: enable WPA= 0x3
	madwifi_set_iface_flags: dev_up=1
	madwifi_set_privacy: enabled=1
	WPA: group state machine entering state GTK_INIT
	GMK - hexdump(len=32): 9f ....
	GTK - hexdump(len=32): ad ....
	WPA: group state machine entering state SETKEYSDONE
	madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1
	Flushing old station entries
	madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
	Deauthenticate all stations
	l2_packet_receive - recvfrom: Network is down
	Wireless event: cmd=0x8c03 len=20
	New STA
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state INITIALIZE
	madwifi_del_key: addr=00:09:xx:xx:xx:xx key_idx=0
	madwifi_set_sta_authorized: addr=00:09:xx:xx:xx:xx authorized=0
	WPA: 00:09:xx:xx:xx:xx WPA_PTK_GROUP entering state IDLE
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state AUTHENTICATION
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state AUTHENTICATION2
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state INITPSK
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state PTKSTART
	IEEE 802.1X: 4 bytes from 00:09:xx:xx:xx:xx
	IEEE 802.1X: version=1 type=1 length=0
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state PTKSTART
	IEEE 802.1X: 123 bytes from 00:09:xx:xx:xx:xx
        IEEE 802.1X: version=1 type=3 length=119
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state PTKCALCNEGOTIATING
	PMK - hexdump(len=32): 05 ...
	PTK - hexdump(len=64): 20 ...
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state PTKCALCNEGOTIATING2
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state PTKINITNEGOTIATING
	madwifi_get_seqnum: addr=00:00:00:00:00:00 idx=1
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state PTKINITNEGOTIATING
	madwifi_get_seqnum: addr=00:00:00:00:00:00 idx=1
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state PTKINITNEGOTIATING
	madwifi_get_seqnum: addr=00:00:00:00:00:00 idx=1
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state PTKINITNEGOTIATING
	madwifi_get_seqnum: addr=00:00:00:00:00:00 idx=1
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state DISCONNECT
	madwifi_sta_deauth: addr=00:09:xx:xx:xx:xx reason_code=2
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state DISCONNECTED
	WPA: 00:09:xx:xx:xx:xx WPA_PTK entering state INITIALIZE
	madwifi_del_key: addr=00:09:xx:xx:xx:xx key_idx=0
	ioctl[unknown???]: Invalid argument
	madwifi_set_sta_authorized: addr=00:09:xx:xx:xx:xx authorized=0
	ioctl[unknown???]: Invalid argument
	Wireless event: cmd=0x8c04 len=20
	Wireless event: cmd=0x8c03 len=20


My /etc/hostapd.conf:
--------------------------------------------------------------------------------
interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=--1
logger_stdout_level=2
debug=0
ctrl_interface_group=0
macaddr_acl=0

auth_algs=3
eap_server=0
dump_file=/tmp/hostapd.dump
ssid=systol

wpa=3
wpa_psk_file=/etc/hostapd/wpa_psk
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
wpa_strict_rekey=1




More information about the Hostap mailing list