From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 27 10:35:07 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8F8B106566C for ; Fri, 27 Jun 2008 10:35:07 +0000 (UTC) (envelope-from eculp@cloudmaster.info) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id B9E988FC15 for ; Fri, 27 Jun 2008 10:35:07 +0000 (UTC) (envelope-from eculp@cloudmaster.info) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Fri, 27 Jun 2008 05:35:01 -0500 id 000D53E1.4864C255.000146D2 Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Fri, 27 Jun 2008 05:34:55 -0500 id 00130D92.4864C24F.000076C8 Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by cloudmail.cloudmaster.info (Horde Framework) with HTTP; Fri, 27 Jun 2008 05:34:55 -0500 Message-ID: <20080627053455.917017l4elw9ulog@cloudmail.cloudmaster.info> Date: Fri, 27 Jun 2008 05:34:55 -0500 From: eculp@cloudmaster.info To: davidb@boothscientific.com References: <20080626194816.16432an8womc69c0@cloudmail.cloudmaster.info> <200806262003.26539.davidb@boothscientific.com> <20080626204122.183491gyp31lfozm@cloudmail.cloudmaster.info> <200806262050.32487.davidb@boothscientific.com> In-Reply-To: <200806262050.32487.davidb@boothscientific.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.14) Gecko/20080608 Firefox/2.0.0.14 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@cloudmaster.info Cc: freebsd-mobile@freebsd.org Subject: Re: Trying to use my ath wireless with wep. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 10:35:08 -0000 Quoting David Booth : > On Thursday 26 June 2008, you wrote: >> Quoting David Booth : >> > On Thursday 26 June 2008, you wrote: >> >> Thanks to the help here I have been enjoying my ath for almost a >> >> week. It works perfectly with the following in rc.conf >> >> >> >> wlans_ath0=3Dwlan0 >> >> ifconfig_wlan0=3D"DHCP ssid virus2" >> >> >> >> Now I am trying to get it to connect with wep. I have set the >> >> modem open wep pass phrase key to lets say 1122334455 and I have >> >> substituted the above ifconfig_wlan0 line for: >> >> >> >> ifconfig_wlan0=3D"DHCP ssid virus2 wepmode on wepkey 0x1122334455" >> >> >> >> >> >> and I have also tried it with WPA before DHCP but it doesn't >> >> connect either way. >> >> >> >> I'm sure I'm not understanding something here. >> >> >> >> I also have a related question. Can this not be done on the >> >> command line and be prompted for a password after the scan to >> >> see which AP is available? What would I do after the scan? >> >> >> >> Thanks, >> >> >> >> ed >> > >> > I have found it necessary to specify the wepkey number and also >> > set the weptxkey number, e.g. >> > >> > ifconfig_wlan0=3D"DHCP ssid virus2 wepmode on wepkey 1: >> > 0x1122334455 weptxkey 1" >> >> Hi David, >> >> It worked perfectly but I did have to remove the space between 1: >> and 0x1122334455. I saw that in the ifconfig manual from Andrew >> Thompson's recommendation. >> >> Thanks. Now all I need to find is a tool to connect to the some >> 8-10 offices, hotspots, home etc. That I use weekly. I think I >> will soon get tired of commenting out configurations in rc.local ;) >> >> Hope you all have a great weekend, >> >> ed > > I you should be able to do this with wpa_supplicant. I have not tried > it, but you are supposed to be able to put multiple hot spot > configurations in wpa_suplicant.conf (and can assign priorities) and > it will scan through them until it finds one. See > > man wpa_supplicant.conf > > and > > man wpa_supplicant > Thanks, David. This seems to be exactly what I am looking for. I've =20 already started to configure it with the example in share. With all =20 the tips you have given me I should be able to make all this much more =20 efficiently and not have to add any more noise to the list. I really appreciate it, ed