source: networking/netprogs/net-tools.xml@ a3b94fc

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a3b94fc was a3b94fc, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update to net-tools-2.10.

  • Property mode set to 100644
File size: 10.4 KB
RevLine 
[0590c1b6]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[0590c1b6]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[a3b94fc]7 <!ENTITY net-tools-download-http "https://downloads.sourceforge.net/project/net-tools//net-tools-&net-tools-version;.tar.xz">
8 <!ENTITY net-tools-download-ftp " ">
9 <!ENTITY net-tools-md5sum "78aae762c95e2d731faf88d482e4cde5">
10 <!ENTITY net-tools-size "228 KB">
11 <!ENTITY net-tools-buildsize "7.5 MB">
[a71e7697]12 <!ENTITY net-tools-time "less than 0.1 SBU">
[0590c1b6]13]>
14
15<sect1 id="net-tools" xreflabel="Net-tools-&net-tools-version;">
[a3dbd17b]16 <?dbhtml filename="net-tools.html"?>
[8d0d2eb]17
[a3dbd17b]18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
[8d0d2eb]21
[a3dbd17b]22 <title>Net-tools-&net-tools-version;</title>
[8d0d2eb]23
[a3dbd17b]24 <indexterm zone="net-tools">
25 <primary sortas="a-Net-tools">Net-tools</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Net-tools</title>
[8d0d2eb]30
[b51fe6e]31 <para>
32 The <application>Net-tools</application> package is a collection
33 of programs for controlling the network subsystem of the Linux kernel.
34 </para>
[8d0d2eb]35
[db6b0d59]36 &lfs101_checked;
[2b8421c]37
[a3dbd17b]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
[b51fe6e]41 <para>
42 Download (HTTP): <ulink url="&net-tools-download-http;"/>
43 </para>
[a3dbd17b]44 </listitem>
45 <listitem>
[b51fe6e]46 <para>
47 Download (FTP): <ulink url="&net-tools-download-ftp;"/>
48 </para>
[a3dbd17b]49 </listitem>
50 <listitem>
[b51fe6e]51 <para>
52 Download MD5 sum: &net-tools-md5sum;
53 </para>
[a3dbd17b]54 </listitem>
55 <listitem>
[b51fe6e]56 <para>
57 Download size: &net-tools-size;
58 </para>
[a3dbd17b]59 </listitem>
60 <listitem>
[b51fe6e]61 <para>
62 Estimated disk space required: &net-tools-buildsize;
63 </para>
[a3dbd17b]64 </listitem>
65 <listitem>
[b51fe6e]66 <para>
67 Estimated build time: &net-tools-time;
68 </para>
[2174baa]69 </listitem>
[a3dbd17b]70 </itemizedlist>
[a3b94fc]71<!--
[49b241a]72 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
73 <itemizedlist spacing="compact">
74 <listitem>
75 <para>
76 Required patch:
77 <ulink url="&patch-root;/net-tools-&net-tools-version;-remove_dups-1.patch"/>
78 </para>
79 </listitem>
80 </itemizedlist>
[a3b94fc]81-->
[49b241a]82
[061ec9d]83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/net-tools"/></para>
85
[a3dbd17b]86 </sect2>
[8d0d2eb]87
[a3dbd17b]88 <sect2 role="installation">
89 <title>Installation of Net-tools</title>
90
[b51fe6e]91 <para id="net-tools-automate-example" xreflabel="Net-tools">
92 The instructions below automate the configuration process by piping
[a3b94fc]93 <command>yes</command> to the <command>make</command> command.
[b51fe6e]94 If you wish to run the interactive configuration process (by changing
[a3b94fc]95 the instruction to just <command>make</command>), but you are
[b51fe6e]96 not sure how to answer all the questions, then just accept the defaults.
97 This will be just fine in the majority of cases. What you're asked here
98 is a bunch of questions about which network protocols you've enabled
99 in your kernel. The default answers will enable the tools from this
100 package to work with the most common protocols: TCP, PPP, and several
101 others. You still need to actually enable these protocols in the
102 kernel&mdash;what you do here is merely tell the package to include
103 support for those protocols in its programs, but it's up to the kernel
104 to make the protocols available.
105 </para>
106
107 <note>
108 <para>
109 This package has several unneeded protocols and hardware device
110 specific functions that are obsolete. To only build the minimum needed
111 for your system, skip the <command>yes</command> command and answer
112 each question interactively. The minimum needed options are 'UNIX
113 protocol family' and 'INET (TCP/IP) protocol family'.
114 </para>
115 </note>
116
117 <para>
[a3b94fc]118 For this package, we use the DESTDIR method of installation in order
119 to easily remove files from the build that overwrite those that we want
120 to keep or are not appropriate for our system.
[b51fe6e]121 </para>
122
123 <para>
124 Install <application>Net-tools</application> by running the
125 following commands:
126 </para>
[a3dbd17b]127
[a3b94fc]128<screen><userinput>export BINDIR='/usr/bin' SBINDIR='/usr/bin' &amp;&amp;
129yes "" | make &amp;&amp;
130make DESTDIR=$PWD/install install &amp;&amp;
131rm install/usr/bin/{nis,yp}domainname &amp;&amp;
132rm install/usr/bin/{hostname,dnsdomainname,domainname} &amp;&amp;
133rm -r install/usr/share/man/man1 &amp;&amp;
134unset BINDIR SBINDIR</userinput></screen>
[46441976]135
[b51fe6e]136 <para>
137 This package does not come with a test suite.
138 </para>
[46441976]139
[b51fe6e]140 <para>
141 Now, as the <systemitem class="username">root</systemitem> user:
142 </para>
[46441976]143
[a3b94fc]144<screen role='root'><userinput>chown -R root:root install &amp;&amp;
145cp -a install/* /</userinput></screen>
[8d0d2eb]146
[a3dbd17b]147 </sect2>
[8d0d2eb]148
[a3dbd17b]149 <sect2 role="commands">
150 <title>Command Explanations</title>
[851ed2f]151
[0ea195f4]152 <para>
[a3b94fc]153 <command>export BINDIR='/usr/bin' SBINDIR='/usr/bin'</command>:
154 Ensure the executables are installed in the correct location.
[0ea195f4]155 </para>
156
[b51fe6e]157 <para>
[a3b94fc]158 <command>yes "" | make </command>: Piping <command>yes</command>
159 to <command>make config</command> skips the interactive configuration and
160 accepts the defaults.
[8617f6dd]161 </para>
162
[b51fe6e]163 <para>
[a3b94fc]164 <command>rm ...</command>: Remove unneeded programs and man pages.
[b51fe6e]165 </para>
[8d0d2eb]166
[a3dbd17b]167 </sect2>
[8d0d2eb]168
[a3dbd17b]169 <sect2 role="content">
170 <title>Contents</title>
[8d0d2eb]171
[a3dbd17b]172 <segmentedlist>
173 <segtitle>Installed Programs</segtitle>
174 <segtitle>Installed Libraries</segtitle>
175 <segtitle>Installed Directories</segtitle>
[8d0d2eb]176
[a3dbd17b]177 <seglistitem>
[a3b94fc]178 <seg>arp,
179 ipconfig
180 ipmaddr,
181 iptunnel,
182 mii-tool,
183 nameif,
184 netstat,
185 plipconfig,
186 rarp,
187 route, and
188 slattach
[49b241a]189 </seg>
[a3dbd17b]190 <seg>None</seg>
[46441976]191 <seg>None</seg>
[a3dbd17b]192 </seglistitem>
193 </segmentedlist>
[8d0d2eb]194
[a3dbd17b]195 <variablelist>
196 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
197 <?dbfo list-presentation="list"?>
198 <?dbhtml list-presentation="table"?>
[8d0d2eb]199
[a3dbd17b]200 <varlistentry id="arp">
201 <term><command>arp</command></term>
202 <listitem>
[b51fe6e]203 <para>
204 is used to manipulate the kernel's ARP cache, usually
[4c24eb0a]205 to add or delete an entry, or to dump the entire cache
[b51fe6e]206 </para>
[a3dbd17b]207 <indexterm zone="net-tools arp">
208 <primary sortas="b-arp">arp</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
[8d0d2eb]212
[a3dbd17b]213 <varlistentry id="ifconfig">
214 <term><command>ifconfig</command></term>
215 <listitem>
[b51fe6e]216 <para>
[a3b94fc]217 is a tool for configuring network interfaces.
[b51fe6e]218 </para>
[a3dbd17b]219 <indexterm zone="net-tools ifconfig">
220 <primary sortas="b-ifconfig">ifconfig</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
[a3b94fc]224
[a3dbd17b]225 <varlistentry id="ipmaddr">
226 <term><command>ipmaddr</command></term>
227 <listitem>
[b51fe6e]228 <para>
[4c24eb0a]229 adds, deletes and shows an interface's multicast addresses
[b51fe6e]230 </para>
[a3dbd17b]231 <indexterm zone="net-tools ipmaddr">
232 <primary sortas="b-ipmaddr">ipmaddr</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
[8d0d2eb]236
[a3dbd17b]237 <varlistentry id="iptunnel">
238 <term><command>iptunnel</command></term>
239 <listitem>
[b51fe6e]240 <para>
[4c24eb0a]241 adds, changes, deletes and shows an interface's tunnels
[b51fe6e]242 </para>
[a3dbd17b]243 <indexterm zone="net-tools iptunnel">
244 <primary sortas="b-iptunnel">iptunnel</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
[8d0d2eb]248
[a3dbd17b]249 <varlistentry id="mii-tool">
250 <term><command>mii-tool</command></term>
251 <listitem>
[b51fe6e]252 <para>
253 checks or sets the status of a network interface's Media
[4c24eb0a]254 Independent Interface (MII) unit
[b51fe6e]255 </para>
[a3dbd17b]256 <indexterm zone="net-tools mii-tool">
257 <primary sortas="b-mii-tool">mii-tool</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
[8d0d2eb]261
[a3dbd17b]262 <varlistentry id="nameif">
263 <term><command>nameif</command></term>
264 <listitem>
[b51fe6e]265 <para>
[4c24eb0a]266 names network interfaces based on MAC addresses
[b51fe6e]267 </para>
[a3dbd17b]268 <indexterm zone="net-tools nameif">
269 <primary sortas="b-nameif">nameif</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
[8d0d2eb]273
[a3dbd17b]274 <varlistentry id="netstat">
275 <term><command>netstat</command></term>
276 <listitem>
[b51fe6e]277 <para>
278 is used to report network connections, routing tables, and
[4c24eb0a]279 interface statistics
[b51fe6e]280 </para>
[a3dbd17b]281 <indexterm zone="net-tools netstat">
282 <primary sortas="b-netstat">netstat</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
[a3b94fc]286
[a3dbd17b]287 <varlistentry id="plipconfig">
288 <term><command>plipconfig</command></term>
289 <listitem>
[b51fe6e]290 <para>
291 is used to fine tune the PLIP device parameters, to
[4c24eb0a]292 improve its performance
[b51fe6e]293 </para>
[a3dbd17b]294 <indexterm zone="net-tools plipconfig">
295 <primary sortas="b-plipconfig">plipconfig</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
[8d0d2eb]299
[a3dbd17b]300 <varlistentry id="rarp">
301 <term><command>rarp</command></term>
302 <listitem>
[b51fe6e]303 <para>
[4c24eb0a]304 is used to manipulate the kernel's RARP table
[b51fe6e]305 </para>
[a3dbd17b]306 <indexterm zone="net-tools rarp">
307 <primary sortas="b-rarp">rarp</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
[8d0d2eb]311
[a3dbd17b]312 <varlistentry id="route">
313 <term><command>route</command></term>
314 <listitem>
[b51fe6e]315 <para>
[4c24eb0a]316 is used to manipulate the IP routing table
[b51fe6e]317 </para>
[a3dbd17b]318 <indexterm zone="net-tools route">
319 <primary sortas="b-route">route</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
[8d0d2eb]323
[a3dbd17b]324 <varlistentry id="slattach">
325 <term><command>slattach</command></term>
326 <listitem>
[b51fe6e]327 <para>
328 attaches a network interface to a serial line. This allows you to
329 use normal terminal lines for point-to-point links to others
[4c24eb0a]330 computers
[b51fe6e]331 </para>
[a3dbd17b]332 <indexterm zone="net-tools slattach">
333 <primary sortas="b-slattach">slattach</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry>
337 </variablelist>
[8d0d2eb]338
[a3dbd17b]339 </sect2>
[8d0d2eb]340
[0590c1b6]341</sect1>
Note: See TracBrowser for help on using the repository browser.