<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi, All</DIV>
<DIV>&nbsp;</DIV>
<DIV>Although some people discussed this issue before, I still can't make it work.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The symptom is:</DIV>
<DIV>1. if I use "ieee8021x=1" in hostapd.conf, my sta (D-Link usb adapter) can get encrypt</DIV>
<DIV>type (wep)&nbsp;and wep key correctly via wps, but after that, the sta can't get the dhcp IP&nbsp;</DIV>
<DIV>address, actually it looks sta fails to re-associate using newly negotiated wep key.</DIV>
<DIV>(this one should not be caused by the wepkey index change problem which is recently </DIV>
<DIV>reported by someone else because my pc also can't associate to the AP (hostapd) with </DIV>
<DIV>correct static wep key and index number&nbsp;under this situation.)</DIV>
<DIV>&nbsp;</DIV>
<DIV>2. if using "<SPAN>ieee</SPAN>8021x=0" in hostapd.conf, sta fails to&nbsp;start wps negotiation.</DIV>
<DIV>My config file is attached.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Maybe my configuration file is not correct? Does someone help to give me</DIV>
<DIV>some hints? </DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you so much.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Tom</DIV>
<DIV>&nbsp;</DIV>
<DIV>------ hostapd.conf ------</DIV>
<DIV># hostapd.conf<BR>interface=ath0<BR>bridge=lan<BR>driver=madwifi<BR>debug=0<BR>logger_syslog=0<BR>logger_syslog_level=2<BR>logger_stdout=0<BR>logger_stdout_level=2<BR>hw_mode=g</DIV>
<DIV>...<BR>ssid=my_ssid<BR>dynamic_vlan=untagged<BR>max_num_sta=256<BR>auth_algs=3<BR>wep_key0="1234567890123"<BR>wep_default_key=0<BR>ieee8021x=1<BR>wep_key_len_broadcast=13<BR>wpa=0<BR>ctrl_interface=/var/run/hostapd<BR>#wpa_psk_file=/etc/hostapd.wpa_psk<BR>eap_server=1<BR>wps_state=2<BR>ap_setup_locked=1<BR>uuid=87654321-9abc-def0-1234-56789abc0000<BR>device_name=My_AP<BR>manufacturer=My_Linux<BR>model_name=WAP<BR>model_number=123<BR>serial_number=12345<BR>device_type=6-0050F204-1<BR>os_version=01020300<BR>config_methods=label display push_button keypad<BR>eap_user_file=/etc/hostapd.eap_user<BR>---- end of hostapd.conf -----</DIV>
<DIV>&nbsp;</DIV></td></tr></table><br>