128bit WEP keys and ifconfig

Brooks Davis brooks at one-eyed-alien.net
Tue Nov 16 16:51:46 PST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041116/a74f6c2b/attachment.bin


More information about the freebsd-current mailing list