From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 05:59:38 2003 Return-Path: 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 5F99016A4B3 for ; Tue, 21 Oct 2003 05:59:38 -0700 (PDT) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D42443FAF for ; Tue, 21 Oct 2003 05:59:35 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id F1C063B04; Tue, 21 Oct 2003 08:59:34 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Luke Kearney References: <20031019153359.BC9C.LUKEK@meibin.net> <44k770oet0.fsf@be-well.ilk.org> <20031020110411.9A51.LUKEK@meibin.net> From: Lowell Gilbert Date: 21 Oct 2003 08:59:34 -0400 In-Reply-To: <20031020110411.9A51.LUKEK@meibin.net> Message-ID: <44oewazqyx.fsf@be-well.ilk.org> Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: FreeBSD Questions Subject: Re: Wireless setups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 12:59:38 -0000 Luke Kearney writes: > On 19 Oct 2003 21:53:15 -0400 > Lowell Gilbert spake thus: > > > Luke Kearney writes: > > > > > Hi There, > > > I have recently installed 4.8R on my IBM Thinkpad notebook which > > > fortunately includes a wireless NIC. The nic is recognised as wi0 for > > > which I am grateful as Linux did not recognise the card first time > > > around. Now I often move between networks and having to set the wepkey > > > and ssid etc etc by hand will become very tiresome very quickly. I was > > > wondering if any one can point me in the direction of a better way to > > > set these. I am guessing that this will still have to be done after the > > > boot but what do people use ? > > > > > > I was able to get the interface up and ping other hosts so no problems > > > there but can this NIC be set for dhcp rather than having to go through > > > the grief of setting everything manually ? > > > > Doesn't WEP have to be configured *before* you can communicate with > > the DHCP server in the first place? > > Hi, > You are of course absolutely correct, so I am kinda wondering how to > manage this. Without connecting using the correct WEP it is a bit tough > to get an IP. > > Again, any insights into this are appreciated. Well, I'm not sure what you'd really like, so it's a little hard to say. Obviously there is a chicken-and-egg problem that will keep you from using DHCP to figure out the correct WEP key. You will need to start with the WEP key from some a priori knowledge and then (at best) let the machine use that to run DHCP. I suppose you could choose a pccard configuration by hand to select the WEP key and then reload the interface.