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