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

Re: dhclient and /etc/myname



On Wed, Dec 01, 2004 at 11:15:00PM +0100, -f wrote:
> i would like to set the hostname to the one i get from the dhcp
> server.  it is always something like x49.upc.chello.cz, etc.
> how can i do that?  is there a hook in dhclient i could use
> to set the hostname?  could this be done before starting
> the services so they don't complain (apache comes to my mind,
> and certainly sendmail)

man 5 dhclient.conf

should sufficiently quiet this thread.

if nothing pops out at you:

	request host-name;

-j

--
"Look, just give me some inner peace, or I'll mop the floor with ya!"
        --The Simpsons



Visit your host, monkey.org