mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
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
This commit is contained in:
parent
0b6cb049c3
commit
eec6e6dc6e
@ -13,6 +13,15 @@
|
||||
<para>tempfile creates temporary files in a less secure manner than mktemp.
|
||||
It is installed for backwards-compatibility.</para></sect4>
|
||||
|
||||
<sect4><title>http-get</title>
|
||||
<para>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.</para></sect4>
|
||||
|
||||
<sect4><title>iana-net</title>
|
||||
<para>iana-net uses the http-get to simplify the process of procuring
|
||||
IANA's services and protocols configuration files.</para></sect4>
|
||||
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
@ -18,6 +18,7 @@
|
||||
<listitem><para>grep-2.5.1</para></listitem>
|
||||
<listitem><para>groff-1.19</para></listitem>
|
||||
<listitem><para>less-381</para></listitem>
|
||||
<listitem><para>lfs-utils-0.2.2</para></listitem>
|
||||
<listitem><para>libtool-1.5</para></listitem>
|
||||
<listitem><para>man-1.5l</para></listitem>
|
||||
<listitem><para>man-1.5l-80cols.patch</para></listitem>
|
||||
@ -71,6 +72,13 @@
|
||||
</itemizedlist>
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>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.</para></listitem>
|
||||
|
||||
<listitem><para>May 11th, 2003 [winkie]: Upgrading to lfs-utils-0.2.2.
|
||||
This adds two files needed for proper networking configuration.</para></listitem>
|
||||
|
||||
<listitem><para>May 11th, 2003 (Bug #490) [winkie]: Removed Netkit-base
|
||||
0.17. Added Inetutils 1.4.2.</para></listitem>
|
||||
|
||||
|
26
chapter06/basic-net.xml
Normal file
26
chapter06/basic-net.xml
Normal file
@ -0,0 +1,26 @@
|
||||
<sect1 id="ch06-basic-net">
|
||||
<title>Setting up Basic Networking</title>
|
||||
<?dbhtml filename="basic-net.html" dir="chapter06"?>
|
||||
|
||||
<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 /etc/hosts file, and downloading some very
|
||||
high-quality network information files.</para>
|
||||
|
||||
<para>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:</para>
|
||||
|
||||
<para><screen><userinput>echo '127.0.0.1 localhost' > /etc/hosts</userinput></screen></para>
|
||||
|
||||
<para>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:</para>
|
||||
|
||||
<para><screen><userinput>cp -f etc/{services,protocols} /etc</userinput></screen></para>
|
||||
|
||||
</sect1>
|
||||
|
@ -33,6 +33,7 @@
|
||||
&c6-gettext;
|
||||
&c6-nettools;
|
||||
&c6-inetutils;
|
||||
&c6-basic-net;
|
||||
&c6-perl;
|
||||
&c6-texinfo;
|
||||
&c6-autoconf;
|
||||
|
1
entities/basic-net.ent
Normal file
1
entities/basic-net.ent
Normal file
@ -0,0 +1 @@
|
||||
<!ENTITY c6-basic-net SYSTEM "../chapter06/basic-net.xml">
|
@ -12,12 +12,12 @@
|
||||
<!ENTITY aa-lfs-utils-down SYSTEM "../appendixa/lfs-utils-down.xml">
|
||||
<!ENTITY aa-lfs-utils-shortdesc SYSTEM "../appendixa/lfs-utils-shortdesc.xml">
|
||||
|
||||
<!ENTITY lfs-utils-version "0.2.1">
|
||||
<!ENTITY lfs-utils-version "0.2.2">
|
||||
<!ENTITY lfs-utils-depversion "">
|
||||
<!ENTITY lfs-utils-contversion "0.2.1">
|
||||
<!ENTITY lfs-utils-size "6 KB">
|
||||
<!ENTITY lfs-utils-contversion "0.2.2">
|
||||
<!ENTITY lfs-utils-size "156 KB">
|
||||
<!ENTITY lfs-utils-dir "lfs-utils-&lfs-utils-version;">
|
||||
<!ENTITY lfs-utils-package "lfs-utils-&lfs-utils-version;.tar.bz2">
|
||||
|
||||
<!ENTITY lfs-utils-compsize "33 KB">
|
||||
<!ENTITY lfs-utils-compsize "610 KB">
|
||||
<!ENTITY lfs-utils-time "0.01 SBU">
|
||||
|
@ -40,6 +40,7 @@
|
||||
<!ENTITY % autoconf-entities SYSTEM "entities/autoconf.ent">
|
||||
<!ENTITY % automake-entities SYSTEM "entities/automake.ent">
|
||||
<!ENTITY % bash-entities SYSTEM "entities/bash.ent">
|
||||
<!ENTITY % basic-net-entities SYSTEM "entities/basic-net.ent">
|
||||
<!ENTITY % bin86-entities SYSTEM "entities/bin86.ent">
|
||||
<!ENTITY % binutils-entities SYSTEM "entities/binutils.ent">
|
||||
<!ENTITY % bison-entities SYSTEM "entities/bison.ent">
|
||||
@ -113,6 +114,7 @@
|
||||
%autoconf-entities;
|
||||
%automake-entities;
|
||||
%bash-entities;
|
||||
%basic-net-entities;
|
||||
%bin86-entities;
|
||||
%binutils-entities;
|
||||
%bison-entities;
|
||||
|
Loading…
Reference in New Issue
Block a user