From owner-freebsd-newbies Sun Jun 18 12:37:39 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from Astrovan.cstone.net (astrovan.cstone.net [209.145.64.80]) by hub.freebsd.org (Postfix) with ESMTP id A303137B5FC for ; Sun, 18 Jun 2000 12:37:36 -0700 (PDT) (envelope-from wer@cstone.net) Received: from cstone.net (bilmax.cho.cstone.net [209.145.79.244]) by Astrovan.cstone.net (Post.Office MTA v3.5.3 release 223 ID# 0-59789U13500L1350S0V35) with ESMTP id net; Sun, 18 Jun 2000 15:30:42 -0400 Message-ID: <394D23B1.70FDEBCE@cstone.net> Date: Sun, 18 Jun 2000 15:32:01 -0400 From: "William E. Reid" X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Bob Collins Cc: freebsd newbies Subject: Re: Dynamic IP and ADSL References: <394CF819.ABD69B71@bellsouth.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Also bob, I thought you could put something like dhcp_program="/sbin/dhclient" # Path to dhcp client program. dhcp_flags="" # Additional flags to pass to dhcp client. ifconfig_eth0="dhcp" in your rc.conf file. Assuming your ADSL dhcp server is setup right It should give you your hostname as well. I have only seen DHCP run over a local network but I would assume it works the same. I can't get into the network that had all this set up so I may have some flags missing or some syntax wrong. -=Bill Bob Collins wrote: > Bob Collins wrote: > > > > I have an ADSL connection at home, and must use a dynamically assigned > > IP address. Is there a way to configure FBSD to use DHCP? > > I shall answer my own question. As I was rather hasty asking questions > first and looking later. I had not liked the search results I was > getting for other matters on the archive, so I skipped them this time. > Dumb!!! > > It seems dhclient is a very good tool for this. I read the dhclient > and dhclient.conf man pages a few times and built up my > /etc/dhclient.conf file . I made sure my 3Com nic attached to the adsl > model was set properly and was listed in the dhclient.conf properly. > >From a command line, I entered dhclient and there I > was. NICE! > > The more I use FreeBSD the more I understand how good it > is. Changes like that, would normally require reboots and prayers, > FBSD just does it! > > Bob "sometimes too hasty" Collins > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message