From owner-freebsd-current@FreeBSD.ORG Mon Dec 13 17:50:20 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 2420116A4CF for ; Mon, 13 Dec 2004 17:50:20 +0000 (GMT) Received: from www.webcom.it (gen053.n002.c03.escapebox.net [213.73.82.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D36343D2D for ; Mon, 13 Dec 2004 17:50:19 +0000 (GMT) (envelope-from "") Received: from [213.92.1.190] (helo=brian) by webcom.it with asmtp (Exim 3.36 #1) id 1CduKw-000OLa-00; Mon, 13 Dec 2004 17:50:18 +0000 Date: Mon, 13 Dec 2004 18:50:15 +0100 From: Andrea Campi To: Sam Leffler Message-ID: <20041213175015.GA713@webcom.it> References: <200412081109.43840.sam@errno.com> <20041209.100008.21874313.rushani@bl.mmtr.or.jp> <200412081744.27539.sam@errno.com> <20041209.225041.63112571.rushani@bl.mmtr.or.jp> <41B9454F.9080903@errno.com> <41BA4B22.5070403@telia.com> <41BB8550.30208@errno.com> <41BBA53B.9070006@telia.com> <41BBCE36.9000201@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41BBCE36.9000201@errno.com> User-Agent: Mutt/1.5.6i Received: from andrea by webcom.it with asmtp (Exim 3.36 #1) id 1CduKw-000OLa-00; Mon, 13 Dec 2004 17:50:18 +0000 cc: freebsd-current@freebsd.org Subject: Re: WEP does not work? 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: Mon, 13 Dec 2004 17:50:20 -0000 On Sat, Dec 11, 2004 at 08:51:02PM -0800, Sam Leffler wrote: > The 802.11 state machine is being clocked when you do this and clearing > the global key state when it goes through the INIT state (80211debug > +state will show you). I added this just recently to insure key state > was cleared when a device was marked down but on reflection it was a bad > idea. The following change will revert this: I'm seeing something which might be related (or not). My wi card can't connect using wep; it's working great when going in the clear. I used 80211debug +(a few params) and this is what I got: $ sudo ifconfig wi0 $IP ssid $SSID wepmode on weptxkey 1 wepkey 1:$KEY ieee80211_newstate: RUN -> INIT [00:30:65:0c:13:d4] send disassoc on channel 11 ieee80211_newstate: INIT -> INIT ieee80211_newstate: INIT -> INIT ieee80211_newstate: INIT -> RUN ieee80211_newstate: invalid transition Is this enough to work with or do you need anything more? Oh, I have ieee80211_proto.c rev 1.11. Bye, Andrea -- The best things in life are free, but the expensive ones are still worth a look.