Ignore:
Timestamp:
09/24/2003 01:20:44 AM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
cce6b02e
Parents:
19234f1
Message:

update samba intro

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1181 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/other/dhcp/dhcp-config.xml

    r19234f1 r40330fcd  
    11<sect2>
    2 <title>Configuring dhcp</title>
     2<title>Configuring <application><acronym>DHCP</acronym></application></title>
    33
    44<sect3><title>Config files</title>
     
    88<sect3><title>Configuration Information</title>
    99
    10 <para>Information on configuring the dhcp client can be found in
    11 Chapter 14.</para>
     10<para>Information on configuring the <acronym>DHCP</acronym> client can be
     11found in Chapter 14.</para>
    1212
    13 <para>Note that you only want to start the dhcp server if you want to
    14 issue LAN addresses over your network.  The dhcp client doesn't need
    15 this script to be used.  Also note that this script is coded for the
    16 'eth1' INTERFACE, which may need to be modified for your hardware
    17 configuration. With that in mind the dhcp init.d script can be created
     13<para>Note that you only want to start the <acronym>DHCP</acronym> server if
     14you want to issue <acronym>LAN</acronym> addresses over your network.  The
     15<acronym>DHCP</acronym> client doesn't need this script to be used.  Also note
     16that this script is coded for the <emphasis role="strong">eth1</emphasis>
     17interface, which may need to be modified for your hardware configuration.
     18With that in mind the <command>dhcp</command> init.d script can be created
    1819using the following commands.</para>
    1920
    20 <para><screen><userinput>cat &gt; /etc/rc.d/init.d/dhcp &lt;&lt; "EOF"</userinput>
     21<screen><userinput><command>cat &gt; /etc/rc.d/init.d/dhcp &lt;&lt; "EOF"</command>
    2122#!/bin/sh
    2223# Begin $rc_base/init.d/dhcp
     
    6162
    6263# End $rc_base/init.d/dhcp
    63 <userinput>EOF
    64 chmod 755 /etc/rc.d/init.d/dhcp</userinput></screen></para>
     64<command>EOF
     65chmod 755 /etc/rc.d/init.d/dhcp</command></userinput></screen>
    6566
    6667<para>The lease file must exist on startup.  The following command will
    6768satisfy that requirement:</para>
    6869
    69 <para><screen><userinput>touch /var/state/dhcp/dhcpd.leases</userinput></screen></para>
     70<screen><userinput><command>touch /var/state/dhcp/dhcpd.leases</command></userinput></screen>
    7071
    7172<para>The follow commands will create a base configuration file for a
    72 dhcp server.  There are several options that you may want to
    73 add (information that is passed back to the dhcp client) and those are
    74 covered in the man pages for <filename>dhcp.conf</filename>.</para>
     73<acronym>DHCP</acronym> server.  There are several options that you may want to
     74add (information that is passed back to the <acronym>DHCP</acronym> client) and
     75those are covered in the man pages for <filename>dhcp.conf</filename>.</para>
    7576
    76 <para><screen><userinput>cat &gt; /etc/dhcpd.conf &lt;&lt; "EOF"</userinput>
     77<screen><userinput><command>cat &gt; /etc/dhcpd.conf &lt;&lt; "EOF"</command>
    7778default-lease-time 72000;
    7879max-lease-time 144000;
     
    8485  option routers 192.168.5.1;
    8586}
    86 <userinput>EOF</userinput></screen></para>
     87<command>EOF</command></userinput></screen>
    8788
    8889<para>All addresses should be changed to meet your circumstance.</para>
Note: See TracChangeset for help on using the changeset viewer.