From owner-freebsd-mobile Tue Sep 24 15:39:18 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD47237B401 for ; Tue, 24 Sep 2002 15:39:15 -0700 (PDT) Received: from equinox.bouwman.net (dsl.bouwman.net [195.241.93.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EA7943E6E for ; Tue, 24 Sep 2002 15:39:14 -0700 (PDT) (envelope-from roel@roel.worldonline.nl) Received: (from roel@localhost) by equinox.bouwman.net (8.11.1/8.11.1) id g8OMd6P40248 for freebsd-mobile@freebsd.org; Wed, 25 Sep 2002 00:39:06 +0200 (CEST) (envelope-from roel@roel.worldonline.nl) Date: Wed, 25 Sep 2002 00:39:06 +0200 From: Roel Bouwman To: freebsd-mobile@freebsd.org Subject: Intersil WEP problems Message-ID: <20020925003905.B39640@equinox.bouwman.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.=20 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") [Versi= on 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 p= ccard1 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:HWB3= 163-SST-flash Sep 25 02:26:49 flaptop /kernel: wi0: Intersil Firmware: Primary 0.03.00, S= tation 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=3D8843 mtu 1500 inet6 fe80::202:72ff:fe00:2bcf%wi0 prefixlen 64 scopeid 0x7=20 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=3D8843 mtu 1500 inet6 fe80::202:72ff:fe00:2bcf%wi0 prefixlen 64 scopeid 0x7=20 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. --=20 Roel Bouwman URL: http://roel.bouwman.net/ roel@bouwman.net PGP: 0xD08ADD97, available on keyservers. --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----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----- --UugvWAfsgieZRqgk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message