glfs/connect/dhcp/dhcpcd/dhcpcd-config.xml
Larry Lawrence 9d3e4bf9d6 update intro to pppoe and dhcpcd
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1154 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-09-22 01:54:51 +00:00

29 lines
850 B
XML

<sect2>
<title>Configuring <application>dhcpcd</application></title>
<sect3><title>Config files</title>
<para><filename>/var/lib/dhcpc/*</filename></para></sect3>
<sect3><title>Configuration Information</title>
<para>To configure <command>dhcpcd</command>, create the <filename>
ifconfig.eth0</filename> file with the following commands (note that this
will overwrite any existing file):</para>
<screen><userinput><command>cd /etc/sysconfig/network-devices &amp;&amp;
cat &gt; ifconfig.eth0 &lt;&lt; "EOF"</command>
ONBOOT=yes
DHCP_PROG=/sbin/dhcpcd
DHCP_START=&lt;appropriate start parameters&gt;
DHCP_STOP=-k
<command>EOF</command></userinput></screen>
<para>For more information on the appropriate
<envar>DHCP_START</envar> and <envar>DHCP_STOP</envar>
values, examine the man page for <command>dhcpcd</command>.</para>
</sect3>
</sect2>