From owner-freebsd-questions@FreeBSD.ORG Wed Mar 15 12:43:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AC8D16A401 for ; Wed, 15 Mar 2006 12:43:10 +0000 (UTC) (envelope-from wkt@minnie.tuhs.org) Received: from minnie.tuhs.org (minnie.tuhs.org [131.244.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01AF243D58 for ; Wed, 15 Mar 2006 12:43:05 +0000 (GMT) (envelope-from wkt@minnie.tuhs.org) Received: by minnie.tuhs.org (Postfix, from userid 1000) id ED84B49; Wed, 15 Mar 2006 22:42:57 +1000 (EST) Date: Wed, 15 Mar 2006 22:42:57 +1000 From: Warren Toomey To: freebsd-questions@freebsd.org Message-ID: <20060315124257.GA25917@minnie.tuhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Help with WEP keys on FreeBSD 6.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2006 12:43:10 -0000 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 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