Subject: Re: setting hostname at bootup
To: Dr. Rene Hexel <rh@cit.gu.edu.au>
From: Robert Elz <kre@munnari.OZ.AU>
List: netbsd-help
Date: 09/03/2002 16:43:46
Date: Mon, 2 Sep 2002 09:28:47 +1000
From: "Dr. Rene Hexel" <rh@cit.gu.edu.au>
Message-ID: <90851020-BE02-11D6-B682-0003934228C8@cit.gu.edu.au>
| Well, you are requesting "host-name" from the DHCP server (the last
| entry in your config). That's why you get one. If you remove
| "host-name", it should remain whatever you set it to in /etc/myname.
That might work, but is the wrong solution.
Instead, just put
supersede host-name "my-name";
in dhclient.conf and let dhcp do its thing normally.
And in general, look at "man dhclient.conf" for all the other
stuff it is possible todo.
kre