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