diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index c1e50b32d..815426653 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -71,6 +71,10 @@
+May 12th, 2003 [gerard]: Chapter 06 - Basic Network: Added
+$(hostname) to /etc/hosts, without it perl's test doens't
+pass.
+
May 11th, 2003 [gerard]: Chapter 06 - GCC-2.95.3: Added
--enable-threads=posix as well to complete the C++
addition.
diff --git a/chapter06/basic-net.xml b/chapter06/basic-net.xml
index c89ecc7d9..c630abf33 100644
--- a/chapter06/basic-net.xml
+++ b/chapter06/basic-net.xml
@@ -12,7 +12,7 @@ information allowing resolution of hostnames to IP addresses. Create a
very basic one (we'll make a better one later) with the following
command:
-echo '127.0.0.1 localhost' > /etc/hosts
+echo '127.0.0.1 $(hostname) localhost' > /etc/hosts
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