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