Re: WEP Encryption Changes

From: Sam Leffler <sam_at_errno.com>
Date: Fri, 04 Feb 2005 16:43:50 -0800
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
Received on Fri Feb 04 2005 - 23:43:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC