Added indexing tags to the DHCP Client instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3316 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-01-19 21:14:55 +00:00
parent 39f44e7d1b
commit 9cf73e38a2
2 changed files with 26 additions and 17 deletions

View File

@ -5,13 +5,15 @@
%general-entities;
]>
<sect1 id="connect-dhcp-client">
<sect1 id="dhcp-client" xreflabel="DHCP-&dhcp-version; Client">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="dhcpclient.html"?>
<title>DHCP-&dhcp-version;</title>
<title>DHCP-&dhcp-version; Client</title>
<indexterm zone="dhcp-client">
<primary sortas="b-dhclient">dhclient</primary></indexterm>
<para>The <application><acronym>DHCP</acronym></application> package comes with
both a client (<command>dhclient</command>) and a server program for
@ -26,17 +28,23 @@ case; if it isn't, don't run the server! Once you have installed the
package, return here for information on how to configure the client
(<command>dhclient</command>).</para>
<para>To configure <command>dhclient</command>, you need to first install
the network service script,
<para id="dhclient-service">To configure <command>dhclient</command>, you need
to first install the network service script,
<filename>/etc/sysconfig/network-devices/services/dhclient</filename>
included in the <xref linkend="intro-important-bootscripts"/> package.</para>
<indexterm zone="dhcp-client dhclient-service">
<primary sortas="f-dhclient">dhclient (service script)</primary></indexterm>
<screen><userinput><command>make install-service-dhclient</command></userinput></screen>
<para>Next, create the
<para id="dhclient-config1">Next, create the
<filename>/etc/sysconfig/network-devices/ifconfig.eth0/dhclient</filename>
configuration file with the following commands. Adjust as necessary for
additional interfaces.</para>
<indexterm zone="dhcp-client dhclient-config1">
<primary
sortas="e-etc-sysconfig-...-dhclient">/etc/sysconfig/.../dhclient</primary>
</indexterm>
<screen><userinput><command>install -d /etc/sysconfig/network-devices/ifconfig.eth0 &amp;&amp;
cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0/dhclient &lt;&lt; "EOF"</command>
@ -50,9 +58,11 @@ DHCP_STOP="-q -r <replaceable>[add additional stop parameters here]</replaceable
<envar>DHCP_START</envar> and <envar>DHCP_STOP</envar>
values, examine the man page for <command>dhclient</command>.</para>
<para>Finally, you should create the
<para id="dhclient-config2">Finally, you should create the
<filename>/etc/dhclient.conf</filename> file using the following
commands:</para>
<indexterm zone="dhcp-client dhclient-config2">
<primary sortas="e-etc-dhclient.conf">/etc/dhclient.conf</primary></indexterm>
<note><para>You'll need to add a second interface definition to the file if you
have more than one interface.</para></note>

View File

@ -9,19 +9,18 @@
<?dbhtml filename="dhcp.html"?>
<title><acronym>DHCP</acronym> Clients</title>
<para><acronym>DHCP</acronym> stands for Dynamic Host Configuration Protocol.
It is a protocol used by many sites to automatically provide
information such as <acronym>IP</acronym> addresses, subnet masks and routing
information to computers. If your network uses <acronym>DHCP</acronym>, you
will need a <acronym>DHCP</acronym> client in order to connect to it.
<para><acronym>DHCP</acronym> stands for Dynamic Host Configuration Protocol.
It is a protocol used by many sites to automatically provide information such
as <acronym>IP</acronym> addresses, subnet masks and routing information to
computers. If your network uses <acronym>DHCP</acronym>, you will need a
<acronym>DHCP</acronym> client in order to connect to it.
<acronym>DHCP</acronym> is also used by some cable modems.</para>
<para><acronym>BLFS</acronym> currently provides installation instructions for two
<acronym>DHCP</acronym> clients, <command>dhclient</command> (from the
<application>dhcp</application> package) and <command>dhcpcd</command>.
<acronym>BLFS</acronym> presents both sets of installation instructions
and discusses how
to create an appropriate service script to work with the
<para><acronym>BLFS</acronym> currently provides installation instructions for
two <acronym>DHCP</acronym> clients, <command>dhclient</command> (from the
<application>dhcp</application> package) and <command>dhcpcd</command>.
<acronym>BLFS</acronym> presents both sets of installation instructions and
discusses how to create an appropriate service script to work with the
<command>network</command> bootscript and the <acronym>DHCP</acronym>
client of your choice.</para>