From owner-freebsd-current@FreeBSD.ORG Wed Nov 17 00:51:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0787616A4CE for ; Wed, 17 Nov 2004 00:51:46 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id C798843D39 for ; Wed, 17 Nov 2004 00:51:45 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id iAH0qlPl016442; Tue, 16 Nov 2004 16:52:47 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id iAH0qlpu016441; Tue, 16 Nov 2004 16:52:47 -0800 Date: Tue, 16 Nov 2004 16:52:47 -0800 From: Brooks Davis To: Steve Kargl Message-ID: <20041117005247.GB13628@odin.ac.hmc.edu> References: <20041117003518.GA47238@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XOIedfhf+7KOe/yw" Content-Disposition: inline In-Reply-To: <20041117003518.GA47238@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-current@freebsd.org Subject: Re: 128bit WEP keys and ifconfig X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 00:51:46 -0000 --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--