source: networking/netprogs/net-tools.xml@ 17aa21c

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 17aa21c was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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