inetutils.xml 9.1 KB

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