[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1fe35e1] | 2 | <!DOCTYPE section [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[1fe35e1] | 6 | <section xmlns="http://docbook.org/docbook-ng"
|
---|
| 7 | xmlns:xlink="http://www.w3.org/1999/xlink"
|
---|
| 8 | xml:id="ch-system-inetutils" xreflabel="Inetutils" role="wrap">
|
---|
[6a0e6f3] | 9 | <title>Inetutils-&inetutils-version;</title>
|
---|
[673b0d8] | 10 | <?dbhtml filename="inetutils.html"?>
|
---|
| 11 |
|
---|
| 12 | <indexterm zone="ch-system-inetutils"><primary sortas="a-Inetutils">Inetutils</primary></indexterm>
|
---|
[0b6cb04] | 13 |
|
---|
[6a0e6f3] | 14 | <section role="package"><title/>
|
---|
[5888299] | 15 | <para>The Inetutils package contains programs for basic networking.</para>
|
---|
| 16 |
|
---|
[a001133] | 17 | <segmentedlist>
|
---|
| 18 | <segtitle>&buildtime;</segtitle>
|
---|
| 19 | <segtitle>&diskspace;</segtitle>
|
---|
| 20 | <seglistitem><seg>0.2 SBU</seg><seg>11 MB</seg></seglistitem>
|
---|
| 21 | </segmentedlist>
|
---|
[673b0d8] | 22 |
|
---|
[a001133] | 23 | <segmentedlist>
|
---|
| 24 | <segtitle>Inetutils installation depends on</segtitle>
|
---|
| 25 | <seglistitem><seg>Bash, Binutils, Coreutils,
|
---|
| 26 | Diffutils, GCC, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
|
---|
| 27 | </segmentedlist>
|
---|
[1fe35e1] | 28 | </section>
|
---|
[cd8e54e] | 29 |
|
---|
[1fe35e1] | 30 | <section role="installation">
|
---|
[6a0e6f3] | 31 | <title>Installation of Inetutils</title>
|
---|
[73aedd1d] | 32 |
|
---|
[9dfc02f] | 33 | <para>Inetutils has issues with the Linux 2.6 kernel series - fix these isues
|
---|
| 34 | by applying the following patch:</para>
|
---|
| 35 |
|
---|
[71bbe67] | 36 | <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-kernel_headers-1.patch</userinput></screen>
|
---|
[9dfc02f] | 37 |
|
---|
[2ad19ed] | 38 | <para>We are not going to install all the programs that come with Inetutils.
|
---|
| 39 | However, the Inetutils build system will insist on installing all the man
|
---|
| 40 | pages anyway. The following patch will correct this situation:</para>
|
---|
| 41 |
|
---|
[71bbe67] | 42 | <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-no_server_man_pages-1.patch</userinput></screen>
|
---|
[2ad19ed] | 43 |
|
---|
| 44 | <para>Now prepare Inetutils for compilation:</para>
|
---|
[73aedd1d] | 45 |
|
---|
[f4993cf] | 46 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
---|
[673b0d8] | 47 | --sysconfdir=/etc --localstatedir=/var \
|
---|
| 48 | --disable-logger --disable-syslogd \
|
---|
| 49 | --disable-whois --disable-servers</userinput></screen>
|
---|
[73aedd1d] | 50 |
|
---|
| 51 | <para>The meaning of the configure options:</para>
|
---|
| 52 |
|
---|
[df8334f] | 53 | <variablelist>
|
---|
| 54 | <varlistentry>
|
---|
[ef57e3b] | 55 | <term><parameter>--disable-logger</parameter></term>
|
---|
[df8334f] | 56 | <listitem><para>This option
|
---|
[ef57e3b] | 57 | prevents Inetutils from installing the <command>logger</command> program, which is used by
|
---|
[73aedd1d] | 58 | scripts to pass messages to the System Log Daemon. We do not install it
|
---|
| 59 | because Util-linux installs a better version later.</para></listitem>
|
---|
[df8334f] | 60 | </varlistentry>
|
---|
[73aedd1d] | 61 |
|
---|
[df8334f] | 62 | <varlistentry>
|
---|
[ef57e3b] | 63 | <term><parameter>--disable-syslogd</parameter></term>
|
---|
[df8334f] | 64 | <listitem><para>This option
|
---|
[f4993cf] | 65 | prevents Inetutils from installing the System Log Daemon, which is
|
---|
| 66 | installed with the Sysklogd package.</para></listitem>
|
---|
[df8334f] | 67 | </varlistentry>
|
---|
[f4993cf] | 68 |
|
---|
[df8334f] | 69 | <varlistentry>
|
---|
[ef57e3b] | 70 | <term><parameter>--disable-whois</parameter></term>
|
---|
[df8334f] | 71 | <listitem><para>This option disables
|
---|
[f4993cf] | 72 | the building of the Inetutils whois client, which is woefully out of date.
|
---|
[73aedd1d] | 73 | Instructions for a better whois client are in the BLFS book.</para></listitem>
|
---|
[df8334f] | 74 | </varlistentry>
|
---|
[73aedd1d] | 75 |
|
---|
[df8334f] | 76 | <varlistentry>
|
---|
[ef57e3b] | 77 | <term><parameter>--disable-servers</parameter></term>
|
---|
[df8334f] | 78 | <listitem><para>This disables the
|
---|
[73aedd1d] | 79 | installation of the various network servers included as part of the Inetutils
|
---|
| 80 | package. These servers are deemed not appropriate in a basic LFS system. Some
|
---|
| 81 | are insecure by nature and are only considered safe on trusted networks. More
|
---|
| 82 | information can be found at
|
---|
[1fe35e1] | 83 | <uri xlink:href="&blfs-root;view/stable/basicnet/inetutils.html"/>. Note that better
|
---|
[73aedd1d] | 84 | replacements are available for many of these servers.</para></listitem>
|
---|
[df8334f] | 85 | </varlistentry>
|
---|
| 86 | </variablelist>
|
---|
[73aedd1d] | 87 |
|
---|
| 88 | <para>Compile the package:</para>
|
---|
| 89 |
|
---|
| 90 | <screen><userinput>make</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>Install it:</para>
|
---|
| 93 |
|
---|
| 94 | <screen><userinput>make install</userinput></screen>
|
---|
| 95 |
|
---|
[673b0d8] | 96 | <para>Move the <command>ping</command> program to its FHS-compliant
|
---|
[4248b0e] | 97 | place:</para>
|
---|
[73aedd1d] | 98 |
|
---|
| 99 | <screen><userinput>mv /usr/bin/ping /bin</userinput></screen>
|
---|
| 100 |
|
---|
[1fe35e1] | 101 | </section>
|
---|
[0b6cb04] | 102 |
|
---|
[5888299] | 103 |
|
---|
[6a0e6f3] | 104 | <section xml:id="contents-inetutils" role="content"><title>Contents of Inetutils</title>
|
---|
[673b0d8] | 105 |
|
---|
[c6cb3aa] | 106 | <segmentedlist>
|
---|
| 107 | <segtitle>Installed programs</segtitle>
|
---|
| 108 | <seglistitem><seg>ftp, ping, rcp, rlogin, rsh, talk, telnet and tftp</seg></seglistitem>
|
---|
| 109 | </segmentedlist>
|
---|
[673b0d8] | 110 |
|
---|
[c6cb3aa] | 111 | <variablelist><title>Short descriptions</title>
|
---|
[673b0d8] | 112 |
|
---|
[1fe35e1] | 113 | <varlistentry xml:id="ftp">
|
---|
[b8a819f] | 114 | <term><command>ftp</command></term>
|
---|
[c6cb3aa] | 115 | <listitem>
|
---|
[673b0d8] | 116 | <indexterm zone="ch-system-inetutils ftp"><primary sortas="b-ftp">ftp</primary></indexterm>
|
---|
[c6cb3aa] | 117 | <para>is the ARPANET file transfer program.</para>
|
---|
| 118 | </listitem>
|
---|
| 119 | </varlistentry>
|
---|
[673b0d8] | 120 |
|
---|
[1fe35e1] | 121 | <varlistentry xml:id="ping">
|
---|
[b8a819f] | 122 | <term><command>ping</command></term>
|
---|
[c6cb3aa] | 123 | <listitem>
|
---|
[673b0d8] | 124 | <indexterm zone="ch-system-inetutils ping"><primary sortas="b-ping">ping</primary></indexterm>
|
---|
[c6cb3aa] | 125 | <para>sends echo-request packets and reports how long the replies take.</para>
|
---|
| 126 | </listitem>
|
---|
| 127 | </varlistentry>
|
---|
[673b0d8] | 128 |
|
---|
[1fe35e1] | 129 | <varlistentry xml:id="rcp">
|
---|
[b8a819f] | 130 | <term><command>rcp</command></term>
|
---|
[c6cb3aa] | 131 | <listitem>
|
---|
[673b0d8] | 132 | <indexterm zone="ch-system-inetutils rcp"><primary sortas="b-rcp">rcp</primary></indexterm>
|
---|
[c6cb3aa] | 133 | <para>does remote file copy.</para>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
[73aedd1d] | 136 |
|
---|
[1fe35e1] | 137 | <varlistentry xml:id="rlogin">
|
---|
[b8a819f] | 138 | <term><command>rlogin</command></term>
|
---|
[c6cb3aa] | 139 | <listitem>
|
---|
[673b0d8] | 140 | <indexterm zone="ch-system-inetutils rlogin"><primary sortas="b-rlogin">rlogin</primary></indexterm>
|
---|
[c6cb3aa] | 141 | <para>does remote login.</para>
|
---|
| 142 | </listitem>
|
---|
| 143 | </varlistentry>
|
---|
[673b0d8] | 144 |
|
---|
[1fe35e1] | 145 | <varlistentry xml:id="rsh">
|
---|
[b8a819f] | 146 | <term><command>rsh</command></term>
|
---|
[c6cb3aa] | 147 | <listitem>
|
---|
[673b0d8] | 148 | <indexterm zone="ch-system-inetutils rsh"><primary sortas="b-rsh">rsh</primary></indexterm>
|
---|
[c6cb3aa] | 149 | <para>runs a remote shell.</para>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
[673b0d8] | 152 |
|
---|
[1fe35e1] | 153 | <varlistentry xml:id="talk">
|
---|
[b8a819f] | 154 | <term><command>talk</command></term>
|
---|
[c6cb3aa] | 155 | <listitem>
|
---|
[673b0d8] | 156 | <indexterm zone="ch-system-inetutils talk"><primary sortas="b-talk">talk</primary></indexterm>
|
---|
[c6cb3aa] | 157 | <para>is used to chat up another user.</para>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
[673b0d8] | 160 |
|
---|
[1fe35e1] | 161 | <varlistentry xml:id="telnet">
|
---|
[b8a819f] | 162 | <term><command>telnet</command></term>
|
---|
[c6cb3aa] | 163 | <listitem>
|
---|
[673b0d8] | 164 | <indexterm zone="ch-system-inetutils telnet"><primary sortas="b-telnet">telnet</primary></indexterm>
|
---|
[c6cb3aa] | 165 | <para>is an interface to the TELNET protocol.</para>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
[673b0d8] | 168 |
|
---|
[1fe35e1] | 169 | <varlistentry xml:id="tftp">
|
---|
[b8a819f] | 170 | <term><command>tftp</command></term>
|
---|
[c6cb3aa] | 171 | <listitem>
|
---|
[673b0d8] | 172 | <indexterm zone="ch-system-inetutils tftp"><primary sortas="b-tftp">tftp</primary></indexterm>
|
---|
[c6cb3aa] | 173 | <para>is a trivial file transfer program.</para>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 | </variablelist>
|
---|
[673b0d8] | 177 |
|
---|
[1fe35e1] | 178 | </section>
|
---|
[673b0d8] | 179 |
|
---|
[1fe35e1] | 180 | </section>
|
---|