Subject: Re: setting hostname at bootup
To: Sam Carleton <sam@linux-info.net>
From: Dr. Rene Hexel <rh@cit.gu.edu.au>
List: netbsd-help
Date: 09/02/2002 09:28:47
On Monday, September 2, 2002, at 07:55  AM, Sam Carleton wrote:

> Ok, I created a /etc/dhclient.conf which contains:
>
> interface "iy0" {
>     request subnet-mask, broadcast-address, time-offset, routers, 
> domain-name, domain-name-servers, host-name;
> }
>
> After reboot, the hostname is back to the dhcp-###-###.

   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.

   Cheers
       ,
    Rene