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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 f3429309 was f3429309, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • mupdf-1.8: minor reformat.
  • removing spaces from EOL, from Denis Mugnier.
  • BLFS/trunk/BOOK/kde/add/kdepim-runtime.xml: needed to fix to validate the book. One chunck had been removed. Bruce, please check if it is OK, now.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16645 af4574ff-66df-0310-9fd7-8a98e5e911e0

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