Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2001 07:56:03 +0200 (CEST)
From:      Micke Josefsson <mj@isy.liu.se>
To:        John Toon <john.toon@btinternet.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Internet browser setup
Message-ID:  <XFMail.010629075603.mj@isy.liu.se>
In-Reply-To: <49B.5000300@btinternet.com>

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

On 01-Jan-70 John Toon wrote:
> Micke Josefsson wrote:
> 
>> On 28-Jun-01 IRCD IRCD wrote:
>> 
>>>Hello,
>>>
>>>I am a new linux user running FreeBSD 4.2 on my computer currently, and i 
>>>have also manage to gain internet access via PPP. And the desktop manager 
>>>that i am using is GNOME, but whenever i type "startx" to start up the 
>>>server, i recieved a message from the gnome system that there is "some 
>>>problem with accessing gnome internet and i should include the file in 
>>>/etc/host". Could i please get some help in fixin this problem.
> 
> The hostname on your box is not properly set up; as root, edit the text file
> 
> 
> /etc/defaults/rc.conf
> 
> Look for the field
> 
> hostname=""
> 
> and insert your chosen hostname inbetween the commas. e.g.
> 
> hostname="hostfoobar"
> 
> 
> Restart networking (or reboot) for the change to take effect. This 
> permanently sets the hostname.

How do I restart networking (or any other part of the boot process) without
actually having to boot the machine? I've always wondered but never had the guts
to ask...

/Micke

> 
> Otherwise, (as root) simply do
> 
> hostname -s <hostname>
> 
> Where <hostname> is your chosen hostname to set the host; however, if 
> you reboot, you'll need to do this again.
> 
> Regards,
> 
> John.

----------------------------------
Michael Josefsson, MSEE
mj@isy.liu.se

This message was sent by XFMail
running on FreeBSD 4.3-STABLE
----------------------------------

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?XFMail.010629075603.mj>