2024-01-18 19:53:23 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2006-02-05 11:33:31 +00:00
|
|
|
|
2005-02-19 22:16:42 +00:00
|
|
|
<sect1 id="ch-system-inetutils" role="wrap">
|
2006-02-05 11:33:31 +00:00
|
|
|
<?dbhtml filename="inetutils.html"?>
|
|
|
|
|
2007-09-07 20:16:43 +01:00
|
|
|
<sect1info condition="script">
|
|
|
|
<productname>inetutils</productname>
|
|
|
|
<productnumber>&inetutils-version;</productnumber>
|
|
|
|
<address>&inetutils-url;</address>
|
|
|
|
</sect1info>
|
|
|
|
|
2006-02-05 11:33:31 +00:00
|
|
|
<title>Inetutils-&inetutils-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="ch-system-inetutils">
|
|
|
|
<primary sortas="a-Inetutils">Inetutils</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title/>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-02-05 11:33:31 +00:00
|
|
|
<para>The Inetutils package contains programs for basic networking.</para>
|
2003-05-11 22:28:48 +01:00
|
|
|
|
2006-02-05 11:33:31 +00:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2006-02-05 11:33:31 +00:00
|
|
|
<seglistitem>
|
2020-06-11 13:55:28 +01:00
|
|
|
<seg>&inetutils-fin-sbu;</seg>
|
|
|
|
<seg>&inetutils-fin-du;</seg>
|
2006-02-05 11:33:31 +00:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-02-05 11:33:31 +00:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Inetutils</title>
|
2012-08-05 15:25:02 +01:00
|
|
|
|
2024-05-11 21:17:56 +01:00
|
|
|
<para>First, make the package build with gcc-14.1 or later::</para>
|
|
|
|
|
|
|
|
<screen><userinput remap="pre">sed -i 's/def HAVE_TERMCAP_TGETENT/ 1/' telnet/telnet.c</userinput></screen>
|
|
|
|
|
2012-08-05 15:25:02 +01:00
|
|
|
<para>Prepare Inetutils for compilation:</para>
|
|
|
|
|
2015-04-20 12:20:56 +01:00
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
2021-05-16 03:06:47 +01:00
|
|
|
--bindir=/usr/bin \
|
2015-04-20 12:20:56 +01:00
|
|
|
--localstatedir=/var \
|
|
|
|
--disable-logger \
|
|
|
|
--disable-whois \
|
2015-08-23 22:26:36 +01:00
|
|
|
--disable-rcp \
|
|
|
|
--disable-rexec \
|
|
|
|
--disable-rlogin \
|
|
|
|
--disable-rsh \
|
2014-07-26 13:55:38 +01:00
|
|
|
--disable-servers</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-02-05 11:33:31 +00:00
|
|
|
<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
|
2014-08-24 19:21:29 +01:00
|
|
|
Util-linux installs a more recent version.</para>
|
2006-02-05 11:33:31 +00:00
|
|
|
</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>
|
|
|
|
|
2015-08-23 22:26:36 +01:00
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>--disable-r*</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>These parameters disable building obsolete programs that should not
|
|
|
|
be used due to security issues. The functions provided by these
|
|
|
|
programs can be provided by the <application>openssh</application>
|
|
|
|
package in the BLFS book.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2006-02-05 11:33:31 +00:00
|
|
|
<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
|
2014-01-14 22:45:09 +00:00
|
|
|
only considered safe on trusted networks. Note that
|
2006-02-05 11:33:31 +00:00
|
|
|
better replacements are available for many of these servers.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2007-09-18 22:11:00 +01:00
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2010-11-10 22:24:27 +00:00
|
|
|
<para>To test the results, issue:</para>
|
|
|
|
|
|
|
|
<screen><userinput remap="test">make check</userinput></screen>
|
2021-08-01 18:53:19 +01:00
|
|
|
<!--
|
2017-06-02 21:30:55 +01:00
|
|
|
<note><para>One test, libls.sh, may fail in the initial chroot
|
|
|
|
environment but will pass if the test is rerun after the LFS system
|
2018-07-19 01:57:03 +01:00
|
|
|
is complete. One test, ping-localhost.sh, will fail if the host
|
|
|
|
system does not have ipv6 capability.</para></note>
|
2021-08-01 18:53:19 +01:00
|
|
|
-->
|
2006-02-05 11:33:31 +00:00
|
|
|
<para>Install the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2013-02-18 21:33:51 +00:00
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
2014-01-14 22:45:09 +00:00
|
|
|
|
2021-05-12 05:24:11 +01:00
|
|
|
<para>Move a program to the proper location:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2021-05-16 03:06:47 +01:00
|
|
|
<screen><userinput remap="install">mv -v /usr/{,s}bin/ifconfig</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-02-05 11:33:31 +00:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="contents-inetutils" role="content">
|
|
|
|
<title>Contents of Inetutils</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed programs</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2021-09-07 21:33:18 +01:00
|
|
|
<seg>dnsdomainname, ftp, ifconfig, hostname, ping, ping6,
|
2015-10-12 22:20:03 +01:00
|
|
|
talk, telnet, tftp, and traceroute</seg>
|
2006-02-05 11:33:31 +00:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2015-10-12 22:20:03 +01:00
|
|
|
<varlistentry id="dnsdomainname">
|
|
|
|
<term><command>dnsdomainname</command></term>
|
2006-02-05 11:33:31 +00:00
|
|
|
<listitem>
|
2015-10-12 22:20:03 +01:00
|
|
|
<para>Show the system's DNS domain name</para>
|
|
|
|
<indexterm zone="ch-system-inetutils dnsdomainname">
|
|
|
|
<primary sortas="b-dnsdomainname">dnsdomainname</primary>
|
2006-02-05 11:33:31 +00:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-10-12 22:20:03 +01:00
|
|
|
<varlistentry id="ftp">
|
|
|
|
<term><command>ftp</command></term>
|
2014-01-14 22:45:09 +00:00
|
|
|
<listitem>
|
2015-10-12 22:20:03 +01:00
|
|
|
<para>Is the file transfer protocol program</para>
|
|
|
|
<indexterm zone="ch-system-inetutils ftp">
|
|
|
|
<primary sortas="b-ftp">ftp</primary>
|
2014-01-14 22:45:09 +00:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2009-03-12 21:02:01 +00:00
|
|
|
<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>
|
|
|
|
|
2015-10-12 22:20:03 +01:00
|
|
|
<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>
|
|
|
|
|
2006-02-05 11:33:31 +00:00
|
|
|
<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>
|
|
|
|
|
2007-05-12 21:45:29 +01:00
|
|
|
<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>
|
|
|
|
|
2006-02-05 11:33:31 +00:00
|
|
|
<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>
|
|
|
|
|
2009-05-10 19:36:23 +01:00
|
|
|
<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>
|
|
|
|
|
2006-02-05 11:33:31 +00:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
|
|
|
</sect1>
|