[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>
|
---|
[fb386e0] | 33 | <seg>&inetutils-fin-sbu;</seg>
|
---|
| 34 | <seg>&inetutils-fin-du;</seg>
|
---|
[4ae4324] | 35 | </seglistitem>
|
---|
| 36 | </segmentedlist>
|
---|
[673b0d8] | 37 |
|
---|
[4ae4324] | 38 | </sect2>
|
---|
| 39 |
|
---|
| 40 | <sect2 role="installation">
|
---|
| 41 | <title>Installation of Inetutils</title>
|
---|
[f1c177f] | 42 |
|
---|
| 43 | <para>Prepare Inetutils for compilation:</para>
|
---|
| 44 |
|
---|
[d0da965a] | 45 | <screen><userinput remap="configure">./configure --prefix=/usr \
|
---|
[7fbfed56] | 46 | --bindir=/usr/bin \
|
---|
[d0da965a] | 47 | --localstatedir=/var \
|
---|
| 48 | --disable-logger \
|
---|
| 49 | --disable-whois \
|
---|
[6fc168b] | 50 | --disable-rcp \
|
---|
| 51 | --disable-rexec \
|
---|
| 52 | --disable-rlogin \
|
---|
| 53 | --disable-rsh \
|
---|
[241831ef] | 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 |
|
---|
[6fc168b] | 78 | <varlistentry>
|
---|
| 79 | <term><parameter>--disable-r*</parameter></term>
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>These parameters disable building obsolete programs that should not
|
---|
| 82 | be used due to security issues. The functions provided by these
|
---|
| 83 | programs can be provided by the <application>openssh</application>
|
---|
| 84 | package in the BLFS book.</para>
|
---|
| 85 | </listitem>
|
---|
| 86 | </varlistentry>
|
---|
| 87 |
|
---|
[4ae4324] | 88 | <varlistentry>
|
---|
| 89 | <term><parameter>--disable-servers</parameter></term>
|
---|
| 90 | <listitem>
|
---|
| 91 | <para>This disables the installation of the various network servers
|
---|
| 92 | included as part of the Inetutils package. These servers are deemed not
|
---|
| 93 | appropriate in a basic LFS system. Some are insecure by nature and are
|
---|
[7787e7e] | 94 | only considered safe on trusted networks. Note that
|
---|
[4ae4324] | 95 | better replacements are available for many of these servers.</para>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
| 99 | </variablelist>
|
---|
| 100 |
|
---|
| 101 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 102 |
|
---|
[0445a3d] | 103 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 104 |
|
---|
[1a15aba] | 105 | <para>To test the results, issue:</para>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
[c2d2342] | 108 | <!--
|
---|
[a7cde9b] | 109 | <note><para>One test, libls.sh, may fail in the initial chroot
|
---|
| 110 | environment but will pass if the test is rerun after the LFS system
|
---|
[de6905d] | 111 | is complete. One test, ping-localhost.sh, will fail if the host
|
---|
| 112 | system does not have ipv6 capability.</para></note>
|
---|
[c2d2342] | 113 | -->
|
---|
[4ae4324] | 114 | <para>Install the package:</para>
|
---|
[73aedd1d] | 115 |
|
---|
[dd06b53] | 116 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[7787e7e] | 117 |
|
---|
[d7a9421] | 118 | <para>Move a program to the proper location:</para>
|
---|
[73aedd1d] | 119 |
|
---|
[7fbfed56] | 120 | <screen><userinput remap="install">mv -v /usr/{,s}bin/ifconfig</userinput></screen>
|
---|
[73aedd1d] | 121 |
|
---|
[4ae4324] | 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 id="contents-inetutils" role="content">
|
---|
| 125 | <title>Contents of Inetutils</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed programs</segtitle>
|
---|
| 129 |
|
---|
| 130 | <seglistitem>
|
---|
[040ecb6] | 131 | <seg>dnsdomainname, ftp, ifconfig, hostname, ping, ping6,
|
---|
| 132 | talk, telnet, tftp, and traceroute</seg>
|
---|
[4ae4324] | 133 | </seglistitem>
|
---|
| 134 | </segmentedlist>
|
---|
| 135 |
|
---|
| 136 | <variablelist>
|
---|
| 137 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 138 | <?dbfo list-presentation="list"?>
|
---|
| 139 | <?dbhtml list-presentation="table"?>
|
---|
| 140 |
|
---|
[040ecb6] | 141 | <varlistentry id="dnsdomainname">
|
---|
| 142 | <term><command>dnsdomainname</command></term>
|
---|
[4ae4324] | 143 | <listitem>
|
---|
[040ecb6] | 144 | <para>Show the system's DNS domain name</para>
|
---|
| 145 | <indexterm zone="ch-system-inetutils dnsdomainname">
|
---|
| 146 | <primary sortas="b-dnsdomainname">dnsdomainname</primary>
|
---|
[4ae4324] | 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
[040ecb6] | 151 | <varlistentry id="ftp">
|
---|
| 152 | <term><command>ftp</command></term>
|
---|
[7787e7e] | 153 | <listitem>
|
---|
[040ecb6] | 154 | <para>Is the file transfer protocol program</para>
|
---|
| 155 | <indexterm zone="ch-system-inetutils ftp">
|
---|
| 156 | <primary sortas="b-ftp">ftp</primary>
|
---|
[7787e7e] | 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 |
|
---|
[040ecb6] | 171 | <varlistentry id="ifconfig">
|
---|
| 172 | <term><command>ifconfig</command></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>Manages network interfaces</para>
|
---|
| 175 | <indexterm zone="ch-system-inetutils ifconfig">
|
---|
| 176 | <primary sortas="b-ifconfig">ifconfig</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
[4ae4324] | 181 | <varlistentry id="ping">
|
---|
| 182 | <term><command>ping</command></term>
|
---|
| 183 | <listitem>
|
---|
| 184 | <para>Sends echo-request packets and reports how long the replies
|
---|
| 185 | take</para>
|
---|
| 186 | <indexterm zone="ch-system-inetutils ping">
|
---|
| 187 | <primary sortas="b-ping">ping</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
[2791a8e] | 192 | <varlistentry id="ping6">
|
---|
| 193 | <term><command>ping6</command></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>A version of <command>ping</command> for IPv6 networks</para>
|
---|
| 196 | <indexterm zone="ch-system-inetutils ping6">
|
---|
| 197 | <primary sortas="b-ping6">ping6</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
[4ae4324] | 202 | <varlistentry id="talk">
|
---|
| 203 | <term><command>talk</command></term>
|
---|
| 204 | <listitem>
|
---|
| 205 | <para>Is used to chat with another user</para>
|
---|
| 206 | <indexterm zone="ch-system-inetutils talk">
|
---|
| 207 | <primary sortas="b-talk">talk</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="telnet">
|
---|
| 213 | <term><command>telnet</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>An interface to the TELNET protocol</para>
|
---|
| 216 | <indexterm zone="ch-system-inetutils telnet">
|
---|
| 217 | <primary sortas="b-telnet">telnet</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="tftp">
|
---|
| 223 | <term><command>tftp</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>A trivial file transfer program</para>
|
---|
| 226 | <indexterm zone="ch-system-inetutils tftp">
|
---|
| 227 | <primary sortas="b-tftp">tftp</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
[90aae6b] | 232 | <varlistentry id="traceroute">
|
---|
| 233 | <term><command>traceroute</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>Traces the route your packets take from the host you are
|
---|
| 236 | working on to another host on a network, showing all the intermediate
|
---|
| 237 | hops (gateways) along the way</para>
|
---|
| 238 | <indexterm zone="ch-system-inetutils traceroute">
|
---|
| 239 | <primary sortas="b-traceroute">traceroute</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
[4ae4324] | 244 | </variablelist>
|
---|
| 245 |
|
---|
| 246 | </sect2>
|
---|
[673b0d8] | 247 |
|
---|
| 248 | </sect1>
|
---|