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