cvs commit: BLFS/packages/d dhcp-config.xml dhcp-desc.xml dhcp-exp.xml dhcp-inst.xml dhcp-intro.xml

markh at linuxfromscratch.org markh at linuxfromscratch.org
Wed Mar 27 16:48:12 PST 2002


markh       02/03/27 16:48:12

  Modified:    .        index.xml
               chapter01 changelog.xml credits.xml
               chapter06 dhcp.xml
               chapter09 chapter09.xml
  Added:       chapter09 dhcpd.xml
               packages/d dhcp-config.xml dhcp-desc.xml dhcp-exp.xml
                        dhcp-inst.xml dhcp-intro.xml
  Log:
  Add dhcp package instructions; main text in ch09 (where server config
  will eventually go); link in ch07.  Will add configuration info for both
  client and server soon.
  
  Revision  Changes    Path
  1.58      +16 -2     BLFS/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/index.xml,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- index.xml	26 Mar 2002 23:36:33 -0000	1.57
  +++ index.xml	28 Mar 2002 00:48:11 -0000	1.58
  @@ -4,8 +4,8 @@
   
   <!ENTITY book SYSTEM "book/book.xml">
   
  -<!ENTITY version "20020326">
  -<!ENTITY releasedate "March 26th, 2002">
  +<!ENTITY version "20020327">
  +<!ENTITY releasedate "March 27th, 2002">
   <!ENTITY maintainer-fullname "Mark Hymers">
   <!ENTITY maintainer-firstname "Mark">
   <!ENTITY maintainer-address "markh at linuxfromscratch.org">
  @@ -129,6 +129,7 @@
   
   <!ENTITY chapter09 SYSTEM "chapter09/chapter09.xml"> 
   <!ENTITY ch09-openssh SYSTEM "chapter09/openssh.xml">
  +<!ENTITY ch09-dhcpd SYSTEM "chapter09/dhcpd.xml">
   
   <!ENTITY chapter10 SYSTEM "chapter10/chapter10.xml">
   <!ENTITY chapter11 SYSTEM "chapter11/chapter11.xml">
  @@ -222,6 +223,19 @@
   <!ENTITY db-version "4.0.14">
   <!ENTITY db-download "http://www.sleepycat.com/update/4.0.14/db-4.0.14.tar.gz">
   <!ENTITY db-size "2.6 MB">
  +
  +<!ENTITY dhcp SYSTEM "packages/d/dhcp.xml">
  +<!ENTITY dhcp-intro SYSTEM "packages/d/dhcp-intro.xml">
  +<!ENTITY dhcp SYSTEM "packages/d/dhcp.xml">
  +<!ENTITY dhcp-intro SYSTEM "packages/d/dhcp-intro.xml">
  +<!ENTITY dhcp-inst SYSTEM "packages/d/dhcp-inst.xml">
  +<!ENTITY dhcp-exp SYSTEM "packages/d/dhcp-exp.xml">
  +<!ENTITY dhcp-desc SYSTEM "packages/d/dhcp-desc.xml">
  +<!ENTITY dhcp-config SYSTEM "packages/d/dhcp-config.xml">
  +<!ENTITY dhcp-buildsize "23 MB">
  +<!ENTITY dhcp-version "3.0">
  +<!ENTITY dhcp-download "ftp://ftp.isc.org/isc/dhcp/dhcp-3.0.tar.gz">
  +<!ENTITY dhcp-size "845 KB">
   
   <!ENTITY dhcpcd SYSTEM "packages/d/dhcpcd.xml">
   <!ENTITY dhcpcd-intro SYSTEM "packages/d/dhcpcd-intro.xml">
  
  
  
  1.55      +3 -0      BLFS/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/chapter01/changelog.xml,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- changelog.xml	26 Mar 2002 23:36:33 -0000	1.54
  +++ changelog.xml	28 Mar 2002 00:48:11 -0000	1.55
  @@ -10,6 +10,9 @@
   
   <itemizedlist>
   
  +<listitem><para>March 27th, 2002 [markh]: Chapter 07 and 09 - Added
  +dhcp package instructions.</para></listitem>
  +
   <listitem><para>March 26th, 2002 [markh]: Chapter 04 - Add pcre-3.9
   instructions.</para></listitem>
   
  
  
  
  1.22      +1 -1      BLFS/chapter01/credits.xml
  
  Index: credits.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/chapter01/credits.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- credits.xml	26 Mar 2002 23:36:33 -0000	1.21
  +++ credits.xml	28 Mar 2002 00:48:11 -0000	1.22
  @@ -76,7 +76,7 @@
   <listitem><para>fetchmail and wvdial: <emphasis>Paul
   Campbell</emphasis></para></listitem>
   
  -<listitem><para>fcron, OpenSSH, pcre and QT: <emphasis>Larry
  +<listitem><para>dhcp, fcron, OpenSSH, pcre and QT: <emphasis>Larry
   Lawrence</emphasis></para></listitem>
   
   <listitem><para><xref linkend="iptables"/>: <emphasis>Henning
  
  
  
  1.4       +20 -2     BLFS/chapter06/dhcp.xml
  
  Index: dhcp.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/chapter06/dhcp.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- dhcp.xml	15 Feb 2002 17:01:21 -0000	1.3
  +++ dhcp.xml	28 Mar 2002 00:48:11 -0000	1.4
  @@ -8,12 +8,30 @@
   to computers.  If your network uses DHCP, you will need a DHCP client
   in order to connect to it.  DHCP is also used by some cable modems.</para>
   
  -<para>We currently provide installation instructions for only one DHCP
  -client.  Hopefully we will include others soon.</para>
  +<para>We currently provide installation instructions for two DHCP
  +clients, those from the dhcp and dhcpcd packages..</para>
   
   <itemizedlist>
  +<listitem><para><xref linkend="dhcp"/></para></listitem>
   <listitem><para><xref linkend="dhcpcd"/></para></listitem>
   </itemizedlist>
  +
  +</sect1>
  +
  +<sect1 id="ch06-dhcpd">
  +<?dbhtml filename="dhcpd.html" dir="chapter06"?>
  +<title>Installing dhcp-&dhcp-version;</title>
  +
  +<para>The dhcp package comes with both a client and a server program for
  +using DHCP.  If you want to install it, the instructions can be found 
  +in Chapter 09 - <xref linkend="dhcp"/>.  Note that if you only want to use 
  +the client, you do <emphasis>not</emphasis> need to run the server and so 
  +do not need the startup script and links provided for the server daemon.
  +Note that to use the client, you still need to alter your
  +<filename>ethnet</filename> script as described in the previous section.
  +You only need to run the DHCP server however, if you're providing this
  +service to a network, and it's likely that you'll know if that's the
  +case; if it isn't, don't run the server!</para>
   
   </sect1>
   
  
  
  
  1.5       +5 -2      BLFS/chapter09/chapter09.xml
  
  Index: chapter09.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/chapter09/chapter09.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- chapter09.xml	26 Mar 2002 16:35:39 -0000	1.4
  +++ chapter09.xml	28 Mar 2002 00:48:12 -0000	1.5
  @@ -2,16 +2,19 @@
   <?dbhtml filename="chapter09.html" dir="chapter09"?>
   <title>Server software</title>
   
  -<para>Currently only instructions for OpenSSH are available.</para>
  +<para>Currently only instructions for OpenSSH and install instructions
  +for dhcpd are available.</para>
   
   <para>Still to go in: xinetd. telnetd, ftpd, etc. and why you don't want to 
  -use them., -- dhcpd, -- BASIC DNS server; i.e any compile problems
  +use them., -- BASIC DNS server; i.e any compile problems
   found</para>
   
   <itemizedlist>
   <listitem><para><xref linkend="openssh"/></para></listitem>
  +<listitem><para><xref linkend="dhcp"/></para></listitem>
   </itemizedlist>
   
   &ch09-openssh;
  +&ch09-dhcpd;
   
   </chapter>
  
  
  
  1.1                  BLFS/chapter09/dhcpd.xml
  
  Index: dhcpd.xml
  ===================================================================
  <sect1 id="ch09-dhcpd">
  <?dbhtml filename="dhcpd.html" dir="chapter09"?>
  <title>Installing dhcp-&dhcp-version;</title>
  
  &dhcp;
  
  </sect1>
  
  
  
  
  1.1                  BLFS/packages/d/dhcp-config.xml
  
  Index: dhcp-config.xml
  ===================================================================
  <sect3>
  <title>Configuring dhcp</title>
  
  <sect4><title>Config files</title>
  <para><userinput>/etc/dhclient.conf</userinput></para>
  </sect4>
  
  <sect4><title>Configuration Information</title>
  
  <para>Information on configuring dhcpd as a server will appear here
  later.  Information on configuring the dhcp client can be found in
  Chapter 06.</para>
  
  </sect4>
  
  </sect3>
  
  
  
  
  1.1                  BLFS/packages/d/dhcp-desc.xml
  
  Index: dhcp-desc.xml
  ===================================================================
  <sect3>
  <title>Contents</title>
  
  <para>The dhcp package contains <userinput>dhclient, dhcpd</userinput>
  and <userinput>dhcrelay</userinput>.</para>
  
  </sect3>
  
  <sect3><title>Description</title>
  
  <sect4><title>dhclient</title>
  <para>dhclient is the implemtation of the DHCP client.</para></sect4>
  
  <sect4><title>dhcpd</title>
  <para>dhcpd implements Dynamic Host Configuration Protocol (DHCP)
  and Internet Bootstrap Protocol (BOOTP) requests for network
  addresses.</para></sect4>
  
  <sect4><title>dhcrelay</title>
  <para>dhcrelay provides a means to accept DHCP and BOOTP requests on a
  subnet without a DHCP server and relay them to a DHCP server on another
  subnet.</para></sect4>
  
  </sect3>
  
  
  
  
  1.1                  BLFS/packages/d/dhcp-exp.xml
  
  Index: dhcp-exp.xml
  ===================================================================
  <sect3>
  <title>Command explanations</title>
  
  <para><userinput>make CC="gcc $CFLAGS" :</userinput> This makes dhcp
  compile using our CFLAGS for optimizations.</para>
  
  <para><userinput>LIBDIR=/usr/lib INCDIR=/usr/include:</userinput> This
  command installs the library and include files in <filename
  class="directory">/usr</filename> instead of <filename
  class="directory">/usr/local</filename>.</para>
  
  </sect3>
  
  
  
  
  1.1                  BLFS/packages/d/dhcp-inst.xml
  
  Index: dhcp-inst.xml
  ===================================================================
  <sect3>
  <title>Installation of dhcp</title>
  
  <para>Install dhcp by running the following commands:</para>
  
  <para><screen><userinput>./configure &&
  make CC="gcc $CFLAGS" &&
  make LIBDIR=/usr/lib INCDIR=/usr/include install</userinput></screen></para>
  
  </sect3>
  
  
  
  
  1.1                  BLFS/packages/d/dhcp-intro.xml
  
  Index: dhcp-intro.xml
  ===================================================================
  <sect3>
  <title>Introduction to dhcp</title>
  
  <screen>Download location:              &dhcp-download;
  Version used:                   &dhcp-version;
  Package size:                   &dhcp-size;
  Estimated Disk space required:  &dhcp-buildsize;</screen>
  
  <para>The dhcp package contains both the client and server programs for
  DHCP. dhclient (the client) is useful for connecting your computer to a
  network which uses DHCP to assign network addresses. dhcpd (the server)
  is useful for assigning network addresses on your private network.</para>
  
  <screen>dhcp needs nothing to compile but you must have Packet Socket
  support compiled in the kernel and Socket Filtering either compiled in
  or as a kernel module to use it.</screen>
  
  </sect3>
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-book' in the subject header of the message



More information about the blfs-book mailing list