Help with WEP keys on FreeBSD 6.0

Warren Toomey wkt at tuhs.org
Wed Mar 15 12:43:10 UTC 2006


Hi all, while I'm fine with wired networks, I am having trouble getting WEP
set up on a new Dell laptop. The box has an iwi wireless card in it, and I'm
trying to establish a connection to a WRT54G access point that runs OpenWRT.

On the OpenWRT side, I have 

wl0_hwaddr=00:14:BF:74:D4:5E
wl0_closed=1
wl0_ifname=eth1
wl0_key1=3f352a2149646c675e5e2abcde
wl0_radio=1
wl0_ssid=fred		[ the key and ssid changed slightly for security ]
wl0_wep=enabled
wl0_wep_bit=104
wifi_ipaddr=10.10.2.1
wifi_netmask=255.255.255.0

Using Windoze XP on the Dell laptop, I can associate with the WRT54G
with WEP turned on, and ping the access point. However, with FreeBSD 6.0,
I can only ping the access point when I disable WEP.

With WEP enabled on the WRT54G, I run these commands on FreeBSD:

ifconfig iwi0 10.10.2.20 netmask 255.255.255.0 channel 6 ssid fred
ifconfig iwi0 wepmode on wepkey 0x3f352a2149646c675e5e2abcde

and ifconfig iwi0 then shows:

iwi0: flags=8843<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

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?

Many thanks in advance,
	Warren Toomey


More information about the freebsd-questions mailing list