From owner-freebsd-mobile@FreeBSD.ORG Wed Dec 14 18:03:22 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20AB616A41F for ; Wed, 14 Dec 2005 18:03:22 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FE1043D45 for ; Wed, 14 Dec 2005 18:03:21 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id EF79C21A0; Wed, 14 Dec 2005 10:03:15 -0800 (PST) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id ACA18215C; Wed, 14 Dec 2005 10:03:15 -0800 (PST) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.4/8.13.4) with ESMTP id jBEI3MgQ099530; Wed, 14 Dec 2005 10:03:22 -0800 (PST) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.4/8.13.4/Submit) id jBEI3KZo099520; Wed, 14 Dec 2005 10:03:20 -0800 (PST) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17312.24168.690248.241505@satchel.alerce.com> Date: Wed, 14 Dec 2005 10:03:20 -0800 To: Eric Anderson In-Reply-To: <43A03AA8.20304@centtech.com> References: <20051214144006.GA2372@no-knife.mit.edu> <43A03AA8.20304@centtech.com> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Cc: Ross Adams Lippert , freebsd-mobile@freebsd.org Subject: Re: wep on ath not working in 6.0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 18:03:22 -0000 Eric Anderson writes: > Ross Adams Lippert wrote: > > >Hi, > > > >I'm using an atheros card with freeBSD 6.0. I'm having trouble making wep work. > >(I'm not subscribed to freebsd-mobile, btw) > > > >The /etc/start_if.ath0 file says > > ifconfig ath0 ssid "name" wepmode on wepkey 0x12345.... > >and my /etc/rc.conf says > > ifconfig_ath0="inet 192.168.1.4 netmask 255.255.255.0" > > defaultrouter="192.168.1.1" > >I'm getting "no route to host" messages when I try to ping the router. > >If I disable wep then everything works, but I'd rather know how to fix > >this problem. This worked just as it is on freebsd 5.3. > > > >I have wlan_wep loaded as shown here > > squiggy# kldstat -v | egrep -e 'wlan|ath' > > 27 ath_hal > > 42 ath_rate > > 43 pci/if_ath > > 44 cardbus/if_ath > > 218 wlan_wep > > 219 wlan > > > >I did not see anything on the support pages on freebsd.org to indicate > >that there was no known problem. > > > > > > Did you set the 'weptxkey 1' option also? I can't tell, since there is > a '....' there.. You could also use wpa_supplicant to handle the wep'ing. Here's a sample /etc/wpa_supplicant file: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="NETWORKNAMEHERE" key_mgmt=NONE wep_key0="abcde" wep_key1=0102030405 wep_key2="1234567890123" wep_tx_keyidx=0 priority=5 } that ought to work. I *think* that you can just add WPA to the ifconfig_ath0 line and do away with /etc/start_if.ath0. g.