Author: fernando
Date: Fri Jan 10 08:48:33 2014
New Revision: 12554
Log:
Update to dhcpcd-6.2.0.
Modified:
trunk/BOOK/general.ent
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/networking/connect/dhcpcd.xml
Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent Fri Jan 10 06:53:15 2014 (r12553)
+++ trunk/BOOK/general.ent Fri Jan 10 08:48:33 2014 (r12554)
@@ -423,7 +423,7 @@
<!-- Part IV -->
<!-- Chapter 14 -->
<!ENTITY ppp-version "2.4.5">
-<!ENTITY dhcpcd-version "6.1.0">
+<!ENTITY dhcpcd-version "6.2.0">
<!ENTITY dhcp-version "4.2.5-P1">
<!-- Chapter 15 -->
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Fri Jan 10 06:53:15
2014 (r12553)
+++ trunk/BOOK/introduction/welcome/changelog.xml Fri Jan 10 08:48:33
2014 (r12554)
@@ -47,6 +47,10 @@
<para>January 10th, 2014</para>
<itemizedlist>
<listitem>
+ <para>[fernando] - Update to dhcpcd-6.2.0. Fixes
+ <ulink url="&blfs-ticket-root;4538">#4538</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[igor] - Update to libcap-2.24 and correct PAM module install
location reported by Randy McMurphy. Fixes <ulink
url="&blfs-ticket-root;4539">#4539</ulink> and <ulink
Modified: trunk/BOOK/networking/connect/dhcpcd.xml
==============================================================================
--- trunk/BOOK/networking/connect/dhcpcd.xml Fri Jan 10 06:53:15 2014
(r12553)
+++ trunk/BOOK/networking/connect/dhcpcd.xml Fri Jan 10 08:48:33 2014
(r12554)
@@ -6,9 +6,9 @@
<!ENTITY dhcpcd-download-http
"http://roy.marples.name/downloads/dhcpcd/dhcpcd-&dhcpcd-version;.tar.bz2">
<!ENTITY dhcpcd-download-ftp
"ftp://ftp.osuosl.org/pub/gentoo/distfiles/dhcpcd-&dhcpcd-version;.tar.bz2">
- <!ENTITY dhcpcd-md5sum "6070040c57492925af9ac6aed980de2a">
- <!ENTITY dhcpcd-size "116 KB">
- <!ENTITY dhcpcd-buildsize "2.0 MB">
+ <!ENTITY dhcpcd-md5sum "9a21b44992fa070c44160ad24106ff9e">
+ <!ENTITY dhcpcd-size "120 KB">
+ <!ENTITY dhcpcd-buildsize "1.8 MB">
<!ENTITY dhcpcd-time "less than 0.1 SBU">
]>
@@ -106,7 +106,7 @@
</sect3>
<sect3 id="dhcpcd-init">
- <title>Configuration Information</title>
+ <title>General Configuration Information</title>
<para>To configure <command>dhcpcd</command>, you need to first install
the network service script,
@@ -174,6 +174,40 @@
</indexterm>
</sect3>
+ <sect3 id="dhcpcd-init2">
+ <title>Configuration Information: fixed ip</title>
+
+ <para id="dhcpcd-config4">Although not usual, it is possible that you
need
+ to configure <application>dhcpcd</application> to use a fixed ip. Here,
+ we give an example. As the
+ <systemitem class="username">root</systemitem> user create the
+ <filename>/etc/sysconfig/ifconfig.eth0</filename> configuration file
+ using the following commands. Adjust appropriately for additional
+ interfaces and for the actual ip and router you need:</para>
+
+ <indexterm zone="dhcpcd dhcpcd-config4">
+ <primary sortas="e-etc-sysconfig-dhcpcd">/etc/sysconfig/ifconfig.eth0
(dhcpcd)</primary>
+ </indexterm>
+
+<screen role='root'><userinput>cat > /etc/sysconfig/ifconfig.eth0 <<
"EOF"
+<literal>ONBOOT="yes"
+IFACE="eth0"
+SERVICE="dhcpcd"
+DHCP_START="-b -q -S ip_address=192.168.0.10/24 -S routers=192.168.0.1"
+DHCP_STOP="-k"</literal>
+EOF</userinput></screen>
+
+ <para>For DNS, use your preferred servers in
+ <filename>/etc/resolv.conf.head</filename>, eg:</para>
+
+<screen role='root'><userinput>cat > /etc/resolv.conf.head << "EOF"
+<literal># OpenDNS servers
+nameserver 208.67.222.222
+nameserver 208.67.220.220</literal>
+EOF</userinput></screen>
+
+ </sect3>
+
</sect2>
<sect2 role="content">
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page