From owner-freebsd-mobile Wed Jul 25 11:39: 9 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from moek.pir.net (moek.pir.net [130.64.1.215]) by hub.freebsd.org (Postfix) with ESMTP id AB50C37B403 for ; Wed, 25 Jul 2001 11:39:04 -0700 (PDT) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 15PTYl-0000XM-00 for freebsd-mobile@FreeBSD.ORG; Wed, 25 Jul 2001 14:39:03 -0400 Date: Wed, 25 Jul 2001 14:39:03 -0400 From: Peter Radcliffe To: freebsd-mobile@FreeBSD.ORG Subject: Re: ancontrol/ifconfig and WEP index mixup ? Message-ID: <20010725143903.A1738@pir.net> Reply-To: freebsd-mobile@freebsd.org Mail-Followup-To: freebsd-mobile@FreeBSD.ORG References: <20010725002334.A9937@pir.net> <20010724230332.C29046@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010724230332.C29046@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Tue, Jul 24, 2001 at 11:03:32PM -0700 X-fish: < X-Copy-On-Listmail: Please do NOT Cc: me on list mail. Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Brooks Davis probably said: > It looks to me like your access point is transmitting with key 2 > rather then key 1. You mean key 1 rather than key 0, but no, it isn't. > At least, that's the most straightforward scenerio I can think of > that explains this odd behavior. I've only ever put one key into the access points and one key into the client card. With a Lucent card and one key (the same one I'm adding to the cisco card) it works fine, which would not happen if I was transmitting with a different key from the access point. It also doesn't explain why clearing key 0 with ancontrol actually clears key 1, setting key 0 actually sets key 1, how key 0 got into the ancontrol output that I cannot clear and why there is disagreement between the ancontrol and ifconfig output. ] pir@disapp# ancontrol -C [...] ] WEP Key status: ] Key 0 is set 128 bits ] Key 1 is set 128 bits ] Key 2 is unset ] Key 3 is unset ] The active transmit key is 0 ] pir@disapp# ifconfig an0 [...] ] wepmode ON weptxkey 1 ] wepkey 1:128-bit ] pir@disapp# ancontrol -v 0 -k "" ] pir@disapp# ancontrol -C [...] ] Key 0 is set 128 bits ] Key 1 is unset ] Key 2 is unset ] Key 3 is unset ] The active transmit key is 0 They don't agree. I also can't clear the key that ancontrol says is hey 0. P. -- pir pir@pir.net pir@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message