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