inetutils.xml 8.5 KB

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