Questions to configure dynamic wep in hostap.conf

이영신 youngsinlee
Tue Sep 18 19:24:21 PDT 2007


Thanks your reply.

Which version do you use ? The config.h I am using does not define 'IEEE8021X' It only defines wpa-eap and wpa-psk as the following

#define WPA_KEY_MGMT_IEEE8021X BIT(0)
#define WPA_KEY_MGMT_PSK BIT(1)

Of course, supplicant's config.h defines the type you proposed.

Thanks.
  ----- Original Message ----- 
  From: ambedkar ranganathan 
  To: ???(Lee Young Sin) 
  Cc: hostap 
  Sent: Tuesday, September 18, 2007 11:06 PM
  Subject: Re: Questions to configure dynamic wep in hostap.conf


   
  Hi,

  It looks your hostap.conf is wrong.Since you use Dynamic WEP key,key management shouldn't be WPA-EAP.

  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
  key_mgmt=IEEE8021X

  Please try the above and let me know the RESULT.

  Thanks
  Ambedkar.R


  On Mon, 17 Sep 2007 ?????? wrote :
  >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
  >
  >
  >
  >_______________________________________________
  >HostAP mailing list
  >HostAP at shmoo.com
  >http://lists.shmoo.com/mailman/listinfo/hostap




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



More information about the Hostap mailing list