Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2005 11:27:09 -0700 (MST)
From:      "Ryan Sommers" <ryans@gamersimpact.com>
To:        "Sam Leffler" <sam@errno.com>
Cc:        current@freebsd.org
Subject:   Re: WEP Encryption Changes
Message-ID:  <52857.208.4.77.203.1107541629.squirrel@208.4.77.203>
In-Reply-To: <4203AC57.5000708@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>

next in thread | previous in thread | raw e-mail | index | archive | help
Sam Leffler said:
> Ryan Sommers wrote:
>> Tai-hwa Liang said:
>> Setting weptxkey worked. Setting the default didn't or at least it
>> didn't
>> the number of times I tried setting it.
>
> I don't know what "the default" is.  If you do
>

Sorry, should have been more specific. By default I meant the deftxkey opt

wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        ether 00:02:2d:84:22:18
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
        status: no carrier
        ssid RightHere
        stationname "FreeBSD WaveLAN/IEEE node"
        authmode OPEN privacy OFF _deftxkey 1_ txpowmax 100
(root@lilshadow)~:

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.

> error prone.  Unfortunately I missed adding this to UPDATING and have
> yet to update the various manual pages because some of this code is
> still a bit fluid.  I will add it to my TODO list.
>
>>

It's not really a big deal, I just couldn't figure out why my wireless
stopped working after an update. If you'd like, give me a list of the
manpages that need updating and I'll see what I can get done this weekend,
I'll have some extra time between doing builds for a new mailserver.

I just found it somewhat counter-intuitive that doing:

ifconfig wi0 ssid RightHere wepkey 0x1234567890 wepmode on

didn't get wireless up and working like it did before. Having to add a
'weptxkey 1' seems redundant if I only enter a single key. But that's just
my opinion.

> Try nwkey.

I'll have a look at it, thanks!


-- 
Ryan Sommers
ryans@gamersimpact.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52857.208.4.77.203.1107541629.squirrel>