From owner-freebsd-current@FreeBSD.ORG Wed Nov 28 00:00:37 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F46316A420 for ; Wed, 28 Nov 2007 00:00:37 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 4688713C45A for ; Wed, 28 Nov 2007 00:00:37 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id lAS00aZN018992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Nov 2007 16:00:36 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <474CAFA4.6040403@errno.com> Date: Tue, 27 Nov 2007 16:00:36 -0800 From: Sam Leffler User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Tom Uffner References: <474CAB2D.4040406@uffner.com> In-Reply-To: <474CAB2D.4040406@uffner.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Rhyolite-Metrics: o.com; whitelist Cc: current@freebsd.org Subject: Re: 802.11 w/ WEP requires deftxkey explicitly set after 2007-08-24 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 28 Nov 2007 00:00:37 -0000 Tom Uffner wrote: > Last night when i updated my laptop from June 26's CURRENT to CURRENT > as of a few days ago my wireless connection stopped working for no > apparent reason. > > What was wrong became painfully obvious once I tracked the problem > back to this commit: > > sam 2007-08-24 15:44:27 UTC > > FreeBSD src repository > > Modified files: > sys/net80211 ieee80211_output.c > Log: > drop frames marked for encryption when no key is available > > Reviewed by: avatar > Approved by: re (kensmith) > Obtained from: madwifi > > Revision Changes Path > 1.51 +1 -0 src/sys/net80211/ieee80211_output.c > > Up until this change i didn't need to set deftxkey, it seems to have > defaulted to wepkey 1 which i did have set. It is an obvious workaround > now, but a note in UPDATING would have saved me about 9 hours of reading > commitlogs, building kernels and rebooting (on an old slow laptop). > > If it doesn't violate the standard, could we make deftxkey default to > the lowest indexed WEP key that has been set? if not, could we mention > it in UPDATING and/or ifconfig(8) lest it bite someone else. deftxkey has defaulted to an undefined state since 6.0. Perhaps you can show the specific case that is a regression for you. Sam