From owner-freebsd-questions Thu Jun 28 22:55:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id F1BF937B403 for ; Thu, 28 Jun 2001 22:55:47 -0700 (PDT) (envelope-from mj@isy.liu.se) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.11.4/8.11.4) with ESMTP id f5T5tjT05006; Fri, 29 Jun 2001 07:55:45 +0200 (MET DST) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <49B.5000300@btinternet.com> Date: Fri, 29 Jun 2001 07:56:03 +0200 (CEST) From: Micke Josefsson To: John Toon Subject: Re: Internet browser setup Cc: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > > Where 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