Subject: Re: Printing, BSD-style
To: None <port-arm32@netbsd.org>
From: Mike Pumford <mpumford@black-star.demon.co.uk>
List: port-arm32
Date: 06/19/2002 20:37:28
> As I said, I had printing working and then it stopped. The reason is that I 
> had made one of those errors where you refuse to believe what you are 
> seeing, and see what you wish to see. The RiscPC was set up to be marsden5, 
> as was the Netport. The reason was this: when setting up the hostname 
> (after printing setup) I set it manually as marsden7, which it always has 
> been. When typing the required name into /etc/rc.d/network, I typed 
> marsden5!!??!! It was there in front of my face every time I booted up, but 
> I saw what I wanted to see!
>
Looks like your system V background is biting you again. On a NetBSD system 
the files in /etc/rc.d do not normally need editing. Instead you add settings 
like hostname to /etc/rc.conf.

Adding 'hostname=marsden7' to rc.conf will have the same effect as hardwiring 
it into /etc/rc.d/network but will make upgrading to newer releases easier.

Mike