Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 15:21:27 -0700 (PDT)
From:      John Kozubik <john@kozubik.com>
To:        Thomas Widlundh <tw@ettnet.se>
Cc:        freeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: comp name
Message-ID:  <Pine.BSF.4.21.0206261519100.91541-100000@www>
In-Reply-To: <000701c21d4c$7ad27c90$2f056dd4@chappe2>

next in thread | previous in thread | raw e-mail | index | archive | help

Your hostname is specified in /etc/rc.conf - look for a line matching this
format:

hostname="www.example.com"

You can enter either a simple hostname, such as "www" or a fully qualified
domain name such as "www.example.com".

Finally, you may also want to edit /etc/hosts and either change what is
already there, or add a line matching this format:

10.20.30.40	www	www.example.com

(where 10.20.30.40 is your IP address)

-----
John Kozubik - john@kozubik.com - http://www.kozubik.com



On Wed, 26 Jun 2002, Thomas Widlundh wrote:

> Hi,
> Where in fBSD can I find the name of my computer?
> That is, the name of the comp in a network.
> It is sometimes shown in the prompt.
> Thanks,
> Thomas
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0206261519100.91541-100000>