diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-10-13 22:32:17 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-10-13 22:32:17 +0000 |
commit | c5194aac1989ba079270b58ec1cfba8d5b4dd5f8 (patch) | |
tree | 1964566cee6f4954c6b9aa00184fc8f84fa410e0 /chapter06 | |
parent | a6505d97a1847b029130a6eb207b4324559bb6cd (diff) |
Cleaning up basic-net and some entities.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2976 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/basic-net.xml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/chapter06/basic-net.xml b/chapter06/basic-net.xml deleted file mode 100644 index 1148c51b2..000000000 --- a/chapter06/basic-net.xml +++ /dev/null @@ -1,29 +0,0 @@ -<sect1 id="ch06-basic-net"> -<title>Setting up Basic Networking</title> -<?dbhtml filename="basic-net.html" dir="chapter06"?> - -<!-- Will clean this up later. --> - -<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 <filename>/etc/hosts</filename> file, and downloading -some high-quality network information files.</para> - -<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, but Perl needs it now -for doing some tests) with the following command:</para> - -<screen><userinput>echo "127.0.0.1 $(hostname) localhost" > /etc/hosts</userinput></screen> - -<para>Now unpack the Lfs-Utils tarball again, as we're going to copy two -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> - -<screen><userinput>cp -f etc/{services,protocols} /etc</userinput></screen> - -</sect1> - |