Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2001 22:06:26 -0400
From:      Erik Fichtner <techs@obfuscation.org>
To:        freebsd-mobile@freebsd.org
Subject:   wicontrol fails to set WEP keys for U.S. Robotics 2410 card
Message-ID:  <20010616220626.H355@obfuscation.org>

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

--hABqaeELJqnDDeDE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Help.... I'm trying to configure WEP encryption on my new US Robotics 2410
wavelan card [1], but when I try to enable encryption keys, it fails.

The card supports both 64bit WEP and 128bit WEP (silly me, I thought weak-w=
ep=20
was 40bit and not-so-weak-wep was 128bit..), and neither appear to work. =
=20
It works fine with WEP disabled, though.  =20

(oh, I'm running 4.3-RELEASE, if that matters..)

# wicontrol -i wi0
NIC serial number:                      [ 99SA01000000 ]
Station name:                           [ FreeBSD WaveLAN/IEEE node ]
SSID for IBSS creation:                 [ FreeBSD IBSS ]
Current netname (SSID):                 [ WLAN ]
Desired netname (SSID):                 [  ]
Current BSSID:                          [ 00:90:d1:01:1f:88 ]
Channel list:                           [ 2047 ]
IBSS channel:                           [ 3372 ]
Current channel:                        [ 11 ]
Comms quality/signal/noise:             [ 0 43 0 ]
Promiscuous mode:                       [ Off ]
Port type (1=3DBSS, 3=3Dad-hoc):            [ 1 ]
MAC address:                            [ 00:4a:cd:c0:00:53 ]
TX rate (selection):                    [ 3 ]
TX rate (actual speed):                 [ 2 ]
RTS/CTS handshake threshold:            [ 2347 ]
Create IBSS:                            [ Off ]
Access point density:                   [ 1 ]
Power Mgmt (1=3Don, 0=3Doff):               [ 0 ]
Max sleep time:                         [ 100 ]
WEP encryption:                         [ On ]
TX encryption key:                      [ ]
Encryption keys:                        [  ][  ][  ][  ]

# wicontrol -i wi0 -k abcdefghijklm -v 1=20
# wicontrol -i wi0
NIC serial number:                      [ 99SA01000000 ]
Station name:                           [ FreeBSD WaveLAN/IEEE node ]
SSID for IBSS creation:                 [ FreeBSD IBSS ]
Current netname (SSID):                 [ WLAN ]
Desired netname (SSID):                 [  ]
Current BSSID:                          [ 00:90:d1:01:1f:88 ]
Channel list:                           [ 2047 ]
IBSS channel:                           [ 3372 ]
Current channel:                        [ 11 ]
Comms quality/signal/noise:             [ 0 35 0 ]
Promiscuous mode:                       [ Off ]
Port type (1=3DBSS, 3=3Dad-hoc):            [ 1 ]
MAC address:                            [ 00:4a:cd:c0:00:53 ]
TX rate (selection):                    [ 3 ]
TX rate (actual speed):                 [ 2 ]
RTS/CTS handshake threshold:            [ 2347 ]
Create IBSS:                            [ Off ]
Access point density:                   [ 1 ]
Power Mgmt (1=3Don, 0=3Doff):               [ 0 ]
Max sleep time:                         [ 100 ]
WEP encryption:                         [ On ]
TX encryption key:                      [ ]
Encryption keys:                        [ abcdefghijklm ][  ][  ][  ]

# wicontrol -i wi0 -T 1
wicontrol: SIOCSWAVELAN: Input/output error

the same thing happens when i use a 5 byte, 40bit key.

Thanks in advance for any assistance.=20





[1] adding the following to /etc/default/pccard.conf gets it up and
running:
# U.S. Robotics 2410 WaveLAN
card "U.S. Robotics" "IEEE 802.11b PC-CARD"
        config  auto "wi" ?
        insert  /etc/pccard_ether $device start
        remove  /etc/pccard_ether $device stop

/kernel: wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 3 slot 1 on pcc=
ard1
/kernel: wi0: Ethernet address: 00:4a:cd:c0:00:53
wi0: U.S. Robotics (IEEE 802.11b PC-CARD) inserted.


--=20
                        Erik Fichtner; Unix Ronin
                    http://www.obfuscation.org/techs/
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself.  Therefore, all progress
depends on the unreasonable." -- George Bernard Shaw

--hABqaeELJqnDDeDE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjssEKAACgkQDf8awdbGHo0C9gCgmM0PjFZdwLTeSMe3ZoGFV1FM
WrQAoLsOJQPtGOd2KJtqW+Iiva4V4cB8
=lHmi
-----END PGP SIGNATURE-----

--hABqaeELJqnDDeDE--

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




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