source: chapter06/inetutils.xml@ 0f3055a

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 0f3055a was 1c27a53, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Update to tzdata-2015f.
Add a workaround to ncurses in Chapter 5 for hosts that have mawk installed.
Document some minor test failures.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10937 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
99 <para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard
100 coding of some support program paths. All tests pass if the tests are
101 rerun at the end of Chapter 6.</para>
102
103 <para>Install the package:</para>
104
105<screen><userinput remap="install">make install</userinput></screen>
106
107 <para>Move some programs so they are available if <filename
108 class='directory'>/usr</filename> is not accessible:</para>
109
110<screen><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin
111mv -v /usr/bin/ifconfig /sbin</userinput></screen>
112
113 </sect2>
114
115 <sect2 id="contents-inetutils" role="content">
116 <title>Contents of Inetutils</title>
117
118 <segmentedlist>
119 <segtitle>Installed programs</segtitle>
120
121 <seglistitem>
122 <seg>ftp, ifconfig, hostname, ping, ping6, rcp, rexec, rlogin,
123 rsh, talk, telnet, tftp, and traceroute</seg>
124 </seglistitem>
125 </segmentedlist>
126
127 <variablelist>
128 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
129 <?dbfo list-presentation="list"?>
130 <?dbhtml list-presentation="table"?>
131
132 <varlistentry id="ftp">
133 <term><command>ftp</command></term>
134 <listitem>
135 <para>Is the file transfer protocol program</para>
136 <indexterm zone="ch-system-inetutils ftp">
137 <primary sortas="b-ftp">ftp</primary>
138 </indexterm>
139 </listitem>
140 </varlistentry>
141
142 <varlistentry id="ifconfig">
143 <term><command>ifconfig</command></term>
144 <listitem>
145 <para>Manages network interfaces</para>
146 <indexterm zone="ch-system-inetutils ifconfig">
147 <primary sortas="b-ifconfig">ifconfig</primary>
148 </indexterm>
149 </listitem>
150 </varlistentry>
151
152 <varlistentry id="hostname">
153 <term><command>hostname</command></term>
154 <listitem>
155 <para>Reports or sets the name of the host</para>
156 <indexterm zone="ch-system-inetutils hostname">
157 <primary sortas="b-hostname">hostname</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry id="ping">
163 <term><command>ping</command></term>
164 <listitem>
165 <para>Sends echo-request packets and reports how long the replies
166 take</para>
167 <indexterm zone="ch-system-inetutils ping">
168 <primary sortas="b-ping">ping</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="ping6">
174 <term><command>ping6</command></term>
175 <listitem>
176 <para>A version of <command>ping</command> for IPv6 networks</para>
177 <indexterm zone="ch-system-inetutils ping6">
178 <primary sortas="b-ping6">ping6</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="rcp">
184 <term><command>rcp</command></term>
185 <listitem>
186 <para>Performs remote file copy</para>
187 <indexterm zone="ch-system-inetutils rcp">
188 <primary sortas="b-rcp">rcp</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="rexec">
194 <term><command>rexec</command></term>
195 <listitem>
196 <para>Executes commands on a remote host</para>
197 <indexterm zone="ch-system-inetutils rexec">
198 <primary sortas="b-rexec">rexec</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="rlogin">
204 <term><command>rlogin</command></term>
205 <listitem>
206 <para>Performs remote login</para>
207 <indexterm zone="ch-system-inetutils rlogin">
208 <primary sortas="b-rlogin">rlogin</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="rsh">
214 <term><command>rsh</command></term>
215 <listitem>
216 <para>Runs a remote shell</para>
217 <indexterm zone="ch-system-inetutils rsh">
218 <primary sortas="b-rsh">rsh</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="talk">
224 <term><command>talk</command></term>
225 <listitem>
226 <para>Is used to chat with another user</para>
227 <indexterm zone="ch-system-inetutils talk">
228 <primary sortas="b-talk">talk</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="telnet">
234 <term><command>telnet</command></term>
235 <listitem>
236 <para>An interface to the TELNET protocol</para>
237 <indexterm zone="ch-system-inetutils telnet">
238 <primary sortas="b-telnet">telnet</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="tftp">
244 <term><command>tftp</command></term>
245 <listitem>
246 <para>A trivial file transfer program</para>
247 <indexterm zone="ch-system-inetutils tftp">
248 <primary sortas="b-tftp">tftp</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="traceroute">
254 <term><command>traceroute</command></term>
255 <listitem>
256 <para>Traces the route your packets take from the host you are
257 working on to another host on a network, showing all the intermediate
258 hops (gateways) along the way</para>
259 <indexterm zone="ch-system-inetutils traceroute">
260 <primary sortas="b-traceroute">traceroute</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 </variablelist>
266
267 </sect2>
268
269</sect1>
Note: See TracBrowser for help on using the repository browser.