From owner-freebsd-current@FreeBSD.ORG Sat Feb 5 00:43:15 2005 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 7182016A4CE for ; Sat, 5 Feb 2005 00:43:15 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F51643D3F for ; Sat, 5 Feb 2005 00:43:15 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] (sam@[66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j150hDWi076799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Feb 2005 16:43:14 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <420416C6.1030803@errno.com> Date: Fri, 04 Feb 2005 16:43:50 -0800 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" References: <63285.65.27.85.163.1107049410.squirrel@65.27.85.163> <41FC561C.3080505@errno.com> <41FEF40A.70006@gamersimpact.com> <1107387525.979.7.camel@RabbitsDen> <0502042321154.16397@www.mmlab.cse.yzu.edu.tw> <64317.208.4.77.203.1107533389.squirrel@208.4.77.203> <4203AC57.5000708@errno.com> <52857.208.4.77.203.1107541629.squirrel@208.4.77.203> <1107562827.1170.7.camel@RabbitsDen> In-Reply-To: <1107562827.1170.7.camel@RabbitsDen> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Ryan Sommers cc: current@freebsd.org Subject: Re: WEP Encryption Changes 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: Sat, 05 Feb 2005 00:43:15 -0000 Alexandre "Sunny" Kovalenko wrote: > On Fri, 2005-02-04 at 11:27 -0700, Ryan Sommers wrote: > > >>What is odd is the ifconfig options using 'deftxkey' looks the same as >>using 'weptxkey'. However, from my attempts to use deftxkey it doesn't >>have the same underlying effect on the encrption. I tried a few times to >>use this option to set my Tx key but it never seemed to work. Then when I >>tried using weptxkey it worked the first time. Now, that isn't to say they >>don't have the same outcome. My wireless card seems to have a few quirks >>that pop up every now and then, especially if you do a lot of settings >>changing, and deftxkey not working might have been one of those times. > > > FWIW -- at the time I have encountered this (mid-to-late December?), I > have played with Prism 2 cards (wi), 2 different Broadcom cards (ndis) > and one Atheros 5212 (ath). For all four of them adding 'weptxkey 1' to > ifconfig got me connected and adding 'deftxkey 1' did not. > > I do not have most of these cards any more, but with my Prism 2 card(wi) > and yesterday's -current I get connected whether I use weptxkey or > deftxkey. > From sbin/ifconfig/ifieee80211.c: DEF_CMD_ARG("deftxkey", set80211weptxkey), DEF_CMD_ARG("weptxkey", set80211weptxkey), i.e. deftxkey and weptxkey execute identical code. Sam