From owner-freebsd-current@FreeBSD.ORG Sat Feb 5 01:55:42 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 3C1E116A4CE for ; Sat, 5 Feb 2005 01:55:42 +0000 (GMT) Received: from out004.verizon.net (out004pub.verizon.net [206.46.170.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CD9543D39 for ; Sat, 5 Feb 2005 01:55:41 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.161.195]) by out004.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050205015540.JVLJ15146.out004.verizon.net@RabbitsDen>; Fri, 4 Feb 2005 19:55:40 -0600 From: "Alexandre \"Sunny\" Kovalenko" To: Sam Leffler In-Reply-To: <420416C6.1030803@errno.com> 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> <420416C6.1030803@errno.com> Content-Type: text/plain; charset=iso-8859-5 Date: Fri, 04 Feb 2005 20:54:22 -0500 Message-Id: <1107568462.963.4.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [70.21.161.195] at Fri, 4 Feb 2005 19:55:40 -0600 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 01:55:42 -0000 On Fri, 2005-02-04 at 16:43 -0800, Sam Leffler wrote: > 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 > Thank you very much for clarification. Was not the case back in December though: Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 31 19:39:25 2004 UTC (5 weeks ago) by sam Branch: MAIN Changes since 1.13: +11 -1 lines Diff to previous 1.13 (colored) o accept deftxkey as a synonym for weptxkey since that is what is printed for status (allows cut&paste) o accept undef for the deftxkey/weptxkey so you can reset state Requested by:phk -- Alexandre "Sunny" Kovalenko (Олександр Коваленко)