From owner-freebsd-questions@FreeBSD.ORG Tue May 24 02:36:43 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 22C4516A41F for ; Tue, 24 May 2005 02:36:43 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id B48D043D1D for ; Tue, 24 May 2005 02:36:42 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.216] (c-24-1-232-64.hsd1.tx.comcast.net[24.1.232.64]) by comcast.net (sccrmhc11) with ESMTP id <2005052402364101100opi08e>; Tue, 24 May 2005 02:36:41 +0000 Message-ID: <42929339.8010001@computer.org> Date: Mon, 23 May 2005 21:36:41 -0500 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050325) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roland Smith References: <20050523205202.54564.qmail@web50402.mail.yahoo.com> <20050523211606.GB11447@slackbox.xs4all.nl> In-Reply-To: <20050523211606.GB11447@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Beecher Rintoul , freebsd-questions@freebsd.org Subject: Re: WIFI DHCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 02:36:43 -0000 Roland Smith wrote: > On Mon, May 23, 2005 at 01:52:01PM -0700, Beecher Rintoul wrote: > > >>I would like to use a wireless card as my primary internet connection. >>I have read the manual and see nothing mentioned about setting up the >>card to use DHCP. > > > Then you've looked in the wrong place. :-) > > >>I do not have a static ip on the access point I'm >>connecting to. How do I set the card to use DHCP? > > > Look at section 23.5 (Automatic Network Configuration). In short: > - make sure that "device bpf" is in the kernel (it is in GENERIC) > - edit /etc/rc.conf to put the interface in DHCP: 'ifconfig_XXX="DHCP"' > where XXX is the name of your wireless card. Additionally... you should man dhclient, dhclient.conf, and dhclient.leases. IMHO: `ifconfig_XXX="DHCP"` is only part of the equation. You may have to craft a dhclient.conf file to help your card associate with its access point. The dhclient.conf file will help you specify things like the SSID, weptxkey, wepmode, mode (11a, 11b, or 11g), wepkey, etc > > Roland -- Regards, Eric