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 | <title>Inetutils-&inetutils-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-inetutils">
|
---|
14 | <primary sortas="a-Inetutils">Inetutils</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <sect2 role="package">
|
---|
18 | <title/>
|
---|
19 |
|
---|
20 | <para>The Inetutils package contains programs for basic networking.</para>
|
---|
21 |
|
---|
22 | </sect2>
|
---|
23 |
|
---|
24 | <sect2 role="installation">
|
---|
25 | <title>Installation of Inetutils</title>
|
---|
26 |
|
---|
27 | <para os="p1">Not all programs that come with Inetutils will be installed.
|
---|
28 | However, the Inetutils build system will insist on installing all the
|
---|
29 | man pages anyway. The following patch will correct this
|
---|
30 | situation:</para>
|
---|
31 |
|
---|
32 | <screen os="p2"><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
|
---|
33 |
|
---|
34 | <para os="s1">One of the source files is missing a header. Add it with the
|
---|
35 | following command:</para>
|
---|
36 |
|
---|
37 | <screen os="s2"><userinput>sed -i "1i\#include <stdlib.h>" libicmp/icmp_timestamp.c</userinput></screen>
|
---|
38 |
|
---|
39 | <para os="a">Prepare Inetutils for compilation:</para>
|
---|
40 |
|
---|
41 | <screen os="b"><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
---|
42 | --localstatedir=/var --disable-logger --disable-syslogd \
|
---|
43 | --disable-whois --disable-servers</userinput></screen>
|
---|
44 |
|
---|
45 | <variablelist os="c">
|
---|
46 | <title>The meaning of the configure options:</title>
|
---|
47 |
|
---|
48 | <varlistentry>
|
---|
49 | <term><parameter>--disable-logger</parameter></term>
|
---|
50 | <listitem>
|
---|
51 | <para>This option prevents Inetutils from installing the
|
---|
52 | <command>logger</command> program, which is used by scripts to
|
---|
53 | pass messages to the System Log Daemon. Do not install it because
|
---|
54 | Util-linux-ng installs a better version later.</para>
|
---|
55 | </listitem>
|
---|
56 | </varlistentry>
|
---|
57 |
|
---|
58 | <varlistentry>
|
---|
59 | <term><parameter>--disable-syslogd</parameter></term>
|
---|
60 | <listitem>
|
---|
61 | <para>This option prevents Inetutils from installing the System Log
|
---|
62 | Daemon, which is installed with the Sysklogd package.</para>
|
---|
63 | </listitem>
|
---|
64 | </varlistentry>
|
---|
65 |
|
---|
66 | <varlistentry>
|
---|
67 | <term><parameter>--disable-whois</parameter></term>
|
---|
68 | <listitem>
|
---|
69 | <para>This option disables the building of the Inetutils
|
---|
70 | <command>whois</command> client, which is out of date.
|
---|
71 | Instructions for a better <command>whois</command> client are
|
---|
72 | in the CBLFS book.</para>
|
---|
73 | </listitem>
|
---|
74 | </varlistentry>
|
---|
75 |
|
---|
76 | <varlistentry>
|
---|
77 | <term><parameter>--disable-servers</parameter></term>
|
---|
78 | <listitem>
|
---|
79 | <para>This disables the installation of the various network
|
---|
80 | servers included as part of the Inetutils package. These servers are
|
---|
81 | deemed not appropriate in a basic CLFS system.</para>
|
---|
82 | </listitem>
|
---|
83 | </varlistentry>
|
---|
84 | </variablelist>
|
---|
85 |
|
---|
86 | <para os="d">Compile the package:</para>
|
---|
87 |
|
---|
88 | <screen os="e"><userinput>make</userinput></screen>
|
---|
89 |
|
---|
90 | <para os="f">This package does not come with a test suite.</para>
|
---|
91 |
|
---|
92 | <para os="g">Install the package:</para>
|
---|
93 |
|
---|
94 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
95 |
|
---|
96 | <para os="i">Move the <command>ping</command> and <command>ping6</command>
|
---|
97 | programs to their FHS-compliant place:</para>
|
---|
98 |
|
---|
99 | <screen os="j"><userinput>mv -v /usr/bin/ping{,6} /bin</userinput></screen>
|
---|
100 |
|
---|
101 | </sect2>
|
---|
102 |
|
---|
103 | <sect2 id="contents-inetutils" role="content">
|
---|
104 | <title>Contents of Inetutils</title>
|
---|
105 |
|
---|
106 | <segmentedlist>
|
---|
107 | <segtitle>Installed programs</segtitle>
|
---|
108 |
|
---|
109 | <seglistitem>
|
---|
110 | <seg>ftp, ifconfig, ping, ping6, rcp, rlogin, rsh, talk, telnet, and tftp</seg>
|
---|
111 | </seglistitem>
|
---|
112 | </segmentedlist>
|
---|
113 |
|
---|
114 | <variablelist>
|
---|
115 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
116 | <?dbfo list-presentation="list"?>
|
---|
117 | <?dbhtml list-presentation="table"?>
|
---|
118 |
|
---|
119 | <varlistentry id="ftp">
|
---|
120 | <term><command>ftp</command></term>
|
---|
121 | <listitem>
|
---|
122 | <para>Is the file transfer protocol program</para>
|
---|
123 | <indexterm zone="ch-system-inetutils ftp">
|
---|
124 | <primary sortas="b-ftp">ftp</primary>
|
---|
125 | </indexterm>
|
---|
126 | </listitem>
|
---|
127 | </varlistentry>
|
---|
128 |
|
---|
129 | <varlistentry id="ifconfig">
|
---|
130 | <term><command>ifconfig</command></term>
|
---|
131 | <listitem>
|
---|
132 | <para>Utility for configuring network interfaces</para>
|
---|
133 | <indexterm zone="ch-system-inetutils ifconfig">
|
---|
134 | <primary sortas="b-ifconfig">ifconfig</primary>
|
---|
135 | </indexterm>
|
---|
136 | </listitem>
|
---|
137 | </varlistentry>
|
---|
138 |
|
---|
139 | <varlistentry id="ping">
|
---|
140 | <term><command>ping</command></term>
|
---|
141 | <listitem>
|
---|
142 | <para>Sends echo-request packets and reports how long the replies
|
---|
143 | take. This is the IPV4 version</para>
|
---|
144 | <indexterm zone="ch-system-inetutils ping">
|
---|
145 | <primary sortas="b-ping">ping</primary>
|
---|
146 | </indexterm>
|
---|
147 | </listitem>
|
---|
148 | </varlistentry>
|
---|
149 |
|
---|
150 | <varlistentry id="ping6">
|
---|
151 | <term><command>ping6</command></term>
|
---|
152 | <listitem>
|
---|
153 | <para>Sends echo-request packets and reports how long the replies
|
---|
154 | take. This is the IPV6 version</para>
|
---|
155 | <indexterm zone="ch-system-inetutils ping6">
|
---|
156 | <primary sortas="b-ping6">ping6</primary>
|
---|
157 | </indexterm>
|
---|
158 | </listitem>
|
---|
159 | </varlistentry>
|
---|
160 |
|
---|
161 | <varlistentry id="rcp">
|
---|
162 | <term><command>rcp</command></term>
|
---|
163 | <listitem>
|
---|
164 | <para>Performs remote file copy</para>
|
---|
165 | <indexterm zone="ch-system-inetutils rcp">
|
---|
166 | <primary sortas="b-rcp">rcp</primary>
|
---|
167 | </indexterm>
|
---|
168 | </listitem>
|
---|
169 | </varlistentry>
|
---|
170 |
|
---|
171 | <varlistentry id="rlogin">
|
---|
172 | <term><command>rlogin</command></term>
|
---|
173 | <listitem>
|
---|
174 | <para>Performs remote login</para>
|
---|
175 | <indexterm zone="ch-system-inetutils rlogin">
|
---|
176 | <primary sortas="b-rlogin">rlogin</primary>
|
---|
177 | </indexterm>
|
---|
178 | </listitem>
|
---|
179 | </varlistentry>
|
---|
180 |
|
---|
181 | <varlistentry id="rsh">
|
---|
182 | <term><command>rsh</command></term>
|
---|
183 | <listitem>
|
---|
184 | <para>Runs a remote shell</para>
|
---|
185 | <indexterm zone="ch-system-inetutils rsh">
|
---|
186 | <primary sortas="b-rsh">rsh</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | <varlistentry id="talk">
|
---|
192 | <term><command>talk</command></term>
|
---|
193 | <listitem>
|
---|
194 | <para>Is used to chat with another user</para>
|
---|
195 | <indexterm zone="ch-system-inetutils talk">
|
---|
196 | <primary sortas="b-talk">talk</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | <varlistentry id="telnet">
|
---|
202 | <term><command>telnet</command></term>
|
---|
203 | <listitem>
|
---|
204 | <para>An interface to the TELNET protocol</para>
|
---|
205 | <indexterm zone="ch-system-inetutils telnet">
|
---|
206 | <primary sortas="b-telnet">telnet</primary>
|
---|
207 | </indexterm>
|
---|
208 | </listitem>
|
---|
209 | </varlistentry>
|
---|
210 |
|
---|
211 | <varlistentry id="tftp">
|
---|
212 | <term><command>tftp</command></term>
|
---|
213 | <listitem>
|
---|
214 | <para>A trivial file transfer program</para>
|
---|
215 | <indexterm zone="ch-system-inetutils tftp">
|
---|
216 | <primary sortas="b-tftp">tftp</primary>
|
---|
217 | </indexterm>
|
---|
218 | </listitem>
|
---|
219 | </varlistentry>
|
---|
220 |
|
---|
221 | </variablelist>
|
---|
222 |
|
---|
223 | </sect2>
|
---|
224 |
|
---|
225 | </sect1>
|
---|