inetutils.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-system-inetutils" xreflabel="Inetutils" role="wrap">
  7. <title>Inetutils-&inetutils-version;</title>
  8. <?dbhtml filename="inetutils.html"?>
  9. <indexterm zone="ch-system-inetutils"><primary sortas="a-Inetutils">Inetutils</primary></indexterm>
  10. <sect2 role="package"><title/>
  11. <para>The Inetutils package contains programs for basic networking.</para>
  12. <segmentedlist>
  13. <segtitle>&buildtime;</segtitle>
  14. <segtitle>&diskspace;</segtitle>
  15. <seglistitem><seg>0.2 SBU</seg><seg>11 MB</seg></seglistitem>
  16. </segmentedlist>
  17. <segmentedlist>
  18. <segtitle>Inetutils installation depends on</segtitle>
  19. <seglistitem><seg>Bash, Binutils, Coreutils,
  20. Diffutils, GCC, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
  21. </segmentedlist>
  22. </sect2>
  23. <sect2 role="installation">
  24. <title>Installation of Inetutils</title>
  25. <para>Inetutils has issues with the Linux 2.6 kernel series - fix these isues
  26. by applying the following patch:</para>
  27. <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-kernel-headers-1.patch</userinput></screen>
  28. <para>We are not going to install all the programs that come with Inetutils.
  29. However, the Inetutils build system will insist on installing all the man
  30. pages anyway. The following patch will correct this situation:</para>
  31. <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-no-server-man-pages-1.patch</userinput></screen>
  32. <para>Now prepare Inetutils for compilation:</para>
  33. <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
  34. --sysconfdir=/etc --localstatedir=/var \
  35. --disable-logger --disable-syslogd \
  36. --disable-whois --disable-servers</userinput></screen>
  37. <para>The meaning of the configure options:</para>
  38. <itemizedlist>
  39. <listitem><para><userinput>--disable-logger</userinput>: This option
  40. prevents Inetutils from installing the logger program, which is used by
  41. scripts to pass messages to the System Log Daemon. We do not install it
  42. because Util-linux installs a better version later.</para></listitem>
  43. <listitem><para><userinput>--disable-syslogd</userinput>: This option
  44. prevents Inetutils from installing the System Log Daemon, which is
  45. installed with the Sysklogd package.</para></listitem>
  46. <listitem><para><userinput>--disable-whois</userinput>: This option disables
  47. the building of the Inetutils whois client, which is woefully out of date.
  48. Instructions for a better whois client are in the BLFS book.</para></listitem>
  49. <listitem><para><userinput>--disable-servers</userinput>: This disables the
  50. installation of the various network servers included as part of the Inetutils
  51. package. These servers are deemed not appropriate in a basic LFS system. Some
  52. are insecure by nature and are only considered safe on trusted networks. More
  53. information can be found at
  54. <ulink url="&blfs-root;view/stable/basicnet/inetutils.html"/>. Note that better
  55. replacements are available for many of these servers.</para></listitem>
  56. </itemizedlist>
  57. <para>Compile the package:</para>
  58. <screen><userinput>make</userinput></screen>
  59. <para>Install it:</para>
  60. <screen><userinput>make install</userinput></screen>
  61. <para>Move the <command>ping</command> program to its FHS-compliant
  62. place:</para>
  63. <screen><userinput>mv /usr/bin/ping /bin</userinput></screen>
  64. </sect2>
  65. <sect2 id="contents-inetutils"><title>Contents of Inetutils</title>
  66. <para><emphasis>Installed programs</emphasis>: ftp, ping, rcp, rlogin, rsh,
  67. talk, telnet and tftp</para>
  68. </sect2>
  69. <sect2><title>Short descriptions</title>
  70. <indexterm zone="ch-system-inetutils ftp"><primary sortas="b-ftp">ftp</primary></indexterm>
  71. <para id="ftp"><command>ftp</command> is the ARPANET file transfer program.</para>
  72. <indexterm zone="ch-system-inetutils ping"><primary sortas="b-ping">ping</primary></indexterm>
  73. <para id="ping"><command>ping</command> sends echo-request packets and reports how
  74. long the replies take.</para>
  75. <indexterm zone="ch-system-inetutils rcp"><primary sortas="b-rcp">rcp</primary></indexterm>
  76. <para id="rcp"><command>rcp</command> does remote file copy.</para>
  77. <indexterm zone="ch-system-inetutils rlogin"><primary sortas="b-rlogin">rlogin</primary></indexterm>
  78. <para id="rlogin"><command>rlogin</command> does remote login.</para>
  79. <indexterm zone="ch-system-inetutils rsh"><primary sortas="b-rsh">rsh</primary></indexterm>
  80. <para id="rsh"><command>rsh</command> runs a remote shell.</para>
  81. <indexterm zone="ch-system-inetutils talk"><primary sortas="b-talk">talk</primary></indexterm>
  82. <para id="talk"><command>talk</command> is used to chat up another user.</para>
  83. <indexterm zone="ch-system-inetutils telnet"><primary sortas="b-telnet">telnet</primary></indexterm>
  84. <para id="telnet"><command>telnet</command> is an interface to the TELNET protocol.</para>
  85. <indexterm zone="ch-system-inetutils tftp"><primary sortas="b-tftp">tftp</primary></indexterm>
  86. <para id="tftp"><command>tftp</command> is a trivial file transfer program.</para>
  87. </sect2>
  88. </sect1>