inetutils.xml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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
  96. make -C doc html
  97. make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version;</userinput></screen>
  98. <para>Move some programs to their FHS-compliant place:</para>
  99. <screen><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6} /bin
  100. mv -v /usr/bin/traceroute /sbin</userinput></screen>
  101. </sect2>
  102. <sect2 id="contents-inetutils" role="content">
  103. <title>Contents of Inetutils</title>
  104. <segmentedlist>
  105. <segtitle>Installed programs</segtitle>
  106. <seglistitem>
  107. <seg>ftp, hostname, ping, ping6, rcp, rexec, rlogin, rsh, talk, telnet,
  108. tftp, and traceroute</seg>
  109. </seglistitem>
  110. </segmentedlist>
  111. <variablelist>
  112. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  113. <?dbfo list-presentation="list"?>
  114. <?dbhtml list-presentation="table"?>
  115. <varlistentry id="ftp">
  116. <term><command>ftp</command></term>
  117. <listitem>
  118. <para>Is the file transfer protocol program</para>
  119. <indexterm zone="ch-system-inetutils ftp">
  120. <primary sortas="b-ftp">ftp</primary>
  121. </indexterm>
  122. </listitem>
  123. </varlistentry>
  124. <varlistentry id="hostname">
  125. <term><command>hostname</command></term>
  126. <listitem>
  127. <para>Reports or sets the name of the host</para>
  128. <indexterm zone="ch-system-inetutils hostname">
  129. <primary sortas="b-hostname">hostname</primary>
  130. </indexterm>
  131. </listitem>
  132. </varlistentry>
  133. <varlistentry id="ping">
  134. <term><command>ping</command></term>
  135. <listitem>
  136. <para>Sends echo-request packets and reports how long the replies
  137. take</para>
  138. <indexterm zone="ch-system-inetutils ping">
  139. <primary sortas="b-ping">ping</primary>
  140. </indexterm>
  141. </listitem>
  142. </varlistentry>
  143. <varlistentry id="ping6">
  144. <term><command>ping6</command></term>
  145. <listitem>
  146. <para>A version of <command>ping</command> for IPv6 networks</para>
  147. <indexterm zone="ch-system-inetutils ping6">
  148. <primary sortas="b-ping6">ping6</primary>
  149. </indexterm>
  150. </listitem>
  151. </varlistentry>
  152. <varlistentry id="rcp">
  153. <term><command>rcp</command></term>
  154. <listitem>
  155. <para>Performs remote file copy</para>
  156. <indexterm zone="ch-system-inetutils rcp">
  157. <primary sortas="b-rcp">rcp</primary>
  158. </indexterm>
  159. </listitem>
  160. </varlistentry>
  161. <varlistentry id="rexec">
  162. <term><command>rexec</command></term>
  163. <listitem>
  164. <para>executes commands on a remote host</para>
  165. <indexterm zone="ch-system-inetutils rexec">
  166. <primary sortas="b-rexec">rexec</primary>
  167. </indexterm>
  168. </listitem>
  169. </varlistentry>
  170. <varlistentry id="rlogin">
  171. <term><command>rlogin</command></term>
  172. <listitem>
  173. <para>Performs remote login</para>
  174. <indexterm zone="ch-system-inetutils rlogin">
  175. <primary sortas="b-rlogin">rlogin</primary>
  176. </indexterm>
  177. </listitem>
  178. </varlistentry>
  179. <varlistentry id="rsh">
  180. <term><command>rsh</command></term>
  181. <listitem>
  182. <para>Runs a remote shell</para>
  183. <indexterm zone="ch-system-inetutils rsh">
  184. <primary sortas="b-rsh">rsh</primary>
  185. </indexterm>
  186. </listitem>
  187. </varlistentry>
  188. <varlistentry id="talk">
  189. <term><command>talk</command></term>
  190. <listitem>
  191. <para>Is used to chat with another user</para>
  192. <indexterm zone="ch-system-inetutils talk">
  193. <primary sortas="b-talk">talk</primary>
  194. </indexterm>
  195. </listitem>
  196. </varlistentry>
  197. <varlistentry id="telnet">
  198. <term><command>telnet</command></term>
  199. <listitem>
  200. <para>An interface to the TELNET protocol</para>
  201. <indexterm zone="ch-system-inetutils telnet">
  202. <primary sortas="b-telnet">telnet</primary>
  203. </indexterm>
  204. </listitem>
  205. </varlistentry>
  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. <varlistentry id="traceroute">
  216. <term><command>traceroute</command></term>
  217. <listitem>
  218. <para>Traces the route your packets take from the host you are
  219. working on to another host on a network, showing all the intermediate
  220. hops (gateways) along the way</para>
  221. <indexterm zone="ch-system-inetutils traceroute">
  222. <primary sortas="b-traceroute">traceroute</primary>
  223. </indexterm>
  224. </listitem>
  225. </varlistentry>
  226. </variablelist>
  227. </sect2>
  228. </sect1>