Port-cobalt archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Where is the host name?



Hi
On Sun, 19 Oct 2008, Anthony Howe wrote:

Date: Sun, 19 Oct 2008 18:43:27 +0200
From: Anthony Howe <achowe%snert.com@localhost>
To: port-cobalt%NetBSD.org@localhost
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
ober%mauthesis.com@localhost
ober%NetBSD.org@localhost



Home | Main Index | Thread Index | Old Index