source: networking/connect/dhcpcd-systemd.xml@ dde9aeec

systemd-11177
Last change on this file since dde9aeec was c1cacc30, checked in by Krejzi <krejzi@…>, 10 years ago

Remove configuration section from dhcpcd and bridge-utils. Need to think of equivalent for systemd. Remove references to netfs and random scripts.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13513 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY dhcpcd-download-http "http://roy.marples.name/downloads/dhcpcd/dhcpcd-&dhcpcd-version;.tar.bz2">
8 <!ENTITY dhcpcd-download-ftp " ">
9 <!--<!ENTITY dhcpcd-download-ftp "ftp://ftp.osuosl.org/pub/gentoo/distfiles/dhcpcd-&dhcpcd-version;.tar.bz2">-->
10 <!ENTITY dhcpcd-md5sum "3ba26bd6e0cd2f973bfbcd3c08ebc93b">
11 <!ENTITY dhcpcd-size "148 KB">
12 <!ENTITY dhcpcd-buildsize "2.2 MB">
13 <!ENTITY dhcpcd-time "less than 0.1 SBU">
14]>
15
16<sect1 id="dhcpcd" xreflabel="dhcpcd-&dhcpcd-version;">
17 <?dbhtml filename="dhcpcd.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>dhcpcd-&dhcpcd-version;</title>
25
26 <indexterm zone="dhcpcd">
27 <primary sortas="a-dhcpcd">dhcpcd</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to dhcpcd</title>
32
33 <para><application>dhcpcd</application> is an implementation of the
34 DHCP client specified in RFC2131. A DHCP client is useful for connecting
35 your computer to a network which uses DHCP to assign network
36 addresses. dhcpcd strives to be a fully featured, yet very lightweight
37 DHCP client.</para>
38
39 &lfs75_checked;
40
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>
62
63 <para condition="html" role="usernotes">User Notes:
64 <ulink url="&blfs-wiki;/dhcpcd"/></para>
65
66 </sect2>
67
68 <sect2 role="installation">
69 <title>Installation of dhcpcd</title>
70
71 <para>Install <application>dhcpcd</application> by running the following
72 commands:</para>
73
74<screen><userinput>./configure --libexecdir=/lib/dhcpcd \
75 --dbdir=/var/tmp &amp;&amp;
76make</userinput></screen>
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
82<screen role='root'><userinput>make install</userinput></screen>
83
84<!--
85 <para>By default, a plain text lease info file isn't created but the
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>
89
90<screen role='root'><userinput>sed -i "s;/var/lib;/run;g" dhcpcd-hooks/50-dhcpcd-compat &amp;&amp;
91install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/</userinput></screen>
92-->
93
94 </sect2>
95
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
120 <sect2 role="content">
121 <title>Contents</title>
122
123 <segmentedlist>
124 <segtitle>Installed Program</segtitle>
125 <segtitle>Installed Libraries</segtitle>
126 <segtitle>Installed Directory</segtitle>
127
128 <seglistitem>
129 <seg>dhcpcd</seg>
130 <seg>/lib/dhcpcd/dev/udev.so</seg>
131 <seg>/lib/dhcpcd</seg>
132 </seglistitem>
133 </segmentedlist>
134
135 <variablelist>
136 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
137 <?dbfo list-presentation="list"?>
138 <?dbhtml list-presentation="table"?>
139
140 <varlistentry id="dhcpcd-prog">
141 <term><command>dhcpcd</command></term>
142 <listitem>
143 <para>is an implementation of the DHCP client specified
144 in RFC2131.</para>
145 <indexterm zone="dhcpcd dhcpcd-prog">
146 <primary sortas="b-dhcpcd">dhcpcd</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
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
165 </variablelist>
166
167 </sect2>
168
169</sect1>
Note: See TracBrowser for help on using the repository browser.