inetutils.xml 8.8 KB

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