Subject: Re: setting hostname at bootup
To: Sam Carleton <sam@linux-info.net>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 09/01/2002 17:19:47
On Sun, 1 Sep 2002, 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-###-###. And
> yes, iy0 is the NIC in question. Any thoughts on what I am
> doing wrong?
Actually, that's good, since presumably it gives you a hostname that
reverse-looks-up to your IP number. With that, hosts will accept mail
from your sendmail client, among other things.
Frederick