Re: Where is the host name?

Jaime Fournier <[email protected]>
Newsgroups gmane.os.netbsd.ports.cobalt
Message-ID <[email protected]>
Hi
On Sun, 19 Oct 2008, Anthony Howe wrote:

> Date: Sun, 19 Oct 2008 18:43:27 +0200
> From: Anthony Howe <[email protected]>
> To: [email protected]
> Subject: Where is the host name?
> 
> I'm trying to map my OpenBSD knowledge onto NetBSD-Cobalt. Where the
> frack is the hostname set at boot time? I've tried /etc/myname, I've
> tried /etc/rc.conf hostname='name', but those don't work compared to a
> NetBSD doc I've read. A grep -R of /etc for the current hostname doesn't
> fidn anything. I had a quick look in the Linux /boot directory with no
> luck either.
>
> So how does one set/alter the hostname after an install on a 
NetBSD-cobalt?

adding
-----
hostname="host.domain.com"
----
to /etc/rc.conf should be sufficient. A reboot would be required for that
to be picked up.

>
> -- 
> Anthony C Howe        Twitter: SirWumpus                    SnertSoft
> +33 6 11 89 73 78       Skype: SirWumpus        BarricadeMX & Milters
> http://www.snert.com/     ICQ: 7116561      http://www.snertsoft.com/
>

-Jaime Fournier
[email protected]
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.