Re: WEP Encryption Changes

From: Ryan Sommers <ryans_at_gamersimpact.com>
Date: Fri, 4 Feb 2005 11:27:09 -0700 (MST)
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_at_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_at_gamersimpact.com
Received on Fri Feb 04 2005 - 17:29:57 UTC

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