From owner-freebsd-current@FreeBSD.ORG Sun Oct 2 08:21:16 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 0FC8F16A41F; Sun, 2 Oct 2005 08:21:16 +0000 (GMT) (envelope-from michael@roq.com) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id A603E43D45; Sun, 2 Oct 2005 08:21:15 +0000 (GMT) (envelope-from michael@roq.com) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id DE06D4CF57; Sun, 2 Oct 2005 08:22:29 +0000 (GMT) Received: from [10.0.1.8] (ppp157-158.static.internode.on.net [150.101.157.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by p4.roq.com (Postfix) with ESMTP id 70CE24CF50; Sun, 2 Oct 2005 08:22:28 +0000 (GMT) Message-ID: <433F9873.2080001@roq.com> Date: Sun, 02 Oct 2005 18:21:07 +1000 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.11) Gecko/20050925 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Schuele References: <433D5215.6010101@computer.org> <20050930184537.GA3665@teardrop.org> <433DA1CF.7020502@computer.org> <20050930210541.GA11841@odin.ac.hmc.edu> <433DAE00.4090602@computer.org> <20050930222442.GA20004@odin.ac.hmc.edu> <433DEF54.7070201@computer.org> <1128173651.1231.4.camel@RabbitsDen> <433E9658.9040101@computer.org> In-Reply-To: <433E9658.9040101@computer.org> Content-Type: text/plain; charset=ISO-8859-5; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Sun, 02 Oct 2005 11:39:56 +0000 Cc: mobile@freebsd.org, "Alexandre \"Sunny\" Kovalenko" , 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: Sun, 02 Oct 2005 08:21:16 -0000 Eric Schuele wrote: > Alexandre "Sunny" Kovalenko wrote: > >> On Fri, 2005-09-30 at 21:07 -0500, Eric Schuele wrote: >> >> >>> Ah... hex *keys*... plural!! I should use all 4 of them? I had been >>> using just the one declared as the default key to tx. I have >>> attached a >>> screenshot of what a linksys does when you setup WEP. Give it a >>> cleartext passphrase and it generates 4 hex keys. On some systems you >>> can enter the passphrase... others I've had to enter the 'default' key. >>> Never thought to try all four keys at once. Is that what you think I >>> should do? >>> >>> >>>> How are you entering >>>> your hex keys? The examples are a bit unclear, but digging around in >>>> the code it looks like unquoted strings are assumed to be hex strings. >>>> They should not be prefixed by 0x. >>> >>> >>> I'll try them in the above format (I was prefixing with 0x). I'm >>> not in the office but will try my home AP.... BRB.... >>> >>> Whoa!!! That's IT!!! >>> Am I the only person who couldn't figure that out??? >>> You must use all 4 hex keys and specify which is the default. >>> >> >> No, you don't -- at least on -CURRENT of week or two ago following >> wpa_supplicant.conf works quite well: >> >> ctrl_interface=/var/run/wpa_supplicant >> ctrl_interface_group=wheel >> >> network={ >> ssid="SillySSID" >> scan_ssid=1 >> priority=5 >> key_mgmt=NONE >> wep_key0=0123456789abcdef0123456789 >> wep_tx_keyidx=0 >> } >> > > Yes... you are correct. One is sufficient. I got a little over > zealous when entering keys. > > I simply must have had the format of the hex keys incorrect all this > time. I must say, I have been trying to get WEP to work for an > embarrisingly long time. WPA-PSK and open networks gave me no trouble > though. But I tried for the longest time to get WEP going because > thats how I had things setup from 5.x (since WPA was not supported) > and I thought it would be easiest to just turn wpa_supplicant on > without changing the wLAN. > > Anyways.... Thank you very much to all. So it works for you now? Darn I have had the exact same problem I got on WPA straight away but could never get past DHCP on WEP. I decided not to worry about having it auto dhcp and just placed this into a script if I decided to use WEP wireless. ifconfig ath0 inet 192.168.231.5 netmask 255.255.255.0 ssid MYW wepmode on weptxkey 1 wepkey 1:0x6eb24e9f544768c20e22a29f43 route add 0.0.0.0 192.168.231.1 I could get on just fine with WEP if I added my own IP and WEP key manually but DHCP has never worked (unlike in WPA). Since people are claiming it works I will have to give it another shot next time I use wireless. Mike