<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> </DIV>
<DIV><BR></DIV>
<DIV><FONT size=2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
size=3><FONT face="Times New Roman"> hi~ </FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-US>I have the problem related to WPA-PSK. I
have spent around two weeks in trying to setup WPA-PSK.
</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-US>It seems that I just to setup
configuration file as appropriate, it should work successfully unless something
I forgot to setup. </SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-US></SPAN><SPAN lang=EN-ZA
style="mso-ansi-language: EN-ZA">Does anyone know where I possibly need to pay
attention?</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-ZA style="mso-ansi-language: EN-ZA"> I
use D-link AG650 as an AP using madwifi driver, hostapd-0.34 to let AP as an
authenticator. </SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-ZA style="mso-ansi-language: EN-ZA">The
802.1x (not WPA with RADIUS) has been successfully tested, but..but.........
WPA-PSK does not work. </SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-ZA style="mso-ansi-language: EN-ZA">The
message dump from hostapd is provided below, and it my be a clue for
you to find out the problem.</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-ZA style="mso-ansi-language: EN-ZA">In
addition, t<SPAN lang=EN-ZA style="mso-ansi-language: EN-ZA">he part of
hostapd¡¦s configuration </SPAN>is also given below.</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-ZA style="mso-ansi-language: EN-ZA">Any
help is greatly appreciated. <SPAN lang=EN-ZA
style="mso-ansi-language: EN-ZA">Thank you very much! please let me know
if more infromation is required..^_^</SPAN></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-ZA style="mso-ansi-language: EN-ZA"><SPAN
lang=EN-ZA
style="mso-ansi-language: EN-ZA"></SPAN></SPAN></FONT></FONT> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-ZA style="mso-ansi-language: EN-ZA"><SPAN
lang=EN-ZA
style="mso-ansi-language: EN-ZA">
Joseph </SPAN></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-ZA
style="mso-ansi-language: EN-ZA"></SPAN></FONT></FONT> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-ZA
style="mso-ansi-language: EN-ZA"></SPAN></FONT></FONT><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>##### WPA/IEEE 802.11i configuration
##########################################</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>wpa=1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>wpa_passphrase=secretap</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>wpa_key_mgmt=WPA-PSK WPA-EAP</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>wpa_pairwise=TKIP CCMP</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>wpa_group_rekey=600</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>wpa_gmk_rekey=86400</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US></SPAN><SPAN
lang=EN-US><FONT face="Times New Roman" size=3></FONT></SPAN> </P><SPAN
lang=EN-US><FONT face="Times New Roman" size=3>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>##### Message dump from hostapd
##########################################</FONT></SPAN></P></FONT></SPAN>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_set_iface_flags:
dev_up=0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>Using interface ath0 with hwaddr 00:03:be:ef:ad:00
and ssid 'joseph'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_set_ieee8021x: enabled=1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_configure_wpa: group key
cipher=1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_configure_wpa: pairwise key
ciphers=0xa</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_configure_wpa: key management
algorithms=0x3</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_configure_wpa: rsn
capabilities=0x0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_configure_wpa: enable WPA=
0x1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_set_iface_flags:
dev_up=1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_set_privacy: enabled=1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>WPA: group state machine entering state
GTK_INIT</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>GMK - hexdump(len=32): 2c aa de fa 1a 22 0b 83 95
3d 43 1e 33 96 ac e5 83 </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>6b 98</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>a9 73 03 8c 00 da 8c 01 a7 60 0a 47
7e</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>GTK - hexdump(len=32): c7 9a 08 f0 4c e5 d0 85 e9
7e 17 bb 6e d1 b2 3e 71 </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>b8 58</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>30 81 ba eb 7c d5 04 8c 71 f0 6b 8f
c2</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>WPA: group state machine entering state
SETKEYSDONE</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00
key_idx=1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>Flushing old station entries</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>Deauthenticate all stations</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>l2_packet_receive - recv: Network is
down</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>Wireless event: cmd=0x8c03
len=20</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>ath0: STA 00:0e:2e:00:00:00 IEEE 802.11:
associated</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">
</SPAN>New STA</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>WPA: 00:0e:2e:00:00:00 WPA_PTK entering state
INITIALIZE</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_del_key: addr=00:0e:2e:00:00:00
key_idx=0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>WPA: 00:0e:2e:00:00:00 WPA_PTK_GROUP entering
state IDLE</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>WPA: 00:0e:2e:00:00:00 WPA_PTK entering state
AUTHENTICATION</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>WPA: 00:0e:2e:00:00:00 WPA_PTK entering state
AUTHENTICATION2</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>Wireless event: cmd=0x8c03
len=20</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>ath0: STA 00:0e:2e:00:00:00 IEEE 802.11:
associated</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_del_key: addr=00:0e:2e:00:00:00
key_idx=0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_del_key: addr=00:0e:2e:00:00:00
key_idx=0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>WPA: 00:0e:2e:00:00:00 WPA_PTK entering state
AUTHENTICATION2</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>IEEE 802.1X: 5 bytes from
00:0e:2e:00:00:00</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">
</SPAN>IEEE 802.1X: version=1 type=1 length=0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">
</SPAN>ignoring 1 extra octets after IEEE 802.1X packet</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>Wireless event: cmd=0x8c03
len=20</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>ath0: STA 00:0e:2e:00:00:00 IEEE 802.11:
associated</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_del_key: addr=00:0e:2e:00:00:00
key_idx=0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>madwifi_del_key: addr=00:0e:2e:00:00:00
key_idx=0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>WPA: 00:0e:2e:00:00:00 WPA_PTK entering state
AUTHENTICATION2</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>IEEE 802.1X: 5 bytes from
00:0e:2e:00:00:00</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">
</SPAN>IEEE 802.1X: version=1 type=1 length=0</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">
</SPAN>ignoring 1 extra octets after IEEE 802.1X packet</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman" size=3>Wireless event: cmd=0x8c03
len=20</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
size=3><FONT
face="Times New Roman"> <o:p></o:p></FONT></FONT></SPAN></P></FONT></DIV></BODY></HTML>