[lwlan-user] HEX Key, Linksys

Phillip Beal linux-wlan-user@lists.linux-wlan.com
Fri, 26 Oct 2001 10:05:25 -0400


On Thu, Oct 25, 2001 at 10:34:26PM -0400, Michael Carter wrote:
> I have been combing various archives trying to figure out how in the heck I can get WEP enabled on my network, using a Linksys WAP, coming from a Linksys WPC11.  Can't seem to negotiate the correct encryption key using iwconfig.
> 
> The man page is a tad vague on the details of setting up the keys, and the Linksys docs are terrible... Any help would do me world of good.

To setup the WEP keys using wlan-linux-ng toolset you do the following:

wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPdefaultKey0=WEPKEYINHEX
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPdefaultKey1=WEPKEYINHEX
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPdefaultKey2=WEPKEYINHEX
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPdefaultKey3=WEPKEYINHEX
wlanctl-ng wlan0 lnxreq_autojoin ssid=SSIDOFWAP11 authtype=sharedkey

Then set an IP and everything should be cool.  the only thing you need
to know is the WEP key HEX string.  The passphrase WEP key generators
for Linux work, but they don't return the same values that a Windows
passphrase WEP generator does.

-- 
Phil Beal