From owner-freebsd-current@FreeBSD.ORG Tue Nov 27 23:52:26 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 B79B516A41B for ; Tue, 27 Nov 2007 23:52:26 +0000 (UTC) (envelope-from tom@uffner.com) Received: from eris.uffner.com (eris.uffner.com [207.245.121.212]) by mx1.freebsd.org (Postfix) with ESMTP id 7F22913C45B for ; Tue, 27 Nov 2007 23:52:26 +0000 (UTC) (envelope-from tom@uffner.com) Received: from kali.uffner.com (static-71-162-143-90.phlapa.fios.verizon.net [71.162.143.90]) by eris.uffner.com (8.14.1/8.14.1) with ESMTP id lARNfejr030360 for ; Tue, 27 Nov 2007 18:41:40 -0500 (EST) (envelope-from tom@uffner.com) Message-ID: <474CAB2D.4040406@uffner.com> Date: Tue, 27 Nov 2007 18:41:33 -0500 From: Tom Uffner User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.5) Gecko/20070804 SeaMonkey/1.1.3 MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (eris.uffner.com [192.168.1.212]); Tue, 27 Nov 2007 18:41:40 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/4921/Mon Nov 26 05:21:29 2007 on eris.uffner.com X-Virus-Status: Clean Cc: Subject: 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: Tue, 27 Nov 2007 23:52:26 -0000 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. thanks, tom