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 --- appendixa/lfs-utils-desc.xml | 9 +++++++++ chapter01/changelog.xml | 8 ++++++++ chapter06/basic-net.xml | 26 ++++++++++++++++++++++++++ chapter06/chapter06.xml | 1 + entities/basic-net.ent | 1 + entities/lfs-utils.ent | 8 ++++---- index.xml | 2 ++ 7 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 chapter06/basic-net.xml create mode 100644 entities/basic-net.ent diff --git a/appendixa/lfs-utils-desc.xml b/appendixa/lfs-utils-desc.xml index b9723a43d..1c1a6ed10 100644 --- a/appendixa/lfs-utils-desc.xml +++ b/appendixa/lfs-utils-desc.xml @@ -13,6 +13,15 @@ tempfile creates temporary files in a less secure manner than mktemp. It is installed for backwards-compatibility. +http-get +http-get is a script that takes advantage of a little known +feature of Bash called "net redirection". It is used to download from +websites without using any third-party programs. + +iana-net +iana-net uses the http-get to simplify the process of procuring +IANA's services and protocols configuration files. + diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 6bca90fd7..8a153171f 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -18,6 +18,7 @@ grep-2.5.1 groff-1.19 less-381 +lfs-utils-0.2.2 libtool-1.5 man-1.5l man-1.5l-80cols.patch @@ -71,6 +72,13 @@ +May 11th, 2003 (Bug #359 & #515) [winkie]: Chapter +06 - Setting up Basic Networking: Added section. Create a basic /etc/hosts +files, and create /etc/services and /etc/protocols from IANA. + +May 11th, 2003 [winkie]: Upgrading to lfs-utils-0.2.2. +This adds two files needed for proper networking configuration. + May 11th, 2003 (Bug #490) [winkie]: Removed Netkit-base 0.17. Added Inetutils 1.4.2. 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 + + + diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 4aa5225d2..c0ff7547c 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -33,6 +33,7 @@ &c6-gettext; &c6-nettools; &c6-inetutils; +&c6-basic-net; &c6-perl; &c6-texinfo; &c6-autoconf; diff --git a/entities/basic-net.ent b/entities/basic-net.ent new file mode 100644 index 000000000..e47c44950 --- /dev/null +++ b/entities/basic-net.ent @@ -0,0 +1 @@ + diff --git a/entities/lfs-utils.ent b/entities/lfs-utils.ent index c12638fa2..6b381c4bb 100644 --- a/entities/lfs-utils.ent +++ b/entities/lfs-utils.ent @@ -12,12 +12,12 @@ - + - - + + - + diff --git a/index.xml b/index.xml index e138b8b58..0bb7df1da 100644 --- a/index.xml +++ b/index.xml @@ -40,6 +40,7 @@ + @@ -113,6 +114,7 @@ %autoconf-entities; %automake-entities; %bash-entities; +%basic-net-entities; %bin86-entities; %binutils-entities; %bison-entities; -- cgit v1.2.3-54-g00ecf