Wireless adapter ( network with WEP encryption)

Last time, I was working on an open wireless network. In case of WEP encryption, just add the following commands to above the lnxreq_autojoin line which you can find here

wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx

Replace the "xx:xx:..." with your WEP key. In case of 128 bit, it will be 13 hexaedcimal values.


reverting to opensystem after adding WEP encryption

I added the commands to join a WEP encrypted network @ office and it works perfectly so i created two configs one for WEP encryption and another for open system access, but after doing this i am now not able to login @ home which has a open authentication system even after reverting back to the earlier open configuration. I can see that it succesfully searches the n/w and lists the SSID of my n/w but it just can't get an ip address from the router. Interestingly it works when i changed my router config and added WEP encryption and changed to the WEP config which has the wlanctl-ng commands listed above.