2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
2003-09-22 09:54:51 +08:00
|
|
|
<title>Configuring <application>dhcpcd</application></title>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2002-08-17 11:11:55 +08:00
|
|
|
<sect3><title>Config files</title>
|
2003-04-21 06:15:01 +08:00
|
|
|
<para><filename>/var/lib/dhcpc/*</filename></para></sect3>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
2003-09-22 09:54:51 +08:00
|
|
|
<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>
|
2002-10-05 08:05:31 +08:00
|
|
|
|
2003-09-22 09:54:51 +08:00
|
|
|
<screen><userinput><command>cd /etc/sysconfig/network-devices &&
|
|
|
|
cat > ifconfig.eth0 << "EOF"</command>
|
2002-10-05 08:05:31 +08:00
|
|
|
ONBOOT=yes
|
|
|
|
DHCP_PROG=/sbin/dhcpcd
|
|
|
|
DHCP_START=<appropriate start parameters>
|
|
|
|
DHCP_STOP=-k
|
2003-09-22 09:54:51 +08:00
|
|
|
<command>EOF</command></userinput></screen>
|
2002-10-05 08:05:31 +08:00
|
|
|
|
2003-04-08 05:14:53 +08:00
|
|
|
<para>For more information on the appropriate
|
2003-04-22 09:53:42 +08:00
|
|
|
<envar>DHCP_START</envar> and <envar>DHCP_STOP</envar>
|
2003-09-22 09:54:51 +08:00
|
|
|
values, examine the man page for <command>dhcpcd</command>.</para>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|