|
@@ -2,12 +2,12 @@
|
|
|
<title>Creating the /etc/init.d/ethnet script</title>
|
|
|
|
|
|
<para>
|
|
|
-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.
|
|
|
</para>
|
|
|
|
|
|
<para>
|
|
|
-Create a new file <filename>/etc/init.d/ethnet</filename> containing the
|
|
|
+A new file <filename>/etc/init.d/ethnet</filename> is created containing the
|
|
|
following:
|
|
|
</para>
|
|
|
|
|
@@ -119,7 +119,7 @@ esac
|
|
|
<title>Adding default gateway to /etc/sysconfig/network</title>
|
|
|
|
|
|
<para>
|
|
|
-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:
|
|
|
</para>
|
|
|
|
|
|
<literallayout>
|
|
@@ -131,7 +131,7 @@ GATEWAY=192.168.1.2
|
|
|
</literallayout>
|
|
|
|
|
|
<para>
|
|
|
-Change GATEWAY to match your network setup.
|
|
|
+GATEWAY needs to be changed to match the network setup.
|
|
|
</para>
|
|
|
|
|
|
</sect2>
|
|
@@ -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).
|
|
|
</para>
|
|
|
|
|
|
<para>
|
|
|
-First create the network-scripts directory by running:
|
|
|
+First the network-scripts directory is created by running:
|
|
|
</para>
|
|
|
|
|
|
<blockquote><literallayout>
|
|
@@ -158,8 +158,8 @@ First create the network-scripts directory by running:
|
|
|
|
|
|
<para>
|
|
|
|
|
|
-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:
|
|
|
</para>
|
|
|
|
|
|
<blockquote><literallayout>
|
|
@@ -176,7 +176,8 @@ BROADCAST=192.168.1.255
|
|
|
</literallayout></blockquote>
|
|
|
|
|
|
<para>
|
|
|
-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
|