WEP Encryption Changes
Alexandre "Sunny" Kovalenko
Alex.Kovalenko at verizon.net
Fri Feb 4 17:55:42 PST 2005
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 (Олександр Коваленко)
More information about the freebsd-current
mailing list