swift 05/04/08 12:03:44 Modified: xml/htdocs/doc/en/handbook hb-install-config.xml Log: Adding baselayout 1.11 stuff in comment, no content change although it is now available
Revision Changes Path 1.58 +32 -1 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.58&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.58&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.57&r2=1.58&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.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- hb-install-config.xml 7 Apr 2005 16:12:35 -0000 1.57 +++ hb-install-config.xml 8 Apr 2005 12:03:44 -0000 1.58 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.57 2005/04/07 16:12:35 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.58 2005/04/08 12:03:44 swift Exp $ --> <sections> @@ -237,6 +237,8 @@ # <i>nano -w /etc/conf.d/net</i> </pre> +<!-- Old baselayout - current stable --> + <p> The first variable you'll find is <c>iface_eth0</c>. It uses the following syntax: @@ -288,6 +290,35 @@ shouldn't be reproduced as you can only set one gateway per computer. </p> +<!-- New baselayout - current testing + +<p> +The first variable you'll find is called <c>config_eth0</c>. As you can probably +imagine, this variable configured the eth0 network interface. If the interface +needs to automatically obtain an IP through DHCP, you should set it like so: +</p> + +<pre caption="Automatically obtaining an IP for eth0"> +config_eth0=( "dhcp" ) +</pre> + +<p> +However, if you have to enter your own IP address, netmask and gateway, you need +to set both <c>config_eth0</c> and <c>routes_eth0</c>: +</p> + +<pre caption="Manually setting IP information for eth0"> +config_eth0=( "192.168.0.2 netmask 255.255.255.0" ) +routes_eth0=( "default gw 192.168.0.1" ) +</pre> + +<p> +If you have several network interfaces repeat the above steps for +<c>config_eth1</c>, <c>config_eth2</c>, etc. +</p> + +--> + <p> Now save the configuration and exit to continue. </p> -- [email protected] mailing list
