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