Hostapd 0.6.9 for wps support with static wep

Tom Tang tom_z79 at yahoo.com
Sun May 10 21:53:21 EDT 2009


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


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20090510/6591bdb1/attachment.htm 


More information about the HostAP mailing list