Ignore:
Timestamp:
05/30/2005 04:13:27 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
9f271dd
Parents:
516640ed
Message:

Removed spaces from blank lines and excess spaces from the end of XML data

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • connect/dhcp/dhcp-client.xml

    r516640ed r4839c17  
    88<sect1 id="dhcp-client" xreflabel="DHCP-&dhcp-version; Client">
    99  <?dbhtml filename="dhcpclient.html"?>
    10  
     10
    1111  <sect1info>
    1212    <othername>$LastChangedBy$</othername>
    1313    <date>$Date$</date>
    1414  </sect1info>
    15  
     15
    1616  <title>DHCP-&dhcp-version; Client</title>
    17  
     17
    1818  <indexterm zone="dhcp-client">
    1919    <primary sortas="b-dhclient">dhclient</primary>
    2020  </indexterm>
    21  
     21
    2222  <para>The <application>DHCP</application> package comes with
    2323  both a client (<command>dhclient</command>) and a server program for
     
    3232  package, return here for information on how to configure the client
    3333  (<command>dhclient</command>).</para>
    34  
     34
    3535  <sect2 role="configuration">
    3636    <title>Configuring DHCP Client</title>
    37  
     37
    3838      <para id="dhclient-service">To configure <command>dhclient</command>,
    3939      you need to first install the network service script,
    40       <filename>/etc/sysconfig/network-devices/services/dhclient</filename> 
     40      <filename>/etc/sysconfig/network-devices/services/dhclient</filename>
    4141      included in the <xref linkend="intro-important-bootscripts"/> package
    4242      (as <systemitem class="username">root</systemitem>):</para>
    43      
     43
    4444      <indexterm zone="dhcp-client dhclient-service">
    4545        <primary sortas="f-dhclient">dhclient (service script)</primary>
    4646      </indexterm>
    47    
     47
    4848<screen role='root'><userinput>make install-service-dhclient</userinput></screen>
    49    
     49
    5050    <para id="dhclient-config1">Next, create the
    5151    <filename>/etc/sysconfig/network-devices/ifconfig.eth0/dhclient</filename>
     
    5353    class="username">root</systemitem> user.  Adjust as
    5454    necessary for additional interfaces:</para>
    55    
     55
    5656    <indexterm zone="dhcp-client dhclient-config1">
    5757      <primary sortas="e-etc-sysconfig-...-dhclient">/etc/sysconfig/.../dhclient</primary>
    5858    </indexterm>
    59    
     59
    6060<screen role='root'><userinput>install -v -d /etc/sysconfig/network-devices/ifconfig.eth0 &amp;&amp;
    6161cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0/dhclient &lt;&lt; "EOF"
     
    6565DHCP_STOP="-q -r <replaceable>[add additional stop parameters here]</replaceable>"</literal>
    6666EOF</userinput></screen>
    67    
     67
    6868    <para>For more information on the appropriate
    69     <envar>DHCP_START</envar> and <envar>DHCP_STOP</envar> 
     69    <envar>DHCP_START</envar> and <envar>DHCP_STOP</envar>
    7070    values, examine the man page for <command>dhclient</command>.</para>
    71    
     71
    7272    <para id="dhclient-config2">Finally, you should create the
    7373    <filename>/etc/dhclient.conf</filename> file using the following commands
    74     as the <systemitem class="username">root</systemitem> user:</para> 
    75    
     74    as the <systemitem class="username">root</systemitem> user:</para>
     75
    7676    <indexterm zone="dhcp-client dhclient-config2">
    7777      <primary sortas="e-etc-dhclient.conf">/etc/dhclient.conf</primary>
    7878    </indexterm>
    79    
     79
    8080    <note>
    8181      <para>You'll need to add a second interface definition to the file if you
    8282      have more than one interface.</para>
    8383    </note>
    84    
     84
    8585<screen role='root'><userinput>cat &gt; /etc/dhclient.conf &lt;&lt; "EOF"
    8686<literal># dhclient.conf
    87    
     87
    8888interface "eth0"{
    8989prepend domain-name-servers 127.0.0.1;
     
    9494# end dhclient.conf</literal>
    9595EOF</userinput></screen>
    96    
     96
    9797  </sect2>
    9898
Note: See TracChangeset for help on using the changeset viewer.