source: chapter08/inetutils.xml@ d7a9421

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 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 d7a9421 was d7a9421, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Merge Xi's changes into trunk
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!

  • Property mode set to 100644
File size: 8.0 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-fin-sbu;</seg>
34 <seg>&inetutils-fin-du;</seg>
35 </seglistitem>
36 </segmentedlist>
37
38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of Inetutils</title>
42
43 <para>Prepare Inetutils for compilation:</para>
44
45<screen><userinput remap="configure">./configure --prefix=/usr \
46 --localstatedir=/var \
47 --disable-logger \
48 --disable-whois \
49 --disable-rcp \
50 --disable-rexec \
51 --disable-rlogin \
52 --disable-rsh \
53 --disable-servers</userinput></screen>
54
55 <variablelist>
56 <title>The meaning of the configure options:</title>
57
58 <varlistentry>
59 <term><parameter>--disable-logger</parameter></term>
60 <listitem>
61 <para>This option prevents Inetutils from installing the
62 <command>logger</command> program, which is used by scripts to
63 pass messages to the System Log Daemon. Do not install it because
64 Util-linux installs a more recent version.</para>
65 </listitem>
66 </varlistentry>
67
68 <varlistentry>
69 <term><parameter>--disable-whois</parameter></term>
70 <listitem>
71 <para>This option disables the building of the Inetutils
72 <command>whois</command> client, which is out of date. Instructions for
73 a better <command>whois</command> client are in the BLFS book.</para>
74 </listitem>
75 </varlistentry>
76
77 <varlistentry>
78 <term><parameter>--disable-r*</parameter></term>
79 <listitem>
80 <para>These parameters disable building obsolete programs that should not
81 be used due to security issues. The functions provided by these
82 programs can be provided by the <application>openssh</application>
83 package in the BLFS book.</para>
84 </listitem>
85 </varlistentry>
86
87 <varlistentry>
88 <term><parameter>--disable-servers</parameter></term>
89 <listitem>
90 <para>This disables the installation of the various network servers
91 included as part of the Inetutils package. These servers are deemed not
92 appropriate in a basic LFS system. Some are insecure by nature and are
93 only considered safe on trusted networks. Note that
94 better replacements are available for many of these servers.</para>
95 </listitem>
96 </varlistentry>
97
98 </variablelist>
99
100 <para>Compile the package:</para>
101
102<screen><userinput remap="make">make</userinput></screen>
103
104 <para>To test the results, issue:</para>
105
106<screen><userinput remap="test">make check</userinput></screen>
107
108 <note><para>One test, libls.sh, may fail in the initial chroot
109 environment but will pass if the test is rerun after the LFS system
110 is complete. One test, ping-localhost.sh, will fail if the host
111 system does not have ipv6 capability.</para></note>
112
113 <para>Install the package:</para>
114
115<screen><userinput remap="install">make install</userinput></screen>
116
117 <para>Move a program to the proper location:</para>
118
119<screen><userinput remap="install">mv -v /{,s}bin/ifconfig</userinput></screen>
120
121 </sect2>
122
123 <sect2 id="contents-inetutils" role="content">
124 <title>Contents of Inetutils</title>
125
126 <segmentedlist>
127 <segtitle>Installed programs</segtitle>
128
129 <seglistitem>
130 <seg>dnsdomainname, ftp, ifconfig, hostname, ping, ping6,
131 talk, telnet, tftp, and traceroute</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="dnsdomainname">
141 <term><command>dnsdomainname</command></term>
142 <listitem>
143 <para>Show the system's DNS domain name</para>
144 <indexterm zone="ch-system-inetutils dnsdomainname">
145 <primary sortas="b-dnsdomainname">dnsdomainname</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="ftp">
151 <term><command>ftp</command></term>
152 <listitem>
153 <para>Is the file transfer protocol program</para>
154 <indexterm zone="ch-system-inetutils ftp">
155 <primary sortas="b-ftp">ftp</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="hostname">
161 <term><command>hostname</command></term>
162 <listitem>
163 <para>Reports or sets the name of the host</para>
164 <indexterm zone="ch-system-inetutils hostname">
165 <primary sortas="b-hostname">hostname</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 <varlistentry id="ifconfig">
171 <term><command>ifconfig</command></term>
172 <listitem>
173 <para>Manages network interfaces</para>
174 <indexterm zone="ch-system-inetutils ifconfig">
175 <primary sortas="b-ifconfig">ifconfig</primary>
176 </indexterm>
177 </listitem>
178 </varlistentry>
179
180 <varlistentry id="ping">
181 <term><command>ping</command></term>
182 <listitem>
183 <para>Sends echo-request packets and reports how long the replies
184 take</para>
185 <indexterm zone="ch-system-inetutils ping">
186 <primary sortas="b-ping">ping</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="ping6">
192 <term><command>ping6</command></term>
193 <listitem>
194 <para>A version of <command>ping</command> for IPv6 networks</para>
195 <indexterm zone="ch-system-inetutils ping6">
196 <primary sortas="b-ping6">ping6</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="talk">
202 <term><command>talk</command></term>
203 <listitem>
204 <para>Is used to chat with another user</para>
205 <indexterm zone="ch-system-inetutils talk">
206 <primary sortas="b-talk">talk</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="telnet">
212 <term><command>telnet</command></term>
213 <listitem>
214 <para>An interface to the TELNET protocol</para>
215 <indexterm zone="ch-system-inetutils telnet">
216 <primary sortas="b-telnet">telnet</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="tftp">
222 <term><command>tftp</command></term>
223 <listitem>
224 <para>A trivial file transfer program</para>
225 <indexterm zone="ch-system-inetutils tftp">
226 <primary sortas="b-tftp">tftp</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="traceroute">
232 <term><command>traceroute</command></term>
233 <listitem>
234 <para>Traces the route your packets take from the host you are
235 working on to another host on a network, showing all the intermediate
236 hops (gateways) along the way</para>
237 <indexterm zone="ch-system-inetutils traceroute">
238 <primary sortas="b-traceroute">traceroute</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 </variablelist>
244
245 </sect2>
246
247</sect1>
Note: See TracBrowser for help on using the repository browser.