From eec6e6dc6ed147269ff7eae9f1392192481833f4 Mon Sep 17 00:00:00 2001 From: Timothy Bauscher Date: Mon, 12 May 2003 00:18:10 +0000 Subject: Zack's patches: Fix Bugs #359 and #515. Added /etc/hosts creation to beginning of ch6. Detailed services,protocols files and update to lfs-utils. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2571 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/basic-net.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 chapter06/basic-net.xml (limited to 'chapter06/basic-net.xml') diff --git a/chapter06/basic-net.xml b/chapter06/basic-net.xml new file mode 100644 index 000000000..c89ecc7d9 --- /dev/null +++ b/chapter06/basic-net.xml @@ -0,0 +1,26 @@ + +Setting up Basic Networking + + +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. + +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 +command: + +echo '127.0.0.1 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 +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: + +cp -f etc/{services,protocols} /etc + + + -- cgit v1.2.3-54-g00ecf