source: chapter06/inetutils.xml@ f77b95f

7.8-systemd 7.9-systemd 7.9-systemd-rc1 7.9-systemd-rc2 systemd
Last change on this file since f77b95f was f77b95f, checked in by Douglas R. Reno <renodr@…>, 6 years ago

Update to binutils-2.25.1
Update to check-0.10.0
Update to procps-ng-3.3.11
Update to man-pages-4.02
Update to glibc-2.22
Update to linux-4.1.5
Update to tzdata2015f
XML Cleanups
Add a workaround for ncurses in Chapter 5 to not use mawk if found
Document some test suite failures

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@10940 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 8.7 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
8<sect1 id="ch-system-inetutils" role="wrap">
9 <?dbhtml filename="inetutils.html"?>
10
11 <sect1info condition="script">
12 <productname>inetutils</productname>
13 <productnumber>&inetutils-version;</productnumber>
14 <address>&inetutils-url;</address>
15 </sect1info>
16
17 <title>Inetutils-&inetutils-version;</title>
18
19 <indexterm zone="ch-system-inetutils">
20 <primary sortas="a-Inetutils">Inetutils</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Inetutils package contains programs for basic networking.</para>
27
28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
31
32 <seglistitem>
33 <seg>&inetutils-ch6-sbu;</seg>
34 <seg>&inetutils-ch6-du;</seg>
35 </seglistitem>
36 </segmentedlist>
37
38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of Inetutils</title>
42<!--
43 <para>Create a definition to allow the <command>ifconfig</command> program
44 to build properly:</para>
45
46<screen><userinput remap="pre">echo '#define PATH_PROCNET_DEV "/proc/net/dev"' &gt;&gt; ifconfig/system/linux.h </userinput></screen>
47-->
48 <para>Prepare Inetutils for compilation:</para>
49
50<screen><userinput remap="configure">./configure --prefix=/usr \
51 --localstatedir=/var \
52 --disable-logger \
53 --disable-whois \
54 --disable-servers</userinput></screen>
55
56 <variablelist>
57 <title>The meaning of the configure options:</title>
58
59 <varlistentry>
60 <term><parameter>--disable-logger</parameter></term>
61 <listitem>
62 <para>This option prevents Inetutils from installing the
63 <command>logger</command> program, which is used by scripts to
64 pass messages to the System Log Daemon. Do not install it because
65 Util-linux installs a more recent version.</para>
66 </listitem>
67 </varlistentry>
68
69 <varlistentry>
70 <term><parameter>--disable-whois</parameter></term>
71 <listitem>
72 <para>This option disables the building of the Inetutils
73 <command>whois</command> client, which is out of date. Instructions for
74 a better <command>whois</command> client are in the BLFS book.</para>
75 </listitem>
76 </varlistentry>
77
78 <varlistentry>
79 <term><parameter>--disable-servers</parameter></term>
80 <listitem>
81 <para>This disables the installation of the various network servers
82 included as part of the Inetutils package. These servers are deemed not
83 appropriate in a basic LFS system. Some are insecure by nature and are
84 only considered safe on trusted networks. Note that
85 better replacements are available for many of these servers.</para>
86 </listitem>
87 </varlistentry>
88
89 </variablelist>
90
91 <para>Compile the package:</para>
92
93<screen><userinput remap="make">make</userinput></screen>
94
95 <para>To test the results, issue:</para>
96
97<screen><userinput remap="test">make check</userinput></screen>
98 <para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard
99 coding of some support program paths. All tests pass if the tests are rerun
100 at the end of Chapter 6.</para>
101
102 <para>Install the package:</para>
103
104<screen><userinput remap="install">make install</userinput></screen>
105
106 <para>Move some programs so they are available if <filename
107 class='directory'>/usr</filename> is not accessible:</para>
108
109<screen><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin
110mv -v /usr/bin/ifconfig /sbin</userinput></screen>
111
112 </sect2>
113
114 <sect2 id="contents-inetutils" role="content">
115 <title>Contents of Inetutils</title>
116
117 <segmentedlist>
118 <segtitle>Installed programs</segtitle>
119
120 <seglistitem>
121 <seg>ftp, ifconfig, hostname, ping, ping6, rcp, rexec, rlogin,
122 rsh, talk, telnet, tftp, and traceroute</seg>
123 </seglistitem>
124 </segmentedlist>
125
126 <variablelist>
127 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
128 <?dbfo list-presentation="list"?>
129 <?dbhtml list-presentation="table"?>
130
131 <varlistentry id="ftp">
132 <term><command>ftp</command></term>
133 <listitem>
134 <para>Is the file transfer protocol program</para>
135 <indexterm zone="ch-system-inetutils ftp">
136 <primary sortas="b-ftp">ftp</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140
141 <varlistentry id="ifconfig">
142 <term><command>ifconfig</command></term>
143 <listitem>
144 <para>Manages network interfaces</para>
145 <indexterm zone="ch-system-inetutils ifconfig">
146 <primary sortas="b-ifconfig">ifconfig</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="hostname">
152 <term><command>hostname</command></term>
153 <listitem>
154 <para>Reports or sets the name of the host</para>
155 <indexterm zone="ch-system-inetutils hostname">
156 <primary sortas="b-hostname">hostname</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="ping">
162 <term><command>ping</command></term>
163 <listitem>
164 <para>Sends echo-request packets and reports how long the replies
165 take</para>
166 <indexterm zone="ch-system-inetutils ping">
167 <primary sortas="b-ping">ping</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="ping6">
173 <term><command>ping6</command></term>
174 <listitem>
175 <para>A version of <command>ping</command> for IPv6 networks</para>
176 <indexterm zone="ch-system-inetutils ping6">
177 <primary sortas="b-ping6">ping6</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="rcp">
183 <term><command>rcp</command></term>
184 <listitem>
185 <para>Performs remote file copy</para>
186 <indexterm zone="ch-system-inetutils rcp">
187 <primary sortas="b-rcp">rcp</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry id="rexec">
193 <term><command>rexec</command></term>
194 <listitem>
195 <para>Executes commands on a remote host</para>
196 <indexterm zone="ch-system-inetutils rexec">
197 <primary sortas="b-rexec">rexec</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="rlogin">
203 <term><command>rlogin</command></term>
204 <listitem>
205 <para>Performs remote login</para>
206 <indexterm zone="ch-system-inetutils rlogin">
207 <primary sortas="b-rlogin">rlogin</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="rsh">
213 <term><command>rsh</command></term>
214 <listitem>
215 <para>Runs a remote shell</para>
216 <indexterm zone="ch-system-inetutils rsh">
217 <primary sortas="b-rsh">rsh</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="talk">
223 <term><command>talk</command></term>
224 <listitem>
225 <para>Is used to chat with another user</para>
226 <indexterm zone="ch-system-inetutils talk">
227 <primary sortas="b-talk">talk</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="telnet">
233 <term><command>telnet</command></term>
234 <listitem>
235 <para>An interface to the TELNET protocol</para>
236 <indexterm zone="ch-system-inetutils telnet">
237 <primary sortas="b-telnet">telnet</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="tftp">
243 <term><command>tftp</command></term>
244 <listitem>
245 <para>A trivial file transfer program</para>
246 <indexterm zone="ch-system-inetutils tftp">
247 <primary sortas="b-tftp">tftp</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="traceroute">
253 <term><command>traceroute</command></term>
254 <listitem>
255 <para>Traces the route your packets take from the host you are
256 working on to another host on a network, showing all the intermediate
257 hops (gateways) along the way</para>
258 <indexterm zone="ch-system-inetutils traceroute">
259 <primary sortas="b-traceroute">traceroute</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 </variablelist>
265
266 </sect2>
267
268</sect1>
Note: See TracBrowser for help on using the repository browser.