Questions to configure dynamic wep in hostap.conf

이영신 youngsinlee
Mon Sep 17 05:54:45 PDT 2007


Hi all,

Is there anybody to know how to configure dynamic wep on hostapd ? I changed /etc/hostapd.conf as the following ?

~ # cat /etc/hostapd.conf
##### hostapd configuration file ##############################################
...
ieee8021x=1
#wep_key_len_broadcast=5
#wep_key_len_unicast=5
# Rekeying period in seconds. 0 = do not rekey (i.e., set keys only once)
#wep_rekey_period=300
own_ip_addr=150.150.131.83
auth_server_addr=150.150.131.85
auth_server_port=1812
auth_server_shared_secret=1234567890
acct_server_addr=150.150.131.85
acct_server_port=1813
acct_server_shared_secret=1234567890
wpa_key_mgmt=WPA-EAP
wpa=1
...


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.

...
wep_key_len_broadcast=5
wep_key_len_unicast=5
...
wpa=0

However, in this case, segmentation fault of hostapd happens as the following.

...
wlan0: RADIUS Sending RADIUS message to accounting server
RADIUS message: code=4 (Accounting-Request) identifier=0 length=80
   Attribute 40 (Acct-Status-Type) length=6
      Value: 8
   Attribute 45 (Acct-Authentic) length=6
      Value: 1
   Attribute 4 (NAS-IP-Address) length=6
      Value: 150.150.131.83
   Attribute 30 (Called-Station-Id) length=36
      Value: '00-40-5A-19-25-BF:myLGNet_bbelief2'
   Attribute 49 (Acct-Terminate-Cause) length=6
      Value: 11
wlan0: RADIUS Next RADIUS client retransmit in 3 seconds

ioctl[SIOCSIWGENIE]: Bad file descriptor
len=0
Could not remove generic information element from interface wlan1

[1] + Segmentation fault         /usr/sbin/hostapd /etc/hostapd.conf /etc/hostap
d-1.conf



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



More information about the Hostap mailing list