From owner-freebsd-current@FreeBSD.ORG Fri Sep 30 21:28:34 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4539D16A41F; Fri, 30 Sep 2005 21:28:34 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from rwcrmhc12.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE18243D48; Fri, 30 Sep 2005 21:28:33 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [208.206.151.59] (host59.gtisd.com[208.206.151.59]) by comcast.net (rwcrmhc13) with ESMTP id <2005093021283201500r2qcne>; Fri, 30 Sep 2005 21:28:32 +0000 Message-ID: <433DAE00.4090602@computer.org> Date: Fri, 30 Sep 2005 16:28:32 -0500 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brooks Davis References: <433D5215.6010101@computer.org> <20050930184537.GA3665@teardrop.org> <433DA1CF.7020502@computer.org> <20050930210541.GA11841@odin.ac.hmc.edu> In-Reply-To: <20050930210541.GA11841@odin.ac.hmc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: mobile@freebsd.org, current@freebsd.org Subject: Re: wpa_supplicant and WEP.... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2005 21:28:34 -0000 Brooks Davis wrote: > On Fri, Sep 30, 2005 at 03:36:31PM -0500, Eric Schuele wrote: > >>James Snow wrote: >> >>>On Fri, Sep 30, 2005 at 09:56:21AM -0500, Eric Schuele wrote: >>> >>> >>>>I have gotten wpa_supplicant to work fine for WPA-PSK and open sites... >>>>but I would like it to work with WEP as well. it appears to associate >>>>with a WEP site no matter what WEP key I give it. But whether the key >>>>is correct or not... I can not get a response from my DHCP server. >>>> >>>>My wpa_supplicant entry: >>> >>>... >>> >>> >>>> wep_tx_keyidx=0 >>> >>> >>>I would try dropping this line. I use wpa_supplicant to connect to a >>>number of different wireless networks and for the WEP-only ones I've >>>never needed anything more than: >>> >>>ssid=... >>>key_mgmt=NONE >>>wep_key0=... >>> >> >>Still no go. The wep_key0 is the clear text passphrase, correct? Not >>one of the encrypted keys? right? > > > The entry in the example file shows both hex and ascii keys. No > excryption of keys is supported by standard WEP so if your AP is doing > something like that you need to get the hex key it's using from it. If I attempt to use the hex key... it fails to parse the wpa_supplicant file!?! The AP is a linksys something-or-other... and when you type in a cleartext passphrase it generates 4 hex keys. I have tried both the passphrase and the hex keys. > > Have you been able to connect by hand (not using wpa_supplicant)? If > not, do that first. Yes... I can connect using the following script ifconfig ath0 ssid office-g ifconfig ath0 mode 11g channel 6 ifconfig ath0 wepmode on ifconfig ath0 weptxkey 1 wepkey 0xD865E5A ifconfig ath0 192.168.1.99 ifconfig ath0 netmask 255.255.255.0 rm /etc/resolv.conf echo "nameserver 198.6.1.122" >> /etc/resolv.conf echo "nameserver 198.6.1.142" >> /etc/resolv.conf echo "nameserver 198.6.1.146" >> /etc/resolv.conf route -q add default 192.168.1.1 > > -- Brooks > -- Regards, Eric