<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ks_c_5601-1987">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi all,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Is there anybody to </FONT><FONT size=2><FONT size=2>know
how to configure dynamic wep on hostapd ? I changed /etc/hostapd.conf as the
following ?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>~ # cat /etc/hostapd.conf<BR>##### hostapd configuration file
##############################################<BR>...</FONT></DIV>
<DIV><FONT
size=2>ieee8021x=1<BR>#wep_key_len_broadcast=5<BR>#wep_key_len_unicast=5<BR>#
Rekeying period in seconds. 0 = do not rekey (i.e., set keys only
once)<BR>#wep_rekey_period=300<BR>own_ip_addr=150.150.131.83<BR>auth_server_addr=150.150.131.85<BR>auth_server_port=1812<BR>auth_server_shared_secret=1234567890<BR>acct_server_addr=150.150.131.85<BR>acct_server_port=1813<BR>acct_server_shared_secret=1234567890</FONT></DIV>
<DIV><FONT size=2>wpa_key_mgmt=WPA-EAP</FONT></DIV>
<DIV><FONT size=2>wpa=1</FONT></DIV>
<DIV><FONT size=2>...</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>With the above configuration, supplicant does not try to
associate with ap because of key_mgmt mismatch. So I disabled 'wpa' and enabled
'wep_key_len_xxx' as the following with the others are same.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>...</FONT></DIV>
<DIV><FONT
size=2>wep_key_len_broadcast=5<BR>wep_key_len_unicast=5</FONT><BR><FONT
size=2>...</FONT></DIV>
<DIV><FONT size=2>wpa=0</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>However, in this case, segmentation fault of hostapd happens
as the following.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>...<BR>wlan0: RADIUS Sending RADIUS message to accounting
server<BR>RADIUS message: code=4 (Accounting-Request) identifier=0
length=80<BR> Attribute 40 (Acct-Status-Type)
length=6<BR> Value: 8<BR> Attribute 45
(Acct-Authentic) length=6<BR> Value:
1<BR> Attribute 4 (NAS-IP-Address)
length=6<BR> Value: 150.150.131.83<BR>
Attribute 30 (Called-Station-Id) length=36<BR>
Value: '00-40-5A-19-25-BF:myLGNet_bbelief2'<BR> Attribute 49
(Acct-Terminate-Cause) length=6<BR> Value:
11<BR>wlan0: RADIUS Next RADIUS client retransmit in 3 seconds</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>ioctl[SIOCSIWGENIE]: Bad file descriptor<BR>len=0<BR>Could not
remove generic information element from interface wlan1</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>[1] + Segmentation
fault /usr/sbin/hostapd
/etc/hostapd.conf /etc/hostap<BR>d-1.conf<BR></FONT></DIV>
<DIV></FONT><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV></BODY></HTML>