[246c904] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[246c904] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[14d6b3e0] | 6 |
|
---|
[fefa337] | 7 | <!ENTITY dhcpcd-download-http "http://roy.marples.name/downloads/dhcpcd/dhcpcd-&dhcpcd-version;.tar.bz2">
|
---|
[a27a478] | 8 | <!ENTITY dhcpcd-download-ftp " ">
|
---|
| 9 | <!--<!ENTITY dhcpcd-download-ftp "ftp://ftp.osuosl.org/pub/gentoo/distfiles/dhcpcd-&dhcpcd-version;.tar.bz2">-->
|
---|
[5afd00d2] | 10 | <!ENTITY dhcpcd-md5sum "3ba26bd6e0cd2f973bfbcd3c08ebc93b">
|
---|
| 11 | <!ENTITY dhcpcd-size "148 KB">
|
---|
[0840866] | 12 | <!ENTITY dhcpcd-buildsize "2.2 MB">
|
---|
[ed4e5b4] | 13 | <!ENTITY dhcpcd-time "less than 0.1 SBU">
|
---|
[246c904] | 14 | ]>
|
---|
| 15 |
|
---|
[fd680fb] | 16 | <sect1 id="dhcpcd" xreflabel="dhcpcd-&dhcpcd-version;">
|
---|
[820d164a] | 17 | <?dbhtml filename="dhcpcd.html"?>
|
---|
[4839c17] | 18 |
|
---|
[820d164a] | 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
[4839c17] | 23 |
|
---|
[add19ff9] | 24 | <title>dhcpcd-&dhcpcd-version;</title>
|
---|
[4839c17] | 25 |
|
---|
[820d164a] | 26 | <indexterm zone="dhcpcd">
|
---|
[add19ff9] | 27 | <primary sortas="a-dhcpcd">dhcpcd</primary>
|
---|
[820d164a] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[add19ff9] | 31 | <title>Introduction to dhcpcd</title>
|
---|
[820d164a] | 32 |
|
---|
[add19ff9] | 33 | <para><application>dhcpcd</application> is an implementation of the
|
---|
[5aac2b97] | 34 | DHCP client specified in RFC2131. A DHCP client is useful for connecting
|
---|
[232e46a] | 35 | your computer to a network which uses DHCP to assign network
|
---|
[0d7900a] | 36 | addresses. dhcpcd strives to be a fully featured, yet very lightweight
|
---|
[5aac2b97] | 37 | DHCP client.</para>
|
---|
[4839c17] | 38 |
|
---|
[20c6db9] | 39 | &lfs75_checked;
|
---|
[77ac0f23] | 40 |
|
---|
[820d164a] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&dhcpcd-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&dhcpcd-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &dhcpcd-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &dhcpcd-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &dhcpcd-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &dhcpcd-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
[4839c17] | 62 |
|
---|
[7e1f3aa] | 63 | <para condition="html" role="usernotes">User Notes:
|
---|
| 64 | <ulink url="&blfs-wiki;/dhcpcd"/></para>
|
---|
| 65 |
|
---|
[820d164a] | 66 | </sect2>
|
---|
[4839c17] | 67 |
|
---|
[820d164a] | 68 | <sect2 role="installation">
|
---|
[add19ff9] | 69 | <title>Installation of dhcpcd</title>
|
---|
[820d164a] | 70 |
|
---|
[893d9711] | 71 | <para>Install <application>dhcpcd</application> by running the following
|
---|
[f9a784a] | 72 | commands:</para>
|
---|
[820d164a] | 73 |
|
---|
[f0740ab] | 74 | <screen><userinput>./configure --libexecdir=/lib/dhcpcd \
|
---|
[690658a5] | 75 | --dbdir=/var/tmp &&
|
---|
[f0740ab] | 76 | make</userinput></screen>
|
---|
[f9a784a] | 77 |
|
---|
| 78 | <para>This package does not come with a test suite.</para>
|
---|
| 79 |
|
---|
| 80 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 81 |
|
---|
[bfa01156] | 82 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
[4839c17] | 83 |
|
---|
[690658a5] | 84 | <!--
|
---|
[a41f643] | 85 | <para>By default, a plain text lease info file isn't created but the
|
---|
[a1d3648] | 86 | <application>dhcpcd</application> provides a hook which can be used for creating
|
---|
| 87 | such a file. Install the hook by running the following
|
---|
| 88 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[232e46a] | 89 |
|
---|
[bfa01156] | 90 | <screen role='root'><userinput>sed -i "s;/var/lib;/run;g" dhcpcd-hooks/50-dhcpcd-compat &&
|
---|
[f9a784a] | 91 | install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/</userinput></screen>
|
---|
[690658a5] | 92 | -->
|
---|
[4839c17] | 93 |
|
---|
[820d164a] | 94 | </sect2>
|
---|
[4839c17] | 95 |
|
---|
[690658a5] | 96 | <sect2 role="commands">
|
---|
| 97 | <title>Command Explanations</title>
|
---|
| 98 |
|
---|
| 99 | <para>
|
---|
| 100 | <parameter>--libexecdir=/lib/dhcpcd</parameter>: The default
|
---|
| 101 | <filename class="directory">/libexec</filename> is not FHS-compliant.
|
---|
| 102 | Since this directory may need to be available early in the boot,
|
---|
| 103 | <filename class="directory">/usr/libexec</filename> cannot be used either.
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | <parameter>--dbdir=/var/tmp</parameter>: The default
|
---|
| 108 | <filename class="directory">/var/lib</filename> is not FHS-compliant
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | <option>--with-hook=...</option>: You can optionally install more hooks,
|
---|
| 113 | for example to install some configuration files such as
|
---|
| 114 | <filename>ntp.conf</filename>. The set of hooks is in the
|
---|
| 115 | <filename class="directory">dhcpcd-hooks</filename> directory in the
|
---|
| 116 | build tree.
|
---|
| 117 | </para>
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
[820d164a] | 120 | <sect2 role="content">
|
---|
| 121 | <title>Contents</title>
|
---|
| 122 |
|
---|
| 123 | <segmentedlist>
|
---|
| 124 | <segtitle>Installed Program</segtitle>
|
---|
| 125 | <segtitle>Installed Libraries</segtitle>
|
---|
[b1d305ed] | 126 | <segtitle>Installed Directory</segtitle>
|
---|
[4839c17] | 127 |
|
---|
[820d164a] | 128 | <seglistitem>
|
---|
| 129 | <seg>dhcpcd</seg>
|
---|
[81f1de4] | 130 | <seg>/lib/dhcpcd/dev/udev.so</seg>
|
---|
[f0740ab] | 131 | <seg>/lib/dhcpcd</seg>
|
---|
[820d164a] | 132 | </seglistitem>
|
---|
| 133 | </segmentedlist>
|
---|
[4839c17] | 134 |
|
---|
[820d164a] | 135 | <variablelist>
|
---|
| 136 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 137 | <?dbfo list-presentation="list"?>
|
---|
| 138 | <?dbhtml list-presentation="table"?>
|
---|
[4839c17] | 139 |
|
---|
[820d164a] | 140 | <varlistentry id="dhcpcd-prog">
|
---|
| 141 | <term><command>dhcpcd</command></term>
|
---|
| 142 | <listitem>
|
---|
[232e46a] | 143 | <para>is an implementation of the DHCP client specified
|
---|
[f9a784a] | 144 | in RFC2131.</para>
|
---|
[820d164a] | 145 | <indexterm zone="dhcpcd dhcpcd-prog">
|
---|
| 146 | <primary sortas="b-dhcpcd">dhcpcd</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
[4839c17] | 150 |
|
---|
[81f1de4] | 151 | <varlistentry id="dhcpcd-udev">
|
---|
| 152 | <term><filename class="libraryfile">udev.so</filename></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>
|
---|
| 155 | add udev support for interface arrival and departure; this is
|
---|
| 156 | because udev likes to rename the interface, which it can't do if
|
---|
| 157 | dhcpcd grabs it first.
|
---|
| 158 | </para>
|
---|
| 159 | <indexterm zone="dhcpcd dhcpcd-udev">
|
---|
| 160 | <primary sortas="c-dhcpcd-udev">udev.so</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
[820d164a] | 165 | </variablelist>
|
---|
| 166 |
|
---|
| 167 | </sect2>
|
---|
[f45b1953] | 168 |
|
---|
| 169 | </sect1>
|
---|