[lwlan-user] HEX Key, Linksys

Patrick Berge linux-wlan-user@lists.linux-wlan.com
Fri, 26 Oct 2001 13:28:18 -0400


Here is how I got WEP working...  I modified my /etc/pcmcia/wlan-ng.opts 
which are the inputs to the wlanctl-ng if your pcmcia scripts are working.

         dot11PrivacyInvoked=true      # true|false
         dot11WEPDefaultKeyID=X        # 0|1|2|3
         dot11ExcludeUnencrypted=true    # true|false, in AP this means WEP

         dot11WEPDefaultKey0=xx:xx:xx:xx:xx
         dot11WEPDefaultKey0=xx:xx:xx:xx:xx
         dot11WEPDefaultKey0=xx:xx:xx:xx:xx
         dot11WEPDefaultKey0=xx:xx:xx:xx:xx 
         
         AuthType="sharedkey"

Note that all the X's and x's are values you can choose.

And in the router I enabled 64-bit WEP and have the same hex digits and 
default key as the keys in the wlan-ng.opts.

Pat

On Friday 26 October 2001 10:05 am, you wrote:
> 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