From owner-freebsd-mobile Wed Feb 27 9:55: 7 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from ddba033.netstream.ch (ddba033.netstream.ch [62.65.128.33]) by hub.freebsd.org (Postfix) with ESMTP id 75B9537B405 for ; Wed, 27 Feb 2002 09:54:59 -0800 (PST) Received: from there ([62.65.148.234]) by ddba033.netstream.ch (8.11.1/8.11.4) with SMTP id g1RHst909940; Wed, 27 Feb 2002 18:54:56 +0100 (CET) Message-Id: <200202271754.g1RHst909940@ddba033.netstream.ch> Content-Type: text/plain; charset="iso-8859-1" From: Oliver Enzmann Organization: not much To: freebsd-mobile@FreeBSD.ORG Subject: Linksys WPC11 card - no WEP with 4.5-RELEASE Date: Wed, 27 Feb 2002 18:56:48 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hello, I apologize if you've received this message more than once. I've posted a similar message to comp.unix.bsd.freebsd.misc last week but none of the proposed solutions lead to any success. I've posted last week that "wicontrol on 4.5-RELEASE can't set the TX encryption key on a Linksys Instant Wireless Network PC card (version 2.5, WPC11 with 128bit WEP)". However, setting the encryption key magically works now. I still can't communicate with other devices on the Wireless LAN unless I turn off WEP. I only tried BSS mode with 104bit WEP; I didn't try 40bit WEP and didn't try ad-hoc mode at all. BSS mode works fine without any WEP. a) The same card works well on the same system using Win2000 b) An Orinoco WaveLan card works well using the same setup on the same system under 4.5-RELEASE c) The Access Point if a Lucent Orinoco RG1100 I've applied the changes that FUJITA Kazutoshi posted to the mailing list but no avail. I've cvsup'ed to -stable but no change. Does anyone have a working if_wi.c (or patch) for 4.5-RELEASE that I could try with my Linksys WPC11? Here's the output from 'wicontrol -i wi0' (keys changed to protect the innocent): NIC serial number: [ 99SA01000000 ] Station name: [ VAIO ] SSID for IBSS creation: [ FreeBSD IBSS ] Current netname (SSID): [ 123456 ] Desired netname (SSID): [ ] Current BSSID: [ 00:02:2d:39:48:e5 ] Channel list: [ 2047 ] IBSS channel: [ 3 ] Current channel: [ 1 ] Comms quality/signal/noise: [ 56 105 7 ] Promiscuous mode: [ Off ] Port type (1=BSS, 3=ad-hoc): [ 1 ] MAC address: [ 00:06:25:02:1d:a6 ] TX rate (selection): [ 3 ] TX rate (actual speed): [ 2 ] RTS/CTS handshake threshold: [ 2347 ] Create IBSS: [ Off ] Access point density: [ 1 ] Power Mgmt (1=on, 0=off): [ 0 ] Max sleep time: [ 100 ] WEP encryption: [ On ] TX encryption key: [ 1 ] Encryption keys: [ 0123456789abc ][ 0123456789abc ] [ 0123456789abc ][ 0123456789abc ] This is the /etc/pccard.conf used to load the Linksys card: # LinkSys Instant Wireless card "The Linksys Group, Inc." "Instant Wireless Network PC Card" config auto "wi" ? 0x10000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop and the /etc/start_if.wi0: /usr/sbin/wicontrol -i ${interface} -s `uname -n | sed 's/\..*//' | tr a-z A-Z` /usr/sbin/wicontrol -i ${interface} -n "" /usr/sbin/wicontrol -i ${interface} -p 1 /usr/sbin/wicontrol -i ${interface} -f 3 /usr/sbin/wicontrol -i ${interface} -t 3 /usr/sbin/wicontrol -i ${interface} -k 0123456789abc -v 1 /usr/sbin/wicontrol -i ${interface} -k 0123456789abc -v 2 /usr/sbin/wicontrol -i ${interface} -k 0123456789abc -v 3 /usr/sbin/wicontrol -i ${interface} -k 0123456789abc -v 4 /usr/sbin/wicontrol -i ${interface} -T 1 /usr/sbin/wicontrol -i ${interface} -e 1 and the output from pccardc dumpcis: Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: 00 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = 512b, 1 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 4 000: 67 5a 08 ff Attribute memory device information: Device number 1, type SRAM, WPS = OFF Speed = 5.0 x 100 ns, Memory block size = 512b, 2 units Tuple #3, code = 0x1d (Other conditions for attribute memory), length = 5 000: 03 67 5a 08 ff (MWAIT) (3V card) Tuple #4, code = 0x15 (Version 1 info), length = 75 000: 01 00 54 68 65 20 4c 69 6e 6b 73 79 73 20 47 72 010: 6f 75 70 2c 20 49 6e 63 2e 00 49 6e 73 74 61 6e 020: 74 20 57 69 72 65 6c 65 73 73 20 4e 65 74 77 6f 030: 72 6b 20 50 43 20 43 61 72 64 00 49 53 4c 33 37 040: 33 30 30 50 00 52 65 76 41 00 ff Version = 1.0, Manuf = [The Linksys Group, Inc.], card vers = [Instant Wireless Network PC Card] Addit. info = [ISL37300P],[RevA] Tuple #5, code = 0x20 (Manufacturer ID), length = 4 000: 74 02 12 16 PCMCIA ID = 0x274, OEM ID = 0x1612 Tuple #6, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #7, code = 0x22 (Functional EXT), length = 2 000: 01 07 Network technology: Wireless Tuple #8, code = 0x22 (Functional EXT), length = 5 000: 02 40 42 0f 00 Network speed: 1 Mb/sec Tuple #9, code = 0x22 (Functional EXT), length = 5 000: 02 80 84 1e 00 Network speed: 2 Mb/sec Tuple #10, code = 0x22 (Functional EXT), length = 5 000: 02 60 ec 53 00 Network speed: 5 Mb/sec Tuple #11, code = 0x22 (Functional EXT), length = 5 000: 02 c0 d8 a7 00 Network speed: 11 Mb/sec Tuple #12, code = 0x22 (Functional EXT), length = 2 000: 03 07 Network media: 2.4 GHz Tuple #13, code = 0x22 (Functional EXT), length = 8 000: 04 06 00 02 dd 31 8c a7 Network node ID: 00 02 dd 31 8c a7 Tuple #14, code = 0x22 (Functional EXT), length = 2 000: 05 01 Network connector: closed connector standard Tuple #15, code = 0x1a (Configuration map), length = 7 000: 03 01 e0 03 00 00 01 Reg len = 4, config register addr = 0x3e0, last config = 0x1 Registers: X------- Tuple #16, code = 0x1b (Configuration entry), length = 14 000: c1 01 19 76 35 d5 19 36 36 05 46 ff ff ff Config index = 0x1(default) Interface byte = 0x1 (I/O) Vcc pwr: Minimum operating supply voltage: 3 x 1V Maximum operating supply voltage: 5 x 1V, ext = 0x19 Max current average over 1 second: 3 x 100mA Max current average over 10 ms: 3 x 100mA Power down supply current: 1 x 10mA Card decodes 6 address lines, limited 8/16 Bit I/O IRQ modes: Level, Pulse, Shared IRQs: NMI IOCK BERR VEND 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Tuple #17, code = 0xff (Terminator), length = 0 1 slots found TIA, Oliver -- Oliver Enzmann - Datagram ninja and protector of the holy session DSS Key: 0x5B5158C6 - RSA Key: 0x3FD52195 - Lat 47°08.083N Long 7°14.350E "Time flies like an arrow. Fruit flies like a banana." - Lisa Grossman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message