Appendix C: TCP/IP Network Settings 53
Linux TCP/IP Settings
The instructions for setting up boot-time DHCP vary dramatically
by distribution, so you may want to refer to your particular
version’s documentation.
Once you have followed the instructions for your Linux system,
continue with Establishing Communication on page 13.
Note:
If you have more than one network card installed, you will need to
pick distinct Ethernet identifiers for each (eth0, eth1, eth2, and so
forth). If you select an identifier other than eth0 for your ADSL
modem, use that identifier throughout.
RedHat
Edit or create /etc/sysconfig/network-scripts/ifcfg-eth0 so
that it contains the following three lines:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
SuSE
Edit the file /etc/rc.config; search for the variables
NETCONFIG, NETDEV_0, and IFCONFIG_0.
Set them as follows (see the instructions in rc.config):
NETCONFIG="_0"
NETDEV_0="eth0"
IFCONFIG_0="dhcpclient"
Reboot with this command: /sbin/shutdown -r now.
Debian
Add this line to the file /etc/network/interfaces:
iface eth0 inet dhcp
Reboot with this command: /sbin/shutdown -r now.