aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/network.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-01-30 12:51:22 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-01-30 12:51:22 +0000
commitd72e04ae7c868b734e3ad39982b169c71444f541 (patch)
tree8009bd8eb42c8b44e5c78decfd41c579e74a2c3b /chapter07/network.xml
parentbce08efc719e0824225490272cefa848a2313b24 (diff)
Added <literal> tags.
Added NEW comments to commands that differs from testing. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4599 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/network.xml')
-rw-r--r--chapter07/network.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/chapter07/network.xml b/chapter07/network.xml
index cc5f25244..b01da80a1 100644
--- a/chapter07/network.xml
+++ b/chapter07/network.xml
@@ -17,28 +17,29 @@
<screen><userinput>cd /etc/sysconfig/network-devices &amp;&amp;
mkdir ifconfig.eth0 &amp;&amp;
cat &gt; ifconfig.eth0/ipv4 &lt;&lt; "EOF"
-ONBOOT=yes
+<literal>ONBOOT=yes
SERVICE=ipv4-static
IP=192.168.1.1
GATEWAY=192.168.1.2
PREFIX=24
-BROADCAST=192.168.1.255
+BROADCAST=192.168.1.255</literal>
EOF</userinput></screen>
</sect2>
<sect2 id="resolv.conf">
-<title>Creating the /etc/resolv.conf file</title>
+<title>Creating the /etc/resolv.conf File</title>
<para>Create the file by running the following:</para>
<screen><userinput>cat &gt; /etc/resolv.conf &lt;&lt; "EOF"
-# Begin /etc/resolv.conf
+<literal># Begin /etc/resolv.conf
domain {<replaceable>[Your Domain Name]</replaceable>}
-nameserver <replaceable>[IP address of your nameserver]</replaceable>
+nameserver <replaceable>[IP address of your primary nameserver]</replaceable>
+nameserver <replaceable>[IP address of your secondary nameserver]</replaceable>
-# End /etc/resolv.conf
+# End /etc/resolv.conf</literal>
EOF</userinput></screen>
</sect2>