inetutils.xml 4.8 KB

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