Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2006 14:36:27 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Warren Toomey <wkt@tuhs.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help with WEP keys on FreeBSD 6.0
Message-ID:  <20060315143627.257e7519@localhost>
In-Reply-To: <20060315124257.GA25917@minnie.tuhs.org>
References:  <20060315124257.GA25917@minnie.tuhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_HOG+tuhLUr_hVFsXeIQgaZM
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Warren Toomey <wkt@tuhs.org> wrote:

> With WEP enabled on the WRT54G, I run these commands on FreeBSD:
>=20
> ifconfig iwi0 10.10.2.20 netmask 255.255.255.0 channel 6 ssid fred
> ifconfig iwi0 wepmode on wepkey 0x3f352a2149646c675e5e2abcde
>=20
> and ifconfig iwi0 then shows:
>=20
> iwi0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> 	inet 10.10.2.20 netmask 0xffffff00 broadcast 10.10.2.255
> 	ether 00:16:6f:4b:98:57
> 	media: IEEE 802.11 Wireless Ethernet autoselect
> 	status: associated
> 	ssid fred channel 6 bssid 00:14:bf:74:d4:5e
> 	authmode OPEN privacy ON deftxkey UNDEF wepkey 1:104-bit
> txpowmax 100 protmode CTS bintval 100
>=20
> However, pings from the laptop (10.10.2.20) to the AP (10.10.2.1)
> fail. I have wlan_wep built into the kernel. Can anybody think what I
> might be doing wrong?

Since FreeBSD 6 you have to tell ifconfig which key to use as default,
it no longer defaults to the first one. As you see you have
"deftxkey UNDEF", your key isn't used.

Try:
ifconfig iwi0 wepmode on wepkey 1:0x3f352a2149646c675e5e2abcde deftxkey 1

Fabian
--=20
http://www.fabiankeil.de/

--Sig_HOG+tuhLUr_hVFsXeIQgaZM
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFEGBhujV8GA4rMKUQRAlCdAKCcCfhDZXsN5ljof3/zusCb3FVrXgCg4du2
Hfyh7hEqK2bcjSuwW99AFpY=
=Qa8V
-----END PGP SIGNATURE-----

--Sig_HOG+tuhLUr_hVFsXeIQgaZM--



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