aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09/network.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter09/network.xml')
-rw-r--r--chapter09/network.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/chapter09/network.xml b/chapter09/network.xml
index 45cd1d438..52eb35c18 100644
--- a/chapter09/network.xml
+++ b/chapter09/network.xml
@@ -31,7 +31,7 @@
will assign network card interface names based on system physical
characteristics such as enp2s1. If you are not sure what your interface
name is, you can always run <command>ip link</command> or <command>ls
- /sys/class/net</command> after you have booted your system.
+ /sys/class/net</command> after you have booted your system.
</para></note>
<para>The following command creates a sample file for the
@@ -157,21 +157,21 @@ EOF</userinput></screen>
<indexterm zone="ch-config-hosts">
<primary sortas="e-/etc/hosts">/etc/hosts</primary>
</indexterm>
-
+
<indexterm zone="ch-config-hosts">
<primary sortas="d-localnet">localnet</primary>
<secondary>/etc/hosts</secondary>
</indexterm>
-
+
<indexterm zone="ch-config-hosts">
<primary sortas="d-network">network</primary>
<secondary>/etc/hosts</secondary>
</indexterm>
-
+
<para>Decide on the IP address, fully-qualified domain name (FQDN), and
possible aliases for use in the <filename>/etc/hosts</filename> file. The
syntax is:</para>
-
+
<screen><literal>IP_address myhost.example.org aliases</literal></screen>
<para>Unless the computer is to be visible to the Internet (i.e., there is
@@ -186,13 +186,13 @@ EOF</userinput></screen>
<para>x can be any number in the range 16-31. y can be any number in the
range 0-255.</para>
-
+
<para>A valid private IP address could be 192.168.1.1. A valid FQDN for
this IP could be lfs.example.org.</para>
-
+
<para>Even if not using a network card, a valid FQDN is still required.
This is necessary for certain programs to operate correctly.</para>
-
+
<para>Create the <filename>/etc/hosts</filename> file by running:</para>
<screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
@@ -209,7 +209,7 @@ ff02::2 ip6-allrouters
EOF</userinput></screen>
<para>The <replaceable>&lt;192.168.1.1&gt;</replaceable>,
- <replaceable>&lt;FQDN&gt;</replaceable>, and
+ <replaceable>&lt;FQDN&gt;</replaceable>, and
<replaceable>&lt;HOSTNAME&gt;</replaceable> values need to be
changed for specific uses or requirements (if assigned an IP address by a
network/system administrator and the machine will be connected to an