Changeset fefa337
- Timestamp:
- 12/21/2008 04:26:03 PM (15 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:
- 77a5859
- Parents:
- 81f2343
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
basicnet/connect/dhcpcd.xml
r81f2343 rfefa337 5 5 %general-entities; 6 6 7 <!ENTITY dhcpcd-download-http "http:// download.berlios.de/dhcpcd/dhcpcd-&dhcpcd-version;.tar.bz2">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 " 90d6df62d663bdea65d5905023377b39">10 <!ENTITY dhcpcd-size " 32.5KB">9 <!ENTITY dhcpcd-md5sum "f57a9614e592814485c47495c53e4c30"> 10 <!ENTITY dhcpcd-size "50 KB"> 11 11 <!ENTITY dhcpcd-buildsize "0.3 MB"> 12 12 <!ENTITY dhcpcd-time "less than 0.1 SBU"> … … 66 66 67 67 <para>Install <application>dhcpcd</application> by running the following 68 commands:</para> 69 70 <screen><userinput>make</userinput></screen> 71 72 <para>This package does not come with a test suite.</para> 73 74 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 75 76 <screen role="root"><userinput>make install</userinput></screen> 68 commands as the <systemitem class="username">root</systemitem> user:</para> 69 70 <screen><userinput>make PREFIX= \ 71 LIBEXECDIR=/lib/dhcpcd \ 72 DBDIR=/var/lib \ 73 SYSCONFDIR=/etc/dhcpcd install</userinput></screen> 74 75 <para>By default, a plain text lease info file isn't created but the 76 <application>dhcpcd</application> provides a hook which can be used for creating 77 such a file. Install the hook by running the following 78 commands as the <systemitem class="username">root</systemitem> user:</para> 79 80 <screen><userinput>sed -i "s;/var/lib/dhcpcd-;/var/lib/dhcpcd/dhcpcd-;g" \ 81 /lib/dhcpcd/dhcpcd-hooks/50-dhcpcd-compat && 82 make LIBEXECDIR=/lib/dhcpcd \ 83 HOOKSCRIPTS=50-dhcpcd-compat install</userinput></screen> 77 84 78 85 </sect2> … … 84 91 <title>Config Files</title> 85 92 86 <para><filename>/etc/dhcpcd .sh</filename></para>93 <para><filename>/etc/dhcpcd/dhcpcd.conf</filename></para> 87 94 88 95 <indexterm zone="dhcpcd dhcpcd-config"> 89 <primary sortas="e-etc-dhcpcd- sh">/etc/dhcpcd.sh</primary>96 <primary sortas="e-etc-dhcpcd-dhcpcd-conf">/etc/dhcpcd/dhcpcd.conf</primary> 90 97 </indexterm> 91 98 … … 108 115 109 116 <para>Whenever <command>dhcpcd</command> configures or shuts down 110 a network interface, it executes the script 111 <filename>/etc/dhcpcd.sh</filename>. This script can be 112 customized to perform additional actions for the network interface. 113 See the man page of <command>dhcpcd</command> for more details. An 114 example file is shipped in the tarball which can be used to send 115 the interface details to syslog.</para> 117 a network interface, it executes hook scripts. For more details 118 about those scripts, see the <command>dhcpcd-run-hooks</command> as 119 well as the <command>dhcpcd</command> man page.</para> 116 120 117 121 <para id="dhcpcd-config2">Finally, as the <systemitem … … 146 150 147 151 <note> 148 <para id="dhcpcd-config3">The default behavior of 149 <command>dhcpcd</command> is to overwrite (after making backup copies) 150 <filename>/etc/resolv.conf</filename>, <filename>/etc/yp.conf</filename> and 151 <filename>/etc/ntp.conf</filename> with new files containing information from 152 the DHCP server. If this is undesirable, review the 153 <command>dhcpcd</command> man page for switches to add to the 152 <para id="dhcpcd-config3">The default behavior of <command>dhcpcd</command> 153 is to overwrite <filename>/etc/resolv.conf</filename>. All modifications on 154 system configuration files like <filename>/etc/resolv.conf</filename>, 155 <filename>/etc/yp.conf</filename> and <filename>/etc/ntp.conf</filename> are 156 done by hooks which are stored in <filename>/lib/dhcpcd/dhcpcd-hooks</filename>. 157 Setup <command>dhcpcd</command> by removing or adding hooks from/to that directory. 158 The execution of hooks can be disabled by using the -C command line option. 159 Rewiew the <command>dhcpcd</command> man page for switches to add to the 154 160 <envar>DHCP_START</envar> value.</para> 155 161 </note> … … 158 164 <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary> 159 165 </indexterm> 160 166 <!-- These are not modified by default with version 4 of dhcpcd 161 167 <indexterm zone="dhcpcd dhcpcd-config3"> 162 168 <primary sortas="e-etc-yp.conf">/etc/yp.conf</primary> … … 166 172 <primary sortas="e-etc-ntp.conf">/etc/ntp.conf</primary> 167 173 </indexterm> 168 174 --> 169 175 </sect3> 170 176 -
general.ent
r81f2343 rfefa337 4 4 --> 5 5 6 <!ENTITY day "2 0"> <!-- Always 2 digits -->6 <!ENTITY day "21"> <!-- Always 2 digits --> 7 7 <!ENTITY month "12"> <!-- Always 2 digits --> 8 8 <!ENTITY year "2008"> … … 322 322 <!-- Chapter 14 --> 323 323 <!ENTITY dhcp-version "3.0.6"> 324 <!ENTITY dhcpcd-version " 3.0.19">324 <!ENTITY dhcpcd-version "4.0.4"> 325 325 326 326 <!-- Chapter 15 --> -
introduction/welcome/changelog.xml
r81f2343 rfefa337 42 42 --> 43 43 <listitem> 44 <para>December 21th, 2008</para> 45 <itemizedlist> 46 <listitem> 47 <para>[thomas] - Updated to dhcpcd-4.0.4 (#2569).</para> 48 </listitem> 49 </itemizedlist> 50 </listitem> 51 52 <listitem> 44 53 <para>December 20th, 2008</para> 45 54 <itemizedlist>
Note:
See TracChangeset
for help on using the changeset viewer.