--- xml/htdocs/doc/en/handbook/hb-install-config.xml 2005/05/23 18:13:34 1.61 +++ xml/htdocs/doc/en/handbook/hb-install-config.xml 2005/06/09 07:16:39 1.62 @@ -4,12 +4,12 @@ - + -2.3 -2005-05-23 +2.4 +2005-06-09
Filesystem Information @@ -237,61 +237,6 @@ # nano -w /etc/conf.d/net - - -

-The first variable you'll find is iface_eth0. It uses the following -syntax: -

- -
-iface_eth0="<your ip address> broadcast <your broadcast address> netmask <your netmask>"
-
- -

-If you use DHCP (automatic IP retrieval), you should just set iface_eth0 -to dhcp. If you use rp-pppoe (e.g. for ADSL), set it to up. -If you need to set up your network manually and you're -not familiar with all the above terms, please read the section on Understanding Network -Terminology if you haven't done so already. -

- -

-So let us give three examples; the first one uses DHCP, the second one a static -IP (192.168.0.2) with netmask 255.255.255.0, broadcast 192.168.0.255 and -gateway 192.168.0.1 while the third one just activates the interface for -rp-pppoe usage: -

- -
-(For DHCP)
-iface_eth0="dhcp"
-# Some network admins require that you use the
-# hostname and domainname provided by the DHCP server.
-# In that case, add the following to let dhcpcd use them.
-# That will override your own hostname and domainname definitions.
-dhcpcd_eth0="-HD"
-# If you intend on using NTP to keep your machine clock synchronized, use
-# the -N option to prevent dhcpcd from overwriting your /etc/ntp.conf file
-dhcpcd_eth0="-N"
-
-(For static IP)
-iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
-gateway="eth0/192.168.0.1"
-
-(For rp-pppoe)
-iface_eth0="up"
-
- -

-If you have several network interfaces, create extra iface_eth variables, -like iface_eth1, iface_eth2 etc. The gateway variable -shouldn't be reproduced as you can only set one gateway per computer. -

- - -

Now save the configuration and exit to continue.