diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-08-28 21:19:35 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-08-28 21:19:35 +0000 |
commit | 2ab760cde91260db132da0432dde44e6d2f53f0a (patch) | |
tree | ef9fc49dd0d32fc93007bfbad5f03589bea44974 /chapter06/basic-net.xml | |
parent | ae581daa002f6651c564c2cfccb159ccdb6686e0 (diff) |
Fixing some typos, adding a little markup, and other random retouches.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2691 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/basic-net.xml')
-rw-r--r-- | chapter06/basic-net.xml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/chapter06/basic-net.xml b/chapter06/basic-net.xml index 8bfd7671a..dc419ecd0 100644 --- a/chapter06/basic-net.xml +++ b/chapter06/basic-net.xml @@ -4,21 +4,22 @@ <para>Here will be set up basic networking now that all the necessary software has been installed. There isn't all that much to do, really, -just creating a basic /etc/hosts file, and downloading some very -high-quality network information files.</para> +just creating a basic <filename>/etc/hosts</filename> file, and downloading +some high-quality network information files.</para> -<para>The first step is to create /etc/hosts. This file contains -information allowing resolution of hostnames to IP addresses. Create a -very basic one (we'll make a better one later) with the following +<para>The first step is to create <filename>/etc/hosts</filename>. This file +contains information allowing resolution of host names to IP addresses. +Create a very basic one (we'll make a better one later) with the following command:</para> <para><screen><userinput>echo "127.0.0.1 $(hostname) localhost" > /etc/hosts</userinput></screen></para> <para>Now unpack the Lfs-Utils tarball again, as we're going to copy two -necessary files from it. One is the /etc/services file, which is used to -resolv service numbers to human-readable names, and the /etc/protocols -file, which does the same for protocol numbers. Copy them with the -following command after you have entered the Lfs-Utils directory:</para> +necessary files from it. One is <filename>/etc/services</filename>, which is +used to resolve service numbers to human-readable names, and the other is +<filename>/etc/protocols</filename>, which does the same for protocol numbers. +Copy them with the following command after you have entered the Lfs-Utils +directory:</para> <para><screen><userinput>cp -f etc/{services,protocols} /etc</userinput></screen></para> |