glfs/connect/dhcp/dhcpcd/dhcpcd-config.xml

29 lines
781 B
XML
Raw Normal View History

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