title: hostapd configuration for WEP network
body: <p>I want to create fake access point in WEP mode using <code>hostapd</code>. I found some configuration samples like this:</p>
  
  <pre><code>interface=wlan0
  driver=nl80211
  ssid=myAp
  hw_mode=g
  channel=1
  macaddr_acl=0
  auth_algs=3
  ignore_broadcast_ssid=0
  wep_default_key=1
  wep_key1="abcde"
  wep_key_len_broadcast="5"
  wep_key_len_unicast="5"
  wep_rekey_period=300
  </code></pre>
  
  <p>It created the access point in WEP mode properly. But when I attempted to connect to this fake access point, it remains on authentication and can't connect to that. any helps?</p>