Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2004 16:52:47 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 128bit WEP keys and ifconfig
Message-ID:  <20041117005247.GB13628@odin.ac.hmc.edu>
In-Reply-To: <20041117003518.GA47238@troutmask.apl.washington.edu>
References:  <20041117003518.GA47238@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--XOIedfhf+7KOe/yw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> %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
>=20
> ndis0: set wepkey failed: 19
> ndis0: set wepkey failed: 19
> ifconfig: string too long
> ndis0: set wepkey failed: 19
>=20
> 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

--=20
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

--XOIedfhf+7KOe/yw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBmqCfXY6L6fI4GtQRApycAKCc/GieFBuld8rpJqGT0hrVi2JilwCdGFgx
fjNLL5ygHbpPOLGqXbDyYKw=
=chYF
-----END PGP SIGNATURE-----

--XOIedfhf+7KOe/yw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041117005247.GB13628>