From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FjyRG-0001rF-Qh for garchives@archives.gentoo.org; Sat, 27 May 2006 13:02:43 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k4RD2He4004980; Sat, 27 May 2006 13:02:17 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k4RD2GmR014863 for ; Sat, 27 May 2006 13:02:16 GMT Received: from lark (lark.gentoo.osuosl.org [140.211.166.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with SMTP id C4B16643E2 for ; Sat, 27 May 2006 13:02:15 +0000 (UTC) Received: by lark (sSMTP sendmail emulation); Sat, 27 May 2006 13:02:15 +0000 From: "Xavier Neys" Date: Sat, 27 May 2006 13:02:15 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: hb-install-config.xml Message-Id: <20060527130215.C4B16643E2@smtp.gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 25b8ba6c-bb3f-46d3-8454-3a61566f41da X-Archives-Hash: b5dea04af20dbf81c616f0b81d101a5b neysx 06/05/27 13:02:15 Modified: hb-install-config.xml Log: #122911 make /etc/hosts simpler Revision Changes Path 1.78 xml/htdocs/doc/en/handbook/hb-install-config.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-config.xml?rev=1.78&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-config.xml?rev=1.78&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-config.xml.diff?r1=1.77&r2=1.78&cvsroot=gentoo Index: hb-install-config.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- hb-install-config.xml 15 May 2006 07:00:22 -0000 1.77 +++ hb-install-config.xml 27 May 2006 13:02:15 -0000 1.78 @@ -4,12 +4,12 @@ - + -2.18 -2006-03-28 +2.19 +2006-05-27
Filesystem Information @@ -334,11 +334,10 @@

You now need to inform Linux about your network. This is defined in -/etc/hosts and helps in resolving hostnames to IP addresses -for hosts that aren't resolved by your nameserver. For instance, if your -internal network consists of three PCs called jenny (192.168.0.5), -benny (192.168.0.6) and tux (192.168.0.7 - this system) you would -open /etc/hosts and fill in the values: +/etc/hosts and helps in resolving hostnames to IP addresses for +hosts that aren't resolved by your nameserver. You need to define your system. +You may also want to define other systems on your network if you don't want to +set up your own internal DNS system.

@@ -346,20 +345,13 @@
 
-127.0.0.1     localhost
+(This defines the current system)
+127.0.0.1     tux.homenetwork tux localhost
+
+(Define extra systems on your network,
+they need to have a static IP to be defined this way.)
 192.168.0.5   jenny.homenetwork jenny
 192.168.0.6   benny.homenetwork benny
-192.168.0.7   tux.homenetwork tux
-
- -

-If your system is the only system (or the nameservers handle all name -resolution) a single line is sufficient. For instance, if you want to call your -system tux: -

- -
-127.0.0.1     localhost tux
 

-- gentoo-doc-cvs@gentoo.org mailing list