Re: 128bit WEP keys and ifconfig

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Tue, 16 Nov 2004 16:52:47 -0800
On Tue, Nov 16, 2004 at 04:35:18PM -0800, Steve Kargl wrote:
> I'm trying to set up my wireless NIC (Netgear WG511) to
> connect to the internet through my wireless route (Netgear
> WGR614).  When I set up the router, I choose the 128-bit
> WEP key feature.  To my chagrin, Windows XP works well
> with the WG511, but I prefer FreeBSD.  I tried to give
> my WEP key to ifconfig, which does not work.
> 
> %ifconfig ndis0 inet 192.168.0.3 broadcast 192.168.0.1
> netmask 255.255.255.0 ssid YADA channel 11 wepmode on
> wepkey abcdefghijklmnopqrstuvwxyz
> 
> ndis0: set wepkey failed: 19
> ndis0: set wepkey failed: 19
> ifconfig: string too long
> ndis0: set wepkey failed: 19
> 
> Other than using a 64-bit key, is there some way to
> force FreeBSD to work?

128-bit WEP actually uses 104-bits of key material which corresponds to
13 ASCII characters or a 26-digit hex key.  Shorter, zero-padded keys
will work, but you appear to be using something longer.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Received on Tue Nov 16 2004 - 23:51:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:22 UTC