[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 |
|
---|
[f1c177f] | 43 | <para>Fix an incompatibility between this package and Glibc-&glibc-version;</para>
|
---|
| 44 |
|
---|
| 45 | <screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | <para>Prepare Inetutils for compilation:</para>
|
---|
| 48 |
|
---|
[9f5aaf7] | 49 | <screen><userinput remap="configure">./configure --prefix=/usr \
|
---|
| 50 | --libexecdir=/usr/sbin \
|
---|
| 51 | --localstatedir=/var \
|
---|
| 52 | --disable-ifconfig \
|
---|
| 53 | --disable-logger \
|
---|
| 54 | --disable-syslogd \
|
---|
| 55 | --disable-whois \
|
---|
[ab4b285] | 56 | --disable-servers</userinput></screen>
|
---|
[73aedd1d] | 57 |
|
---|
[4ae4324] | 58 | <variablelist>
|
---|
| 59 | <title>The meaning of the configure options:</title>
|
---|
| 60 |
|
---|
[6aeced4] | 61 | <varlistentry>
|
---|
| 62 | <term><parameter>--disable-ifconfig</parameter></term>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>This option prevents Inetutils from installing the
|
---|
[9058aa1] | 65 | <command>ifconfig</command> program, which can be used to configure network
|
---|
[6aeced4] | 66 | interfaces. LFS uses <command>ip</command> from IPRoute2 to perform
|
---|
| 67 | this task.</para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </varlistentry>
|
---|
| 70 |
|
---|
[4ae4324] | 71 | <varlistentry>
|
---|
| 72 | <term><parameter>--disable-logger</parameter></term>
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>This option prevents Inetutils from installing the
|
---|
| 75 | <command>logger</command> program, which is used by scripts to
|
---|
| 76 | pass messages to the System Log Daemon. Do not install it because
|
---|
[796bacf4] | 77 | Util-linux installed a version earlier.</para>
|
---|
[4ae4324] | 78 | </listitem>
|
---|
| 79 | </varlistentry>
|
---|
| 80 |
|
---|
| 81 | <varlistentry>
|
---|
| 82 | <term><parameter>--disable-syslogd</parameter></term>
|
---|
| 83 | <listitem>
|
---|
| 84 | <para>This option prevents Inetutils from installing the System Log
|
---|
| 85 | Daemon, which is installed with the Sysklogd package.</para>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
| 89 | <varlistentry>
|
---|
| 90 | <term><parameter>--disable-whois</parameter></term>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>This option disables the building of the Inetutils
|
---|
| 93 | <command>whois</command> client, which is out of date. Instructions for
|
---|
| 94 | a better <command>whois</command> client are in the BLFS book.</para>
|
---|
| 95 | </listitem>
|
---|
| 96 | </varlistentry>
|
---|
| 97 |
|
---|
| 98 | <varlistentry>
|
---|
| 99 | <term><parameter>--disable-servers</parameter></term>
|
---|
| 100 | <listitem>
|
---|
| 101 | <para>This disables the installation of the various network servers
|
---|
| 102 | included as part of the Inetutils package. These servers are deemed not
|
---|
| 103 | appropriate in a basic LFS system. Some are insecure by nature and are
|
---|
| 104 | only considered safe on trusted networks. More information can be found
|
---|
| 105 | at <ulink url="&blfs-root;view/svn/basicnet/inetutils.html"/>. Note that
|
---|
| 106 | better replacements are available for many of these servers.</para>
|
---|
| 107 | </listitem>
|
---|
| 108 | </varlistentry>
|
---|
| 109 |
|
---|
| 110 | </variablelist>
|
---|
| 111 |
|
---|
| 112 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 113 |
|
---|
[0445a3d] | 114 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 115 |
|
---|
[1a15aba] | 116 | <para>To test the results, issue:</para>
|
---|
| 117 |
|
---|
| 118 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
[0be3d41] | 119 |
|
---|
[4ae4324] | 120 | <para>Install the package:</para>
|
---|
[73aedd1d] | 121 |
|
---|
[dd06b53] | 122 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
| 123 | <!-- The html file generation is broken as of texinfo-5.0
|
---|
[1a15aba] | 124 | make -C doc html
|
---|
| 125 | make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version;</userinput></screen>
|
---|
[dd06b53] | 126 | -->
|
---|
[8cfc230] | 127 | <para>Move some programs so they are available if <filename
|
---|
[ea011f47] | 128 | class='directory'>/usr</filename> is not accessible:</para>
|
---|
[73aedd1d] | 129 |
|
---|
[8cfc230] | 130 | <screen><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin</userinput></screen>
|
---|
[73aedd1d] | 131 |
|
---|
[4ae4324] | 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2 id="contents-inetutils" role="content">
|
---|
| 135 | <title>Contents of Inetutils</title>
|
---|
| 136 |
|
---|
| 137 | <segmentedlist>
|
---|
| 138 | <segtitle>Installed programs</segtitle>
|
---|
| 139 |
|
---|
| 140 | <seglistitem>
|
---|
[796bacf4] | 141 | <seg>ftp, hostname, ping, ping6, rcp, rexec, rlogin, rsh, talk, telnet,
|
---|
[90aae6b] | 142 | tftp, and traceroute</seg>
|
---|
[4ae4324] | 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
| 145 |
|
---|
| 146 | <variablelist>
|
---|
| 147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 148 | <?dbfo list-presentation="list"?>
|
---|
| 149 | <?dbhtml list-presentation="table"?>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="ftp">
|
---|
| 152 | <term><command>ftp</command></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>Is the file transfer protocol program</para>
|
---|
| 155 | <indexterm zone="ch-system-inetutils ftp">
|
---|
| 156 | <primary sortas="b-ftp">ftp</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
[c92413c] | 161 | <varlistentry id="hostname">
|
---|
| 162 | <term><command>hostname</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>Reports or sets the name of the host</para>
|
---|
| 165 | <indexterm zone="ch-system-inetutils hostname">
|
---|
| 166 | <primary sortas="b-hostname">hostname</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
[4ae4324] | 171 | <varlistentry id="ping">
|
---|
| 172 | <term><command>ping</command></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>Sends echo-request packets and reports how long the replies
|
---|
| 175 | take</para>
|
---|
| 176 | <indexterm zone="ch-system-inetutils ping">
|
---|
| 177 | <primary sortas="b-ping">ping</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
[2791a8e] | 182 | <varlistentry id="ping6">
|
---|
| 183 | <term><command>ping6</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>A version of <command>ping</command> for IPv6 networks</para>
|
---|
| 186 | <indexterm zone="ch-system-inetutils ping6">
|
---|
| 187 | <primary sortas="b-ping6">ping6</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
[4ae4324] | 192 | <varlistentry id="rcp">
|
---|
| 193 | <term><command>rcp</command></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>Performs remote file copy</para>
|
---|
| 196 | <indexterm zone="ch-system-inetutils rcp">
|
---|
| 197 | <primary sortas="b-rcp">rcp</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
[796bacf4] | 202 | <varlistentry id="rexec">
|
---|
| 203 | <term><command>rexec</command></term>
|
---|
| 204 | <listitem>
|
---|
| 205 | <para>executes commands on a remote host</para>
|
---|
| 206 | <indexterm zone="ch-system-inetutils rexec">
|
---|
| 207 | <primary sortas="b-rexec">rexec</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
[4ae4324] | 212 | <varlistentry id="rlogin">
|
---|
| 213 | <term><command>rlogin</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>Performs remote login</para>
|
---|
| 216 | <indexterm zone="ch-system-inetutils rlogin">
|
---|
| 217 | <primary sortas="b-rlogin">rlogin</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="rsh">
|
---|
| 223 | <term><command>rsh</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>Runs a remote shell</para>
|
---|
| 226 | <indexterm zone="ch-system-inetutils rsh">
|
---|
| 227 | <primary sortas="b-rsh">rsh</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="talk">
|
---|
| 233 | <term><command>talk</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>Is used to chat with another user</para>
|
---|
| 236 | <indexterm zone="ch-system-inetutils talk">
|
---|
| 237 | <primary sortas="b-talk">talk</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
| 242 | <varlistentry id="telnet">
|
---|
| 243 | <term><command>telnet</command></term>
|
---|
| 244 | <listitem>
|
---|
| 245 | <para>An interface to the TELNET protocol</para>
|
---|
| 246 | <indexterm zone="ch-system-inetutils telnet">
|
---|
| 247 | <primary sortas="b-telnet">telnet</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
| 251 |
|
---|
| 252 | <varlistentry id="tftp">
|
---|
| 253 | <term><command>tftp</command></term>
|
---|
| 254 | <listitem>
|
---|
| 255 | <para>A trivial file transfer program</para>
|
---|
| 256 | <indexterm zone="ch-system-inetutils tftp">
|
---|
| 257 | <primary sortas="b-tftp">tftp</primary>
|
---|
| 258 | </indexterm>
|
---|
| 259 | </listitem>
|
---|
| 260 | </varlistentry>
|
---|
| 261 |
|
---|
[90aae6b] | 262 | <varlistentry id="traceroute">
|
---|
| 263 | <term><command>traceroute</command></term>
|
---|
| 264 | <listitem>
|
---|
| 265 | <para>Traces the route your packets take from the host you are
|
---|
| 266 | working on to another host on a network, showing all the intermediate
|
---|
| 267 | hops (gateways) along the way</para>
|
---|
| 268 | <indexterm zone="ch-system-inetutils traceroute">
|
---|
| 269 | <primary sortas="b-traceroute">traceroute</primary>
|
---|
| 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
[4ae4324] | 274 | </variablelist>
|
---|
| 275 |
|
---|
| 276 | </sect2>
|
---|
[673b0d8] | 277 |
|
---|
| 278 | </sect1>
|
---|