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