2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Configuring dhcpcd</title>
|
|
|
|
|
2002-08-17 11:11:55 +08:00
|
|
|
<sect3><title>Config files</title>
|
2002-08-18 10:38:12 +08:00
|
|
|
<para><userinput>/var/lib/dhcpc/*</userinput></para></sect3>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
2002-10-05 08:05:31 +08:00
|
|
|
<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 &&
|
|
|
|
cat > ifconfig.eth0 << "EOF"</userinput>
|
|
|
|
ONBOOT=yes
|
|
|
|
DHCP_PROG=/sbin/dhcpcd
|
|
|
|
DHCP_START=<appropriate start parameters>
|
|
|
|
DHCP_STOP=-k
|
|
|
|
<userinput>EOF</userinput></screen></para>
|
|
|
|
|
2003-04-08 05:14:53 +08:00
|
|
|
<para>For more information on the appropriate
|
2002-10-05 08:05:31 +08:00
|
|
|
<userinput>DHCP_START</userinput> and <userinput>DHCP_STOP</userinput>
|
2003-04-05 21:54:02 +08:00
|
|
|
values, examine the man page for dhcpcd.</para>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|