inetutils.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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. <sect1 id="ch-system-inetutils" role="wrap">
  8. <?dbhtml filename="inetutils.html"?>
  9. <sect1info condition="script">
  10. <productname>inetutils</productname>
  11. <productnumber>&inetutils-version;</productnumber>
  12. <address>&inetutils-url;</address>
  13. </sect1info>
  14. <title>Inetutils-&inetutils-version;</title>
  15. <indexterm zone="ch-system-inetutils">
  16. <primary sortas="a-Inetutils">Inetutils</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Inetutils package contains programs for basic networking.</para>
  21. <segmentedlist>
  22. <segtitle>&buildtime;</segtitle>
  23. <segtitle>&diskspace;</segtitle>
  24. <seglistitem>
  25. <seg>&inetutils-ch6-sbu;</seg>
  26. <seg>&inetutils-ch6-du;</seg>
  27. </seglistitem>
  28. </segmentedlist>
  29. </sect2>
  30. <sect2 role="installation">
  31. <title>Installation of Inetutils</title>
  32. <!--
  33. <para>Create a definition to allow the <command>ifconfig</command> program
  34. to build properly:</para>
  35. <screen><userinput remap="pre">echo '#define PATH_PROCNET_DEV "/proc/net/dev"' &gt;&gt; ifconfig/system/linux.h </userinput></screen>
  36. -->
  37. <para>Prepare Inetutils for compilation:</para>
  38. <screen><userinput remap="configure">./configure --prefix=/usr \
  39. --localstatedir=/var \
  40. --disable-logger \
  41. --disable-whois \
  42. --disable-servers</userinput></screen>
  43. <variablelist>
  44. <title>The meaning of the configure options:</title>
  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 installs a more recent version.</para>
  52. </listitem>
  53. </varlistentry>
  54. <varlistentry>
  55. <term><parameter>--disable-whois</parameter></term>
  56. <listitem>
  57. <para>This option disables the building of the Inetutils
  58. <command>whois</command> client, which is out of date. Instructions for
  59. a better <command>whois</command> client are in the BLFS book.</para>
  60. </listitem>
  61. </varlistentry>
  62. <varlistentry>
  63. <term><parameter>--disable-servers</parameter></term>
  64. <listitem>
  65. <para>This disables the installation of the various network servers
  66. included as part of the Inetutils package. These servers are deemed not
  67. appropriate in a basic LFS system. Some are insecure by nature and are
  68. only considered safe on trusted networks. Note that
  69. better replacements are available for many of these servers.</para>
  70. </listitem>
  71. </varlistentry>
  72. </variablelist>
  73. <para>Compile the package:</para>
  74. <screen><userinput remap="make">make</userinput></screen>
  75. <para>To test the results, issue:</para>
  76. <screen><userinput remap="test">make check</userinput></screen>
  77. <para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard
  78. coding of some support program paths. All tests pass if the tests are
  79. rerun at the end of Chapter 6.</para>
  80. <para>Install the package:</para>
  81. <screen><userinput remap="install">make install</userinput></screen>
  82. <para>Move some programs so they are available if <filename
  83. class='directory'>/usr</filename> is not accessible:</para>
  84. <screen><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin
  85. mv -v /usr/bin/ifconfig /sbin</userinput></screen>
  86. </sect2>
  87. <sect2 id="contents-inetutils" role="content">
  88. <title>Contents of Inetutils</title>
  89. <segmentedlist>
  90. <segtitle>Installed programs</segtitle>
  91. <seglistitem>
  92. <seg>ftp, ifconfig, hostname, ping, ping6, rcp, rexec, rlogin,
  93. rsh, talk, telnet, tftp, and traceroute</seg>
  94. </seglistitem>
  95. </segmentedlist>
  96. <variablelist>
  97. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  98. <?dbfo list-presentation="list"?>
  99. <?dbhtml list-presentation="table"?>
  100. <varlistentry id="ftp">
  101. <term><command>ftp</command></term>
  102. <listitem>
  103. <para>Is the file transfer protocol program</para>
  104. <indexterm zone="ch-system-inetutils ftp">
  105. <primary sortas="b-ftp">ftp</primary>
  106. </indexterm>
  107. </listitem>
  108. </varlistentry>
  109. <varlistentry id="ifconfig">
  110. <term><command>ifconfig</command></term>
  111. <listitem>
  112. <para>Manages network interfaces</para>
  113. <indexterm zone="ch-system-inetutils ifconfig">
  114. <primary sortas="b-ifconfig">ifconfig</primary>
  115. </indexterm>
  116. </listitem>
  117. </varlistentry>
  118. <varlistentry id="hostname">
  119. <term><command>hostname</command></term>
  120. <listitem>
  121. <para>Reports or sets the name of the host</para>
  122. <indexterm zone="ch-system-inetutils hostname">
  123. <primary sortas="b-hostname">hostname</primary>
  124. </indexterm>
  125. </listitem>
  126. </varlistentry>
  127. <varlistentry id="ping">
  128. <term><command>ping</command></term>
  129. <listitem>
  130. <para>Sends echo-request packets and reports how long the replies
  131. take</para>
  132. <indexterm zone="ch-system-inetutils ping">
  133. <primary sortas="b-ping">ping</primary>
  134. </indexterm>
  135. </listitem>
  136. </varlistentry>
  137. <varlistentry id="ping6">
  138. <term><command>ping6</command></term>
  139. <listitem>
  140. <para>A version of <command>ping</command> for IPv6 networks</para>
  141. <indexterm zone="ch-system-inetutils ping6">
  142. <primary sortas="b-ping6">ping6</primary>
  143. </indexterm>
  144. </listitem>
  145. </varlistentry>
  146. <varlistentry id="rcp">
  147. <term><command>rcp</command></term>
  148. <listitem>
  149. <para>Performs remote file copy</para>
  150. <indexterm zone="ch-system-inetutils rcp">
  151. <primary sortas="b-rcp">rcp</primary>
  152. </indexterm>
  153. </listitem>
  154. </varlistentry>
  155. <varlistentry id="rexec">
  156. <term><command>rexec</command></term>
  157. <listitem>
  158. <para>Executes commands on a remote host</para>
  159. <indexterm zone="ch-system-inetutils rexec">
  160. <primary sortas="b-rexec">rexec</primary>
  161. </indexterm>
  162. </listitem>
  163. </varlistentry>
  164. <varlistentry id="rlogin">
  165. <term><command>rlogin</command></term>
  166. <listitem>
  167. <para>Performs remote login</para>
  168. <indexterm zone="ch-system-inetutils rlogin">
  169. <primary sortas="b-rlogin">rlogin</primary>
  170. </indexterm>
  171. </listitem>
  172. </varlistentry>
  173. <varlistentry id="rsh">
  174. <term><command>rsh</command></term>
  175. <listitem>
  176. <para>Runs a remote shell</para>
  177. <indexterm zone="ch-system-inetutils rsh">
  178. <primary sortas="b-rsh">rsh</primary>
  179. </indexterm>
  180. </listitem>
  181. </varlistentry>
  182. <varlistentry id="talk">
  183. <term><command>talk</command></term>
  184. <listitem>
  185. <para>Is used to chat with another user</para>
  186. <indexterm zone="ch-system-inetutils talk">
  187. <primary sortas="b-talk">talk</primary>
  188. </indexterm>
  189. </listitem>
  190. </varlistentry>
  191. <varlistentry id="telnet">
  192. <term><command>telnet</command></term>
  193. <listitem>
  194. <para>An interface to the TELNET protocol</para>
  195. <indexterm zone="ch-system-inetutils telnet">
  196. <primary sortas="b-telnet">telnet</primary>
  197. </indexterm>
  198. </listitem>
  199. </varlistentry>
  200. <varlistentry id="tftp">
  201. <term><command>tftp</command></term>
  202. <listitem>
  203. <para>A trivial file transfer program</para>
  204. <indexterm zone="ch-system-inetutils tftp">
  205. <primary sortas="b-tftp">tftp</primary>
  206. </indexterm>
  207. </listitem>
  208. </varlistentry>
  209. <varlistentry id="traceroute">
  210. <term><command>traceroute</command></term>
  211. <listitem>
  212. <para>Traces the route your packets take from the host you are
  213. working on to another host on a network, showing all the intermediate
  214. hops (gateways) along the way</para>
  215. <indexterm zone="ch-system-inetutils traceroute">
  216. <primary sortas="b-traceroute">traceroute</primary>
  217. </indexterm>
  218. </listitem>
  219. </varlistentry>
  220. </variablelist>
  221. </sect2>
  222. </sect1>