Date: Wed, 25 Sep 2002 00:39:06 +0200 From: Roel Bouwman <roel@bouwman.net> To: freebsd-mobile@freebsd.org Subject: Intersil WEP problems Message-ID: <20020925003905.B39640@equinox.bouwman.net>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi everyone,
I'm having some issues with WEP on an Intersil Prism2 wireless card.
I have searched the PR database as well as the mailing list digests, but
couldn't find any reference to the same issues. However, I am not
completely sure whether this actually is a problem or I'm just doing
things wrong :-).
The issue is that WEP on this card does not work at all. Everything
works fine without any form of WEP or authentication on the base
station.
As soon as WEP is turned on, either 64 or 128 bit, I can no longer
get a working connection from my BSD box to the AP. The same card
works fine in both modes using M$ on the same box. The weird thing
is that I am able to associate with the base station when I set
"wepmode" on the wireless interface to "off".
In my test setup, the access point is configured with shared-key
authentication and 64-bit WEP. I chose to test with 64-bit since there
are some known issues with 128 bit WEP (See PR 32124 among others).
The card is identified as:
Sep 25 02:26:44 flaptop pccardd[51]: Card "INTERSIL"("HFA384x/IEEE") [Version 01.02] [] matched "INTERSIL" ("HFA384x/IEEE") [(null)] [(null)]
Sep 25 02:26:49 flaptop /kernel: wi0 at port 0x240-0x27f irq 11 slot 1 on pccard1
Sep 25 02:26:49 flaptop /kernel: wi0: 802.11 address: 00:02:72:00:2b:cf
Sep 25 02:26:49 flaptop /kernel: wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163-SST-flash
Sep 25 02:26:49 flaptop /kernel: wi0: Intersil Firmware: Primary 0.03.00, Station 0.08.03
Sep 25 02:26:49 flaptop pccardd[51]: wi0: INTERSIL (HFA384x/IEEE) inserted.
The interface is configured using:
$ ifconfig wi0 ssid BOUWMAN authmode shared wepmode on weptxkey 1 wepkey 1:wepkey 1:0x1122334455 up
This will give the interface the following status:
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::202:72ff:fe00:2bcf%wi0 prefixlen 64 scopeid 0x7
ether 00:02:72:00:2b:cf
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: no carrier
ssid BOUWMAN 1:BOUWMAN
stationname "FreeBSD WaveLAN/IEEE node"
channel 1 authmode SHARED powersavemode OFF powersavesleep 100
wepmode MIXED weptxkey 1
wepkey 1:64-bit
The weird part is, that after I turn WEP encryption off (ifconfig wi0
wepmode off), an association is made with the AP:
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::202:72ff:fe00:2bcf%wi0 prefixlen 64 scopeid 0x7
ether 00:02:72:00:2b:cf
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: associated
ssid BOUWMAN 1:BOUWMAN
stationname "FreeBSD WaveLAN/IEEE node"
channel 1 authmode SHARED powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1
wepkey 1:64-bit
Even though the card is associated to the AP, this is not a working
situation. A tcpdump on the interface shows undecrypted packets coming
in on the interface.
In the last situation, shared-key authentication is working and using
the WEP key. This assumption is supported by the fact that changing the
wepkey to some other value will remove the association and change the
status back to no carrier.
Anyone seen this before? Am I doing something wrong, or is this is a
problem with the driver?
Regards,
Roel.
--
Roel Bouwman URL: http://roel.bouwman.net/
roel@bouwman.net PGP: 0xD08ADD97, available on keyservers.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: Umt9uoRghwrw+XChKthJIbovBclISjIS
iQEVAwUBPZDpiUfmwpnQit2XAQF4GAf/WzO9glmy8YgT2olxcSxD0lLY9MFWeWvZ
eE8euspoqusQyMclPkCFQNBI6R4XT9Gq/gFQkhXyB8ZOYZzb4O5LTaBAyLbMhQCs
WFKOa8mN/X0FezPgGsFc8gDmmezB3Cswju7IDRATg5+SRCqPGvSaoVz2j/o+pUYp
Rrp1fNNE5hpzHUSxgb5WdttYJD8DrFijX/VrYZJMv4lL3wDBrdW2y7w6pDiMuAja
QKUPL2H4hsOVLcjA8q5Rimkdc7A/ypOVBpkqREDiTJEcsESUq/QCIVpYBshY7Lbk
GGqTIWMyLaajFNyGGuZoBUSjSkXaytFkbrMmswWprCfKXYRUoYYylw==
=DRx/
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020925003905.B39640>
