[02095ae] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[c439b8a] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[02095ae] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-inetutils" role="wrap">
|
---|
| 9 | <?dbhtml filename="inetutils.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Inetutils-&inetutils-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-inetutils">
|
---|
| 14 | <primary sortas="a-Inetutils">Inetutils</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Inetutils package contains programs for basic networking.</para>
|
---|
| 21 |
|
---|
| 22 | </sect2>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of Inetutils</title>
|
---|
| 26 |
|
---|
[13f77a0] | 27 | <para os="p1">Not all programs that come with Inetutils will be installed.
|
---|
| 28 | However, the Inetutils build system will insist on installing all the
|
---|
| 29 | man pages anyway. The following patch will correct this
|
---|
| 30 | situation:</para>
|
---|
| 31 |
|
---|
| 32 | <screen os="p2"><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
|
---|
| 33 |
|
---|
[02095ae] | 34 | <para os="a">Prepare Inetutils for compilation:</para>
|
---|
| 35 |
|
---|
[cee2ca2] | 36 | <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
| 37 | --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc \
|
---|
| 38 | --localstatedir=/var --disable-logger --disable-syslogd \
|
---|
[c21857e] | 39 | --with-ncurses-include-dir="${CLFS}/usr/include" \
|
---|
[cee2ca2] | 40 | --disable-whois --disable-servers</userinput></screen>
|
---|
[02095ae] | 41 |
|
---|
| 42 | <variablelist os="c">
|
---|
| 43 | <title>The meaning of the configure options:</title>
|
---|
| 44 |
|
---|
| 45 | <varlistentry>
|
---|
| 46 | <term><parameter>--disable-logger</parameter></term>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>This option prevents Inetutils from installing the
|
---|
| 49 | <command>logger</command> program, which is used by scripts to
|
---|
| 50 | pass messages to the System Log Daemon. Do not install it because
|
---|
| 51 | Util-linux installs a better version later.</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | </varlistentry>
|
---|
| 54 |
|
---|
| 55 | <varlistentry>
|
---|
| 56 | <term><parameter>--disable-syslogd</parameter></term>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>This option prevents Inetutils from installing the System Log
|
---|
| 59 | Daemon, which is installed with the Sysklogd package.</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </varlistentry>
|
---|
| 62 |
|
---|
| 63 | <varlistentry>
|
---|
| 64 | <term><parameter>--disable-whois</parameter></term>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>This option disables the building of the Inetutils
|
---|
| 67 | <command>whois</command> client, which is out of date.
|
---|
| 68 | Instructions for a better <command>whois</command> client are
|
---|
| 69 | in the BLFS book.</para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </varlistentry>
|
---|
| 72 |
|
---|
[c21857e] | 73 | <varlistentry>
|
---|
| 74 | <term><parameter>--with-ncurses-include-dir="${CLFS}/usr/include"</parameter></term>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>This option instructs configure to look in
|
---|
| 77 | <filename>${CLFS}/usr/include</filename> for ncurses headers.</para>
|
---|
| 78 | </listitem>
|
---|
| 79 | </varlistentry>
|
---|
| 80 |
|
---|
[02095ae] | 81 | <varlistentry>
|
---|
| 82 | <term><parameter>--disable-servers</parameter></term>
|
---|
| 83 | <listitem>
|
---|
| 84 | <para>This disables the installation of the various network
|
---|
| 85 | servers included as part of the Inetutils package. These servers are
|
---|
[755f44a] | 86 | deemed not appropriate in a basic CLFS system. Some are insecure by
|
---|
[02095ae] | 87 | nature and are only considered safe on trusted networks. More
|
---|
| 88 | information can be found at <ulink
|
---|
| 89 | url="&blfs-root;view/svn/basicnet/inetutils.html"/>. Note that
|
---|
| 90 | better replacements are available for many of these
|
---|
| 91 | servers.</para>
|
---|
| 92 | </listitem>
|
---|
| 93 | </varlistentry>
|
---|
| 94 | </variablelist>
|
---|
| 95 |
|
---|
| 96 | <para os="d">Compile the package:</para>
|
---|
| 97 |
|
---|
| 98 | <screen os="e"><userinput>make</userinput></screen>
|
---|
| 99 |
|
---|
| 100 | <para os="f">Install the package:</para>
|
---|
| 101 |
|
---|
[d9d7048] | 102 | <screen os="g"><userinput>make DESTDIR=${CLFS} SUIDMODE="-m 4775" install</userinput></screen>
|
---|
[02095ae] | 103 |
|
---|
[29d877b] | 104 | <para os="h">Move the <command>ping</command> and <command>ping6</command>
|
---|
[e4f6ff4] | 105 | programs to their FHS-compliant place:</para>
|
---|
[02095ae] | 106 |
|
---|
[29d877b] | 107 | <screen os="i"><userinput>mv -v ${CLFS}/usr/bin/ping{,6} ${CLFS}/bin</userinput></screen>
|
---|
[02095ae] | 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 id="contents-inetutils" role="content">
|
---|
| 112 | <title>Contents of Inetutils</title>
|
---|
| 113 |
|
---|
| 114 | <segmentedlist>
|
---|
| 115 | <segtitle>Installed programs</segtitle>
|
---|
| 116 |
|
---|
| 117 | <seglistitem>
|
---|
[29d877b] | 118 | <seg>ftp, ifconfig, ping, ping6, rcp, rlogin, rsh, talk, telnet, and tftp</seg>
|
---|
[02095ae] | 119 | </seglistitem>
|
---|
| 120 | </segmentedlist>
|
---|
| 121 |
|
---|
| 122 | <variablelist>
|
---|
| 123 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 124 | <?dbfo list-presentation="list"?>
|
---|
| 125 | <?dbhtml list-presentation="table"?>
|
---|
| 126 |
|
---|
| 127 | <varlistentry id="ftp">
|
---|
| 128 | <term><command>ftp</command></term>
|
---|
| 129 | <listitem>
|
---|
| 130 | <para>Is the file transfer protocol program</para>
|
---|
| 131 | <indexterm zone="ch-system-inetutils ftp">
|
---|
| 132 | <primary sortas="b-ftp">ftp</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
[29d877b] | 137 | <varlistentry id="ifconfig">
|
---|
| 138 | <term><command>ifconfig</command></term>
|
---|
| 139 | <listitem>
|
---|
| 140 | <para>Utility for configuring network interfaces</para>
|
---|
| 141 | <indexterm zone="ch-system-inetutils ifconfig">
|
---|
| 142 | <primary sortas="b-ifconfig">ifconfig</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
[02095ae] | 147 | <varlistentry id="ping">
|
---|
| 148 | <term><command>ping</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>Sends echo-request packets and reports how long the replies
|
---|
| 151 | take</para>
|
---|
| 152 | <indexterm zone="ch-system-inetutils ping">
|
---|
| 153 | <primary sortas="b-ping">ping</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
[29d877b] | 158 | <varlistentry id="ping6">
|
---|
| 159 | <term><command>ping6</command></term>
|
---|
| 160 | <listitem>
|
---|
| 161 | <para>Sends echo-request packets and reports how long the replies
|
---|
| 162 | take this is the IPV6 version</para>
|
---|
| 163 | <indexterm zone="ch-system-inetutils ping6">
|
---|
| 164 | <primary sortas="b-ping6">ping6</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
[02095ae] | 169 | <varlistentry id="rcp">
|
---|
| 170 | <term><command>rcp</command></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>Performs remote file copy</para>
|
---|
| 173 | <indexterm zone="ch-system-inetutils rcp">
|
---|
| 174 | <primary sortas="b-rcp">rcp</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="rlogin">
|
---|
| 180 | <term><command>rlogin</command></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>Performs remote login</para>
|
---|
| 183 | <indexterm zone="ch-system-inetutils rlogin">
|
---|
| 184 | <primary sortas="b-rlogin">rlogin</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="rsh">
|
---|
| 190 | <term><command>rsh</command></term>
|
---|
| 191 | <listitem>
|
---|
| 192 | <para>Runs a remote shell</para>
|
---|
| 193 | <indexterm zone="ch-system-inetutils rsh">
|
---|
| 194 | <primary sortas="b-rsh">rsh</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="talk">
|
---|
| 200 | <term><command>talk</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>Is used to chat with another user</para>
|
---|
| 203 | <indexterm zone="ch-system-inetutils talk">
|
---|
| 204 | <primary sortas="b-talk">talk</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="telnet">
|
---|
| 210 | <term><command>telnet</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>An interface to the TELNET protocol</para>
|
---|
| 213 | <indexterm zone="ch-system-inetutils telnet">
|
---|
| 214 | <primary sortas="b-telnet">telnet</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="tftp">
|
---|
| 220 | <term><command>tftp</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>A trivial file transfer program</para>
|
---|
| 223 | <indexterm zone="ch-system-inetutils tftp">
|
---|
| 224 | <primary sortas="b-tftp">tftp</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
| 229 | </variablelist>
|
---|
| 230 |
|
---|
| 231 | </sect2>
|
---|
| 232 |
|
---|
| 233 | </sect1>
|
---|