mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-07 01:27:16 +08:00
050d775d30
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@304 af4574ff-66df-0310-9fd7-8a98e5e911e0
29 lines
800 B
XML
29 lines
800 B
XML
<sect2>
|
|
<title>Configuring dhcpcd</title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><userinput>/var/lib/dhcpc/*</userinput></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 &&
|
|
cat > ifconfig.eth0 << "EOF"</userinput>
|
|
ONBOOT=yes
|
|
DHCP_PROG=/sbin/dhcpcd
|
|
DHCP_START=<appropriate start parameters>
|
|
DHCP_STOP=-k
|
|
<userinput>EOF</userinput></screen></para>
|
|
|
|
<para>For more information on the apppropriate
|
|
<userinput>DHCP_START</userinput> and <userinput>DHCP_STOP</userinput>
|
|
values, examine the man-page for dhcpcd.</para>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|