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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f534f6f was f534f6f, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to traceroute-2.0.19.
More LFS-7.3 tags.

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

  • Property mode set to 100644
File size: 12.4 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;/n/net-tools-&net-tools-version;.tar.gz">
8 <!ENTITY net-tools-download-ftp "&sources-anduin-ftp;/n/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 &lfs73_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 <!--
61 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
62 <itemizedlist spacing="compact">
63 <listitem>
64 <para>Required Patch: <ulink
65 url="&patch-root;/net-tools-&net-tools-version;-gcc34-3.patch"/></para>
66 </listitem>
67 <listitem>
68 <para>Required Patch: <ulink
69 url="&patch-root;/net-tools-&net-tools-version;-kernel_headers-2.patch"/></para>
70 </listitem>
71 <listitem>
72 <para>Required Patch: <ulink
73 url="&patch-root;/net-tools-&net-tools-version;-mii_ioctl-1.patch"/></para>
74 </listitem>
75 </itemizedlist>
76 -->
77
78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/net-tools"/></para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of Net-tools</title>
85
86 <note>
87 <para>The <application>Net-tools</application> package installs a
88 <command>hostname</command> program which will overwrite the existing
89 program installed by <application>Inetutils</application> during a base
90 LFS installation. If, for whatever reason, you need to reinstall the
91 <application>Inetutils</application> package after installing
92 <application>Net-tools</application>, you should add
93 <command>--disable-hostname</command> to the Inetutils
94 <command>configure</command> command in LFS if you wish to preserve the
95 <application>Net-tools</application> <command>hostname</command>
96 program.</para>
97 </note>
98
99 <para id="net-tools-automate-example" xreflabel="Net-tools">The
100 instructions below automate the configuration process by piping
101 <command>yes</command> to the <command>make config</command> command. If
102 you wish to run the interactive configuration process (by changing the
103 instruction to just <command>make config</command>), but you are not sure
104 how to answer all the questions, then just accept the defaults. This will
105 be just fine in the majority of cases. What you're asked here is a bunch of
106 questions about which network protocols you've enabled in your kernel. The
107 default answers will enable the tools from this package to work with the
108 most common protocols: TCP, PPP, and several others. You still need to
109 actually enable these protocols in the kernel&mdash;what you do here is
110 merely tell the package to include support for those protocols in its
111 programs, but it's up to the kernel to make the protocols available.</para>
112
113 <note><para>This package has several unneeded protocols and hardware device
114 specific functions that are obsolete. To only build the minimum needed for
115 your system, skip the <command>yes</command> command and answer each
116 question interactively. The minimum needed options are 'UNIX protocol
117 family' and 'INET (TCP/IP) protocol family'.</para></note>
118
119 <para>Install <application>Net-tools</application> by running the
120 following commands:</para>
121
122<screen><userinput>sed -i -e '/Token/s/y$/n/' config.in &amp;&amp;
123sed -i -e '/HAVE_HWSTRIP/s/y$/n/' config.in &amp;&amp;
124yes "" | make config &amp;&amp;
125make</userinput></screen>
126
127 <para>This package does not come with a test suite.</para>
128
129 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
130
131<screen role='root'><userinput>make update</userinput></screen>
132
133 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <para><command>sed -i -e '/Token/s/y$/n/' config.in</command>: Change the
139 default for building obsolete token ring support to no. This is a
140 simpler change than changing the location for the token ring headers.
141 </para>
142
143 <para><command>sed -i -e '/HAVE_HWSTRIP/s/y$/n/' config.in</command>:
144 Removes obsolete Metricom radio support that requires a header no longer
145 included in the kernel. </para>
146
147 <para><command>yes "" | make config</command>: Piping <command>yes</command>
148 to <command>make config</command> skips the interactive configuration and
149 accepts the defaults.</para>
150
151 </sect2>
152
153 <sect2 role="content">
154 <title>Contents</title>
155
156 <segmentedlist>
157 <segtitle>Installed Programs</segtitle>
158 <segtitle>Installed Libraries</segtitle>
159 <segtitle>Installed Directories</segtitle>
160
161 <seglistitem>
162 <seg>arp, dnsdomainname, domainname, hostname,
163 ifconfig, ipmaddr, iptunnel, mii-tool, nameif, netstat,
164 nisdomainname, plipconfig, rarp, route, slattach, and
165 ypdomainname</seg>
166 <seg>None</seg>
167 <seg>None</seg>
168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
176 <varlistentry id="arp">
177 <term><command>arp</command></term>
178 <listitem>
179 <para>is used to manipulate the kernel's ARP cache, usually
180 to add or delete an entry, or to dump the entire cache.</para>
181 <indexterm zone="net-tools arp">
182 <primary sortas="b-arp">arp</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="dnsdomainname">
188 <term><command>dnsdomainname</command></term>
189 <listitem>
190 <para>reports the system's DNS domain name.</para>
191 <indexterm zone="net-tools dnsdomainname">
192 <primary sortas="b-dnsdomainname">dnsdomainname</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="domainname">
198 <term><command>domainname</command></term>
199 <listitem>
200 <para>reports or sets the system's NIS/YP domain name.</para>
201 <indexterm zone="net-tools domainname">
202 <primary sortas="b-domainname">domainname</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="hostname">
208 <term><command>hostname</command></term>
209 <listitem>
210 <para>reports or sets the name of the current host system.</para>
211 <indexterm zone="net-tools hostname">
212 <primary sortas="b-hostname">hostname</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="ifconfig">
218 <term><command>ifconfig</command></term>
219 <listitem>
220 <para>is the main utility for configuring network interfaces.</para>
221 <indexterm zone="net-tools ifconfig">
222 <primary sortas="b-ifconfig">ifconfig</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="ipmaddr">
228 <term><command>ipmaddr</command></term>
229 <listitem>
230 <para>adds, deletes and shows an interface's multicast addresses.</para>
231 <indexterm zone="net-tools ipmaddr">
232 <primary sortas="b-ipmaddr">ipmaddr</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="iptunnel">
238 <term><command>iptunnel</command></term>
239 <listitem>
240 <para>adds, changes, deletes and shows an interface's tunnels.</para>
241 <indexterm zone="net-tools iptunnel">
242 <primary sortas="b-iptunnel">iptunnel</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 <varlistentry id="mii-tool">
248 <term><command>mii-tool</command></term>
249 <listitem>
250 <para>checks or sets the status of a network interface's Media Independent
251 Interface (MII) unit.</para>
252 <indexterm zone="net-tools mii-tool">
253 <primary sortas="b-mii-tool">mii-tool</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="nameif">
259 <term><command>nameif</command></term>
260 <listitem>
261 <para>names network interfaces based on MAC addresses.</para>
262 <indexterm zone="net-tools nameif">
263 <primary sortas="b-nameif">nameif</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 <varlistentry id="netstat">
269 <term><command>netstat</command></term>
270 <listitem>
271 <para>is used to report network connections, routing tables, and interface
272 statistics.</para>
273 <indexterm zone="net-tools netstat">
274 <primary sortas="b-netstat">netstat</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="nisdomainname">
280 <term><command>nisdomainname</command></term>
281 <listitem>
282 <para>does the same as <command>domainname</command>.</para>
283 <indexterm zone="net-tools nisdomainname">
284 <primary sortas="b-nisdomainname">nisdomainname</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry id="plipconfig">
290 <term><command>plipconfig</command></term>
291 <listitem>
292 <para>is used to fine tune the PLIP device parameters, to
293 improve its performance.</para>
294 <indexterm zone="net-tools plipconfig">
295 <primary sortas="b-plipconfig">plipconfig</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="rarp">
301 <term><command>rarp</command></term>
302 <listitem>
303 <para>is used to manipulate the kernel's RARP table.</para>
304 <indexterm zone="net-tools rarp">
305 <primary sortas="b-rarp">rarp</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="route">
311 <term><command>route</command></term>
312 <listitem>
313 <para>is used to manipulate the IP routing table.</para>
314 <indexterm zone="net-tools route">
315 <primary sortas="b-route">route</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="slattach">
321 <term><command>slattach</command></term>
322 <listitem>
323 <para>attaches a network interface to a serial line. This allows you to use
324 normal terminal lines for point-to-point links to other computers.</para>
325 <indexterm zone="net-tools slattach">
326 <primary sortas="b-slattach">slattach</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
331 <varlistentry id="ypdomainname">
332 <term><command>ypdomainname</command></term>
333 <listitem>
334 <para>does the same as <command>domainname</command>.</para>
335 <indexterm zone="net-tools ypdomainname">
336 <primary sortas="b-ypdomainname">ypdomainname</primary>
337 </indexterm>
338 </listitem>
339 </varlistentry>
340
341 </variablelist>
342
343 </sect2>
344
345</sect1>
Note: See TracBrowser for help on using the repository browser.