Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 23:51:10 -0800 (PST)
From:      Nick Sayer <nsayer@quack.kfu.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/32124: Cannot set 128 bit wep key on prism2 (wi0) cards
Message-ID:  <200111200751.fAK7pAs34488@morpheus.kfu.com>

next in thread | raw e-mail | index | archive | help

>Number:         32124
>Category:       kern
>Synopsis:       Cannot set 128 bit wep key on prism2 (wi0) cards
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 20 00:00:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Nick Sayer
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
just me
>Environment:
System: FreeBSD morpheus.kfu.com 4.4-RELEASE FreeBSD 4.4-RELEASE #30: Tue Nov 13 22:01:08 PST 2001 root@:/usr/obj/usr/src/sys/MORPHEUS i386


Vaio notebook, Netgear MA401, Linksys WAP-11 access point

>Description:

Attempting to set a 128 bit WEP key does not result in the correct key being
set. The exact same sequence of operations with a (Dell OEM) Lucent gold card
works correctly. The equivalent sequence of operations under Windows 2000
with the Netgear card works correctly. I can only conclude that the code to
set a 128 bit WEP key on Prism2 cards under FreeBSD is incorrect.

wicontrol reports the correct value for the key, so the ioctls to read and
write the keys at least are reading and writing the same bit of data.

Traffic snooped off the Ethernet segment connected to the access point show
corrupted frames that seem to match up in length and time to transmissions
from the machine under test. That tells me the key is not being set properly.

>How-To-Repeat:

ifconfig wi0 wepmode on weptxkey 1 wepkey 1:0x00112233445566778899aabbcc

on a prism2 card (with your access point similarly configured, of course).

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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