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

Re: Setting hostname with DHCP



Michael Ash said on Wed, Oct 22, 2003 at 05:52:09PM -0400:
> Dear list,
> 
> I have scoured the web and even read the generally helpful
> Chapter 10 - Network Configuration from Debian Reference
> http://www.debian.org/doc/manuals/reference/ch-gateway.en.html,
> but I cannot figure out how to set hostname and domain using
> dhcp.
> 
> On my box, "Linux debian 2.4.18-bf2.4 #1 Son Apr 14 09:53:28
> CEST 2002 i586 unknown," DHCP works fine in that it gets an
> ip address and even an associated name for the computer, but
> "hostname" returns "debian", "hostname -d" returns nothing,
> and "hostname --fqdn" returns "debian".
 
The dhclient script is broken; it doesn't do the hostname properly.  It is
probably fixable, but that script is a big mess.

M

Attachment: pgpYWteiw2lZe.pgp
Description: PGP signature


Reply to: