[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 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 |
|
---|
[dc5815da] | 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 |
|
---|
[1da2a84] | 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 |
|
---|
[e0e40d3] | 39 | <para os="a">Prepare Inetutils for compilation:</para>
|
---|
[3f8be484] | 40 |
|
---|
[e0e40d3] | 41 | <screen os="b"><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
---|
[3f8be484] | 42 | --sysconfdir=/etc --localstatedir=/var \
|
---|
| 43 | --disable-logger --disable-syslogd \
|
---|
| 44 | --disable-whois --disable-servers</userinput></screen>
|
---|
| 45 |
|
---|
[e0e40d3] | 46 | <variablelist os="c">
|
---|
[3f8be484] | 47 | <title>The meaning of the configure options:</title>
|
---|
| 48 |
|
---|
| 49 | <varlistentry>
|
---|
| 50 | <term><parameter>--disable-logger</parameter></term>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>This option prevents Inetutils from installing the
|
---|
| 53 | <command>logger</command> program, which is used by scripts to
|
---|
| 54 | pass messages to the System Log Daemon. Do not install it because
|
---|
[c3cde4ba] | 55 | Util-linux-ng installs a better version later.</para>
|
---|
[3f8be484] | 56 | </listitem>
|
---|
| 57 | </varlistentry>
|
---|
| 58 |
|
---|
| 59 | <varlistentry>
|
---|
| 60 | <term><parameter>--disable-syslogd</parameter></term>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>This option prevents Inetutils from installing the System Log
|
---|
| 63 | Daemon, which is installed with the Sysklogd package.</para>
|
---|
| 64 | </listitem>
|
---|
| 65 | </varlistentry>
|
---|
| 66 |
|
---|
| 67 | <varlistentry>
|
---|
| 68 | <term><parameter>--disable-whois</parameter></term>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>This option disables the building of the Inetutils
|
---|
| 71 | <command>whois</command> client, which is out of date.
|
---|
| 72 | Instructions for a better <command>whois</command> client are
|
---|
[0d4607d] | 73 | in the CBLFS book.</para>
|
---|
[3f8be484] | 74 | </listitem>
|
---|
| 75 | </varlistentry>
|
---|
| 76 |
|
---|
| 77 | <varlistentry>
|
---|
| 78 | <term><parameter>--disable-servers</parameter></term>
|
---|
| 79 | <listitem>
|
---|
| 80 | <para>This disables the installation of the various network
|
---|
| 81 | servers included as part of the Inetutils package. These servers are
|
---|
[0d4607d] | 82 | deemed not appropriate in a basic CLFS system.</para>
|
---|
[3f8be484] | 83 | </listitem>
|
---|
| 84 | </varlistentry>
|
---|
| 85 | </variablelist>
|
---|
| 86 |
|
---|
[e0e40d3] | 87 | <para os="d">Compile the package:</para>
|
---|
[3f8be484] | 88 |
|
---|
[e0e40d3] | 89 | <screen os="e"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 90 |
|
---|
[d1631d1] | 91 | <para os="f">This package does not come with a test suite.</para>
|
---|
[3f8be484] | 92 |
|
---|
[d1631d1] | 93 | <para os="g">Install the package:</para>
|
---|
[3f8be484] | 94 |
|
---|
[d1631d1] | 95 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
| 96 |
|
---|
[645e8db] | 97 | <para os="i">Move the <command>ping</command> and <command>ping6</command>
|
---|
[1910c6f] | 98 | programs to their FHS-compliant place:</para>
|
---|
[3f8be484] | 99 |
|
---|
[645e8db] | 100 | <screen os="j"><userinput>mv -v /usr/bin/ping{,6} /bin</userinput></screen>
|
---|
[3f8be484] | 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 id="contents-inetutils" role="content">
|
---|
| 105 | <title>Contents of Inetutils</title>
|
---|
| 106 |
|
---|
| 107 | <segmentedlist>
|
---|
| 108 | <segtitle>Installed programs</segtitle>
|
---|
| 109 |
|
---|
| 110 | <seglistitem>
|
---|
[645e8db] | 111 | <seg>ftp, ifconfig, ping, ping6, rcp, rlogin, rsh, talk, telnet, and tftp</seg>
|
---|
[3f8be484] | 112 | </seglistitem>
|
---|
| 113 | </segmentedlist>
|
---|
| 114 |
|
---|
| 115 | <variablelist>
|
---|
| 116 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 117 | <?dbfo list-presentation="list"?>
|
---|
| 118 | <?dbhtml list-presentation="table"?>
|
---|
| 119 |
|
---|
| 120 | <varlistentry id="ftp">
|
---|
| 121 | <term><command>ftp</command></term>
|
---|
| 122 | <listitem>
|
---|
| 123 | <para>Is the file transfer protocol program</para>
|
---|
| 124 | <indexterm zone="ch-system-inetutils ftp">
|
---|
| 125 | <primary sortas="b-ftp">ftp</primary>
|
---|
| 126 | </indexterm>
|
---|
| 127 | </listitem>
|
---|
| 128 | </varlistentry>
|
---|
| 129 |
|
---|
[645e8db] | 130 | <varlistentry id="ifconfig">
|
---|
| 131 | <term><command>ifconfig</command></term>
|
---|
| 132 | <listitem>
|
---|
| 133 | <para>Utility for configuring network interfaces</para>
|
---|
| 134 | <indexterm zone="ch-system-inetutils ifconfig">
|
---|
| 135 | <primary sortas="b-ifconfig">ifconfig</primary>
|
---|
| 136 | </indexterm>
|
---|
| 137 | </listitem>
|
---|
| 138 | </varlistentry>
|
---|
| 139 |
|
---|
[3f8be484] | 140 | <varlistentry id="ping">
|
---|
| 141 | <term><command>ping</command></term>
|
---|
| 142 | <listitem>
|
---|
| 143 | <para>Sends echo-request packets and reports how long the replies
|
---|
[1910c6f] | 144 | take. This is the IPV4 version</para>
|
---|
[3f8be484] | 145 | <indexterm zone="ch-system-inetutils ping">
|
---|
| 146 | <primary sortas="b-ping">ping</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
[645e8db] | 151 | <varlistentry id="ping6">
|
---|
| 152 | <term><command>ping6</command></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>Sends echo-request packets and reports how long the replies
|
---|
[1910c6f] | 155 | take. This is the IPV6 version</para>
|
---|
[645e8db] | 156 | <indexterm zone="ch-system-inetutils ping6">
|
---|
| 157 | <primary sortas="b-ping6">ping6</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
[3f8be484] | 162 | <varlistentry id="rcp">
|
---|
| 163 | <term><command>rcp</command></term>
|
---|
| 164 | <listitem>
|
---|
| 165 | <para>Performs remote file copy</para>
|
---|
| 166 | <indexterm zone="ch-system-inetutils rcp">
|
---|
| 167 | <primary sortas="b-rcp">rcp</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="rlogin">
|
---|
| 173 | <term><command>rlogin</command></term>
|
---|
| 174 | <listitem>
|
---|
| 175 | <para>Performs remote login</para>
|
---|
| 176 | <indexterm zone="ch-system-inetutils rlogin">
|
---|
| 177 | <primary sortas="b-rlogin">rlogin</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="rsh">
|
---|
| 183 | <term><command>rsh</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>Runs a remote shell</para>
|
---|
| 186 | <indexterm zone="ch-system-inetutils rsh">
|
---|
| 187 | <primary sortas="b-rsh">rsh</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | <varlistentry id="talk">
|
---|
| 193 | <term><command>talk</command></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>Is used to chat with another user</para>
|
---|
| 196 | <indexterm zone="ch-system-inetutils talk">
|
---|
| 197 | <primary sortas="b-talk">talk</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | <varlistentry id="telnet">
|
---|
| 203 | <term><command>telnet</command></term>
|
---|
| 204 | <listitem>
|
---|
| 205 | <para>An interface to the TELNET protocol</para>
|
---|
| 206 | <indexterm zone="ch-system-inetutils telnet">
|
---|
| 207 | <primary sortas="b-telnet">telnet</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="tftp">
|
---|
| 213 | <term><command>tftp</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>A trivial file transfer program</para>
|
---|
| 216 | <indexterm zone="ch-system-inetutils tftp">
|
---|
| 217 | <primary sortas="b-tftp">tftp</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | </variablelist>
|
---|
| 223 |
|
---|
| 224 | </sect2>
|
---|
| 225 |
|
---|
| 226 | </sect1>
|
---|