From 137bd506ad66d6c67186a63b30abd3c626e5a66d Mon Sep 17 00:00:00 2001 From: Thomas Balu Walter Date: Sun, 18 Mar 2001 20:39:49 +0000 Subject: You's git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@335 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/ethnet.xml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'chapter07/ethnet.xml') diff --git a/chapter07/ethnet.xml b/chapter07/ethnet.xml index a81176a6c..3298bd139 100644 --- a/chapter07/ethnet.xml +++ b/chapter07/ethnet.xml @@ -2,12 +2,12 @@ Creating the /etc/init.d/ethnet script -This section only applies if you are going to configure a network card. -If you're not, skip this section. +This section only applies if a user is going to configure a network card. +If not, this section can be skipped. -Create a new file /etc/init.d/ethnet containing the +A new file /etc/init.d/ethnet is created containing the following: @@ -119,7 +119,7 @@ esac Adding default gateway to /etc/sysconfig/network -If you require a default gateway to be setup, run the following command: +If a default gateway is required to be setup, the following command does that: @@ -131,7 +131,7 @@ GATEWAY=192.168.1.2 -Change GATEWAY to match your network setup. +GATEWAY needs to be changed to match the network setup. @@ -143,11 +143,11 @@ Change GATEWAY to match your network setup. Which interfaces are brought up and down by the ethnet script depends on the files in the /etc/sysconfig/network-scripts directory. This directory should contain files in the form of ifcfg-x where x is an -identification number (or whatever you choose to name it). +identification number (or whatever a user named it). -First create the network-scripts directory by running: +First the network-scripts directory is created by running:
@@ -158,8 +158,8 @@ First create the network-scripts directory by running: -Now, create new files in that directory containing the following. -The following creates a sample file ifcfg-eth0: +Now, new files are created in that directory containing the following. +This creates a sample file ifcfg-eth0:
@@ -176,7 +176,8 @@ BROADCAST=192.168.1.255
-Of course, change the values of those four variables in every file to +Of course, the values of those four variables have to be changed +in every file to match the proper setup. Usually NETMASK and BROADCAST will remain the same, just the DEVICE IP variables will change per network interface. If the ONBOOT variable is set to yes, the ethnet script will bring it up -- cgit v1.2.3-54-g00ecf