Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2000 15:32:01 -0400
From:      "William E. Reid" <wer@cstone.net>
To:        Bob Collins <pineypl@bellsouth.net>
Cc:        freebsd newbies <freebsd-newbies@FreeBSD.ORG>
Subject:   Re: Dynamic IP and ADSL
Message-ID:  <394D23B1.70FDEBCE@cstone.net>
References:  <394CF819.ABD69B71@bellsouth.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <carriage return> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?394D23B1.70FDEBCE>