Changeset f0740ab
- Timestamp:
- 10/22/2011 02:24:23 PM (13 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 77ac0f23
- Parents:
- 692111b
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
basicnet/connect/dhcpcd.xml
r692111b rf0740ab 7 7 <!ENTITY dhcpcd-download-http "http://roy.marples.name/downloads/dhcpcd/dhcpcd-&dhcpcd-version;.tar.bz2"> 8 8 <!ENTITY dhcpcd-download-ftp "ftp://ftp.osuosl.org/pub/gentoo/distfiles/dhcpcd-&dhcpcd-version;.tar.bz2"> 9 <!ENTITY dhcpcd-md5sum " b9f1ccdaaf23ffea7dd6fd89e932f4ed">10 <!ENTITY dhcpcd-size " 51KB">11 <!ENTITY dhcpcd-buildsize "0. 3MB">9 <!ENTITY dhcpcd-md5sum "832e3cd6bfcaff64e9476e0ff7849e8f"> 10 <!ENTITY dhcpcd-size "76 KB"> 11 <!ENTITY dhcpcd-buildsize "0.9 MB"> 12 12 <!ENTITY dhcpcd-time "less than 0.1 SBU"> 13 13 ]> … … 68 68 commands:</para> 69 69 70 <screen><userinput> make PREFIX=\71 LIBEXECDIR=/lib/dhcpcd\72 DBDIR=/var/lib/dhcpcd \73 SYSCONFDIR=/etc/dhcpcd</userinput></screen>70 <screen><userinput>./configure --libexecdir=/lib/dhcpcd \ 71 --dbdir=/run \ 72 --sysconfdir=/etc && 73 make</userinput></screen> 74 74 75 75 <para>This package does not come with a test suite.</para> … … 77 77 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 78 78 79 <screen><userinput>make PREFIX= \ 80 LIBEXECDIR=/lib/dhcpcd \ 81 DBDIR=/var/lib/dhcpcd \ 82 SYSCONFDIR=/etc/dhcpcd install</userinput></screen> 79 <screen><userinput>make install</userinput></screen> 83 80 84 81 <para>By default, a plain text lease info file isn't created but the … … 87 84 commands as the <systemitem class="username">root</systemitem> user:</para> 88 85 89 <screen><userinput>sed -i "s;/var/lib/dhcpcd-;/var/lib/dhcpcd/dhcpcd-;g" \ 90 dhcpcd-hooks/50-dhcpcd-compat && 86 <screen><userinput>sed -i "s;/var/lib;/run;g" dhcpcd-hooks/50-dhcpcd-compat && 91 87 install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/</userinput></screen> 92 88 … … 112 108 <para>To configure <command>dhcpcd</command>, you need to first install 113 109 the network service script, 114 <filename>/ etc/sysconfig/network-devices/services/dhcpcd</filename>110 <filename>/lib/services/dhcpcd</filename> 115 111 included in the <xref linkend="bootscripts"/> package 116 112 (as user <systemitem class="username">root</systemitem>):</para> … … 124 120 <para>Whenever <command>dhcpcd</command> configures or shuts down 125 121 a network interface, it executes hook scripts. For more details 126 about those scripts, see the <command>dhcpcd-run-hooks</command> a s127 well as the <command>dhcpcd</command> man page.</para>122 about those scripts, see the <command>dhcpcd-run-hooks</command> and 123 <command>dhcpcd</command> man pages.</para> 128 124 129 125 <para id="dhcpcd-config2">Finally, as the <systemitem 130 126 class="username">root</systemitem> user create the 131 <filename>/etc/sysconfig/ network-devices/ifconfig.eth0/dhcpcd</filename>127 <filename>/etc/sysconfig/ifconfig.eth0</filename> 132 128 configuration file using the following commands. Adjust appropriately 133 129 for additional interfaces:</para> 134 130 135 131 <indexterm zone="dhcpcd dhcpcd-config2"> 136 <primary sortas="e-etc-sysconfig-dhcpcd">/etc/sysconfig/.../dhcpcd</primary> 137 </indexterm> 138 139 <screen role='root'><userinput>install -v -d /etc/sysconfig/network-devices/ifconfig.eth0 && 140 cat > /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd << "EOF" 132 <primary sortas="e-etc-sysconfig-dhcpcd">/etc/sysconfig/ifconfig.eth0 (dhcpcd)</primary> 133 </indexterm> 134 135 <screen role='root'><userinput>cat > /etc/sysconfig/ifconfig.eth0 << "EOF" 141 136 <literal>ONBOOT="yes" 137 IFACE="eth0" 142 138 SERVICE="dhcpcd" 143 139 DHCP_START="<replaceable><insert appropriate start options here></replaceable>" 144 DHCP_STOP="-k <replaceable><insert additional stop options here></replaceable>" 145 146 # Set PRINTIP="yes" to have the script print 147 # the DHCP assigned IP address 148 PRINTIP="no" 149 150 # Set PRINTALL="yes" to print the DHCP assigned values for 151 # IP, SM, DG, and 1st NS. This requires PRINTIP="yes". 152 PRINTALL="no"</literal> 140 DHCP_STOP="-k <replaceable><insert additional stop options here></replaceable>"</literal> 153 141 EOF</userinput></screen> 154 142 … … 158 146 159 147 <note> 160 <para id="dhcpcd-config3">The default behavior of <command>dhcpcd</command> 161 is to overwrite <filename>/etc/resolv.conf</filename>. All modifications on 162 system configuration files like <filename>/etc/resolv.conf</filename>, 163 <filename>/etc/yp.conf</filename> and <filename>/etc/ntp.conf</filename> are 164 done by hooks which are stored in <filename class="directory">/lib/dhcpcd/dhcpcd-hooks</filename>. 165 Setup <command>dhcpcd</command> by removing or adding hooks from/to that directory. 166 The execution of hooks can be disabled by using the -C command line option.</para> 167 <para>Review the <command>dhcpcd</command> man page for switches to add to the 168 <envar>DHCP_START</envar> value.</para> 148 149 <para id="dhcpcd-config3">The default behavior of 150 <command>dhcpcd</command> sets the hostname and mtu settings. It also 151 overwrites <filename>/etc/resolv.conf</filename> and 152 <filename>/etc/ntp.conf</filename>. 153 154 These modifications to system files and settings on system 155 configuration files are done by hooks which are stored in <filename 156 class="directory">/lib/dhcpcd/dhcpcd-hooks</filename>. 157 158 Setup <command>dhcpcd</command> by removing or adding hooks from/to 159 that directory. The execution of hooks can be disabled by using the 160 <option>--nohook</option> (<option>-C</option>) command line option or 161 by the <option>nohook</option> option in the 162 <filename>/etc/dhcpcd.conf</filename> file.</para> 163 164 <para>Review the <command>dhcpcd</command> man page for switches to add 165 to the <envar>DHCP_START</envar> value.</para> 166 169 167 </note> 170 168 … … 172 170 <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary> 173 171 </indexterm> 174 <!-- These are not modified by default with version 4 of dhcpcd175 <indexterm zone="dhcpcd dhcpcd-config3">176 <primary sortas="e-etc-yp.conf">/etc/yp.conf</primary>177 </indexterm>178 179 <indexterm zone="dhcpcd dhcpcd-config3">180 <primary sortas="e-etc-ntp.conf">/etc/ntp.conf</primary>181 </indexterm>182 -->183 172 </sect3> 184 173 … … 196 185 <seg>dhcpcd</seg> 197 186 <seg>None</seg> 198 <seg>/lib/dhcpcd , /etc/dhcpcd</seg>187 <seg>/lib/dhcpcd</seg> 199 188 </seglistitem> 200 189 </segmentedlist> -
general.ent
r692111b rf0740ab 4 4 --> 5 5 6 <!ENTITY day "2 1"> <!-- Always 2 digits -->6 <!ENTITY day "22"> <!-- Always 2 digits --> 7 7 <!ENTITY month "10"> <!-- Always 2 digits --> 8 8 <!ENTITY year "2011"> … … 10 10 <!ENTITY copyholder "The BLFS Development Team"> 11 11 <!ENTITY version "svn-&year;&month;&day;"> 12 <!ENTITY releasedate "September &day; st, &year;">12 <!ENTITY releasedate "September &day;nd, &year;"> 13 13 <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> 14 14 <!ENTITY blfs-version "svn"> <!-- svn|[release #] --> … … 56 56 <!-- End LFS versions --> 57 57 58 <!ENTITY blfs-bootscripts-version "2011102 1">58 <!ENTITY blfs-bootscripts-version "20111022"> 59 59 <!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2"> 60 60 … … 413 413 <!-- Chapter 14 --> 414 414 <!ENTITY dhcp-version "3.0.6"> 415 <!ENTITY dhcpcd-version " 4.0.11">415 <!ENTITY dhcpcd-version "5.2.12"> 416 416 417 417 <!-- Chapter 15 --> -
introduction/welcome/changelog.xml
r692111b rf0740ab 41 41 42 42 --> 43 44 <listitem> 45 <para>October 22nd, 2011</para> 46 <itemizedlist> 47 <listitem> 48 <para>[bdubbs] - Updated dhcpcd-5.2.12.</para> 49 </listitem> 50 </itemizedlist> 51 </listitem> 43 52 44 53 <listitem>
Note:
See TracChangeset
for help on using the changeset viewer.