aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2003-10-09 22:35:55 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2003-10-09 22:35:55 +0000
commit51c7e26fb0ed51914d4e2843e82d4a87ed98478a (patch)
treecb9bfa97c52d70cc4d381ba4d8376767571b8fd8 /chapter06
parentc1e4223cca7f15f1f1fedd8a088ec196e3c7657b (diff)
Minor brush-ups, and splitting the basic-net section.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2956 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/basic-net.xml2
-rw-r--r--chapter06/chapter06.xml1
-rw-r--r--chapter06/lfs-utils-inst.xml9
-rw-r--r--chapter06/perl-inst.xml9
4 files changed, 18 insertions, 3 deletions
diff --git a/chapter06/basic-net.xml b/chapter06/basic-net.xml
index 8b537a76e..d868d7460 100644
--- a/chapter06/basic-net.xml
+++ b/chapter06/basic-net.xml
@@ -2,6 +2,8 @@
<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
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index bc2e4f8c2..6de08e206 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -33,7 +33,6 @@
&c6-gettext;
&c6-nettools;
&c6-inetutils;
-&c6-basic-net;
&c6-perl;
&c6-texinfo;
&c6-autoconf;
diff --git a/chapter06/lfs-utils-inst.xml b/chapter06/lfs-utils-inst.xml
index c9ce92233..5bc4a0d5a 100644
--- a/chapter06/lfs-utils-inst.xml
+++ b/chapter06/lfs-utils-inst.xml
@@ -11,5 +11,14 @@
<para><screen><userinput>make install</userinput></screen></para>
+<para>Now copy two supporting files included in the Lfs-Utils tarball to
+their destination:</para>
+
+<para><screen><userinput>cp -f etc/{services,protocols} /etc</userinput></screen></para>
+
+<para>The <filename>/etc/services</filename> file is used to resolve service
+numbers to human-readable names, and the <filename>/etc/protocols</filename>
+does the same for protocol numbers.</para>
+
</sect2>
diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml
index 26d418747..3b8788879 100644
--- a/chapter06/perl-inst.xml
+++ b/chapter06/perl-inst.xml
@@ -18,8 +18,13 @@ above.</para>
<para><screen><userinput>make</userinput></screen></para>
<para>This package has a test suite available which can perform a number of
-checks to ensure it built correctly. Should you choose to run it, the
-following command will do so:</para>
+checks to ensure it built correctly. Should you choose to run it, you first
+have to create a basic <filename>/etc/hosts</filename> file, needed by a
+couple of tests to resolve the name <emphasis>localhost</emphasis>:</para>
+
+<para><screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen></para>
+
+<para>Now run the tests, if you wish:</para>
<para><screen><userinput>make test</userinput></screen></para>