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