Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/connect/dhcp.xml

    r8558044 r3f2db3a6  
    77  <!ENTITY dhcp-download-http "https://ftp.isc.org/isc/dhcp/&dhcp-version;/dhcp-&dhcp-version;.tar.gz">
    88  <!ENTITY dhcp-download-ftp  "ftp://ftp.isc.org/isc/dhcp/&dhcp-version;/dhcp-&dhcp-version;.tar.gz">
    9   <!ENTITY dhcp-md5sum        "3089a1ebd20a802ec0870ae337d43907">
    10   <!ENTITY dhcp-size          "9.4 MB">
    11   <!ENTITY dhcp-buildsize     "115 MB">
    12   <!ENTITY dhcp-time          "0.4 SBU">
     9  <!ENTITY dhcp-md5sum        "36c6ca77212373b0cff478ae9e5d32af">
     10  <!ENTITY dhcp-size          "9.6 MB">
     11  <!ENTITY dhcp-buildsize     "199 MB">
     12  <!ENTITY dhcp-time          "0.7 SBU">
    1313]>
    1414
     
    1616  <?dbhtml filename="dhcp.html"?>
    1717
    18   <sect1info>
    19     <date>$Date$</date>
    20   </sect1info>
    2118
    2219  <title>DHCP-&dhcp-version;</title>
     
    3734    </para>
    3835
    39     &lfs110a_checked;
     36    &lfs112_checked;
    4037
    4138    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    127124    <title>Installation of ISC DHCP</title>
    128125
     126<!-- Not needed when building DHCP-4.4.3.
    129127    <para>
    130128      First, fix a build issue with GCC 10 and later:
     
    135133    -i client/dhclient.c              \
    136134       relay/dhcrelay.c</userinput></screen>
    137 
     135-->
    138136    <note>
    139137      <para>
     
    315313      </para>
    316314
    317 <screen role="root" revision="sysv"><userinput>dhclient <replaceable>&lt;eth0&gt;</replaceable></userinput></screen>
    318 
    319 <screen role="root" revision="systemd"><userinput>systemctl start dhclient@<replaceable>eth0</replaceable></userinput></screen>
     315<screen role="root"
     316        remap="test"
     317        revision="sysv"><userinput>dhclient <replaceable>&lt;eth0&gt;</replaceable></userinput></screen>
     318
     319<screen role="root"
     320        remap="test"
     321        revision="systemd"><userinput>systemctl start dhclient@<replaceable>eth0</replaceable></userinput></screen>
    320322
    321323      <para revision="sysv">
     
    433435      </para>
    434436
    435       <para>
    436         Now create the <filename class="directory">/var/lib/dhcpd</filename>
     437<!-- the "touch..." is needed according to dhcpd.leases(5) -->
     438      <para>
     439        Now create the <filename>/var/lib/dhcpd/dhcpd.leases</filename>
    437440        directory which will contain DHCP Server leases by running the following
    438         command as the <systemitem class="username">root</systemitem> user:
    439       </para>
    440 
    441 <screen role="root"><userinput>install -v -dm 755 /var/lib/dhcpd</userinput></screen>
     441        commands as the <systemitem class="username">root</systemitem> user:
     442      </para>
     443
     444<screen role="root"><userinput>install -v -dm 755 /var/lib/dhcpd &amp;&amp;
     445touch /var/lib/dhcpd/dhcpd.leases</userinput></screen>
    442446
    443447       <para>
    444448        If you want to start the DHCP Server at boot, install the
    445449        <phrase revision="sysv"><filename>/etc/rc.d/init.d/dhcpd</filename>
    446         inti script</phrase>
     450        init script</phrase>
    447451        <phrase revision="systemd"><filename>dhcpd.service</filename>
    448452        unit</phrase> included in the
Note: See TracChangeset for help on using the changeset viewer.