<div>Hi,</div>  <div> </div>  <div>I have run the Voyage on Wrap which has two wireless card, Intersil 2.5 and Atheros 4th generation. Both cards work ok in AP mode with WEP. However I have encountered some problems on WPA-PSK.</div>  <div> </div>  <div>For 02pre4 (hostapd V0.5.0), the default interface of hostapd.conf is wlan0. When hostapd starts up, the client can scan it as AP with WEP not WPA-PSK. Then I change the interface from wlan0 to ath0. The system reports as follows:<BR>      ioctl(SIOCGIFINDEX): No such device<BR>      hostap driver initialization failed.<BR>      rmdir[ctrl_interface]: No such file or directory</div>  <div><BR>For 02pre3 (hostapd V0.3.7), the ath0 can startup as AP with WEP-PSK support. The client can connect to it, but both cannot ping with each other. The hostapd.conf and output are as follows:</div> 
 <div>interface=ath0<BR>driver=madwifi<BR>logger_syslog=-1<BR>logger_syslog_level=2<BR>logger_stdout=-1<BR>logger_stdout_level=2<BR>debug=0<BR>dump_file=/tmp/hostapd.dump<BR>ctrl_interface=/var/run/hostapd<BR>ctrl_interface_group=0<BR>ssid=wpa_ssid<BR>macaddr_acl=0<BR>auth_algs=3<BR>eap_authenticator=0<BR>wpa=1<BR>wpa_psk=24b8946cf9ec3f9654f97c9394e8bd1a324c82562194d12e27ccdd9f4feda3a1<BR>wpa_key_mgmt=WPA-PSK<BR>wpa_pairwise=TKIP<BR>wpa_group_rekey=600<BR>wpa_gmk_rekey=86400</div>  <div> </div>  <div>voyage:~# cd /etc/hostapd<BR>voyage:/etc/hostapd# hostapd -dd hostapd.txt<BR>Configuration file: hostapd.txt<BR>madwifi_set_iface_flags: dev_up=0<BR>Using interface ath0 with hwaddr 00:0b:6b:37:d2:a4 and ssid 'wpa_ssid'<BR>madwifi_set_ieee8021x: enabled=1<BR>madwifi_configure_wpa: group key cipher=1<BR>madwifi_configure_wpa: pairwise key ciphers=0x2<BR>madwifi_configure_wpa: key management algorithms=0x2<BR>madwifi_configure_wpa: rsn capabilities=0x0<BR>madwifi_configure_wpa: enable
 WPA= 0x1<BR>madwifi_set_iface_flags: dev_up=1<BR>madwifi_set_privacy: enabled=1<BR>WPA: group state machine entering state GTK_INIT<BR>GMK - hexdump(len=32): 5f 06 c2 a5 a0 ee 25 c2 17 b6 71 e7 af fe 25 cc ac f2 a5 16 cb 7b 0e 92 07 0e 4f b8 f8 be 86 35<BR>GTK - hexdump(len=32): a5 8d 74 d5 91 f6 ae ce 26 0a 48 84 d4 b0 a6 a0 33 c2 17 65 7c e4 8f ca 12 72 70 30 0f 74 19 af<BR>WPA: group state machine entering state SETKEYSDONE<BR>madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1<BR>ioctl[IEEE80211_IOCTL_SETKEY]: Argument list too long<BR>Flushing old station entries<BR>Deauthenticate all stations<BR>l2_packet_receive - recv: Network is down<BR>Wireless event: cmd=0x8c03 len=20<BR>ath0: STA 00:12:17:87:6c:d6 IEEE 802.11: associated<BR>  New STA<BR>ath0: STA 00:12:17:87:6c:d6 WPA: event 1 notification<BR>ath0: STA 00:12:17:87:6c:d6 WPA: start authentication<BR>WPA: 00:12:17:87:6c:d6 WPA_PTK entering state INITIALIZE<BR>madwifi_del_key: addr=00:12:17:87:6c:d6
 key_idx=0<BR>ath0: STA 00:12:17:87:6c:d6 IEEE 802.1X: unauthorizing port<BR>madwifi_set_sta_authorized: addr=00:12:17:87:6c:d6 authorized=0<BR>ioctl[IEEE80211_IOCTL_SETMLME]: Argument list too long<BR>WPA: 00:12:17:87:6c:d6 WPA_PTK_GROUP entering state IDLE<BR>WPA: 00:12:17:87:6c:d6 WPA_PTK entering state AUTHENTICATION<BR>WPA: 00:12:17:87:6c:d6 WPA_PTK entering state AUTHENTICATION2<BR>WPA: 00:12:17:87:6c:d6 WPA_PTK entering state INITPSK<BR>WPA: 00:12:17:87:6c:d6 WPA_PTK entering state PTKSTART<BR>ath0: STA 00:12:17:87:6c:d6 WPA: sending 1/4 msg of 4-Way Handshake<BR>ath0: STA 00:12:17:87:6c:d6 WPA: EAPOL-Key timeout<BR>WPA: 00:12:17:87:6c:d6 WPA_PTK entering state PTKSTART<BR>ath0: STA 00:12:17:87:6c:d6 WPA: sending 1/4 msg of 4-Way Handshake<BR>IEEE 802.1X: 123 bytes from 00:12:17:87:6c:d6<BR>   IEEE 802.1X: version=1 type=3 length=119<BR>ath0: STA 00:12:17:87:6c:d6 WPA: received EAPOL-Key frame (2/4 Pairwise)<BR>WPA: 00:12:17:87:6c:d6 WPA_PTK entering state
 PTKCALCNEGOTIATING<BR>PMK - hexdump(len=32): 24 b8 94 6c f9 ec 3f 96 54 f9 7c 93 94 e8 bd 1a 32 4c 82 56 21 94 d1 2e 27 cc dd 9f 4f ed a3 a1<BR>PTK - hexdump(len=64): 98 a3 89 28 85 86 87 aa 55 46 2e ad e1 41 66 f0 50 76 61 b3 55 3f c8 11 60 b1 a7 3a 12 fe 51 c1 a1 45 97 e4 08 89 cf 69 8f 4b bd 4c 7d 56 73 5a 2e 90 a6 07 c6 c5 5f 4c 3d 7f dc 67 cd 41 bd 4f<BR>WPA: 00:12:17:87:6c:d6 WPA_PTK entering state PTKCALCNEGOTIATING2<BR>WPA: 00:12:17:87:6c:d6 WPA_PTK entering state PTKINITNEGOTIATING<BR>madwifi_get_seqnum: addr=00:00:00:00:00:00 idx=1<BR>ath0: STA 00:12:17:87:6c:d6 WPA: sending 3/4 msg of 4-Way Handshake<BR>IEEE 802.1X: 99 bytes from 00:12:17:87:6c:d6<BR>   IEEE 802.1X: version=1 type=3 length=95<BR>ath0: STA 00:12:17:87:6c:d6 WPA: received EAPOL-Key frame (4/4 Pairwise)<BR>WPA: 00:12:17:87:6c:d6 WPA_PTK entering state PTKINITDONE<BR>madwifi_set_key: alg=TKIP addr=00:12:17:87:6c:d6 key_idx=0<BR>ioctl[IEEE80211_IOCTL_SETKEY]: Argument list too
 long<BR>madwifi_sta_deauth: addr=00:12:17:87:6c:d6 reason_code=2<BR>ioctl[IEEE80211_IOCTL_SETMLME]: Argument list too long<BR>ath0: STA 00:12:17:87:6c:d6 IEEE 802.11: deauthenticated due to local deauth request</div>  <div> </div>  <div>Can anyone help ?? Thanks.</div>  <div> </div>  <div>Keith</div><p>_______________________________________<br> YM - 離線訊息<br> 就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。<br> http://messenger.yahoo.com.hk