[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcp



-------------------
On Sun, 10 Jun 2001, Mark Wagnon wrote:

> > Use the standard kernel, and install a DHCP client. (Normally, pump
> > should already be installed.) Edit the file /etc/network/interfaces
> > and add the line:
> > iface eth0 inet dhcp
>
> I have a quick question. Where do you specify your hostname when you
> try to get your network info from your ISP's DHCP server? On my
> system, my hostname is different from that my ISP assigns me. I've
> seen lines similar to pump/dhcpclient -h "$DHCP_HOSTNAME" (something
> like that), but where does one set DHCP_HOSTNAME?

In /etc/network/interfaces, again.

My entry looks like this:

iface eth0 inet dhcp
        hostname thud


Hope this helps.

Tudor



Reply to: