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

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 a71e7697 was a71e7697, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to net-tools-CVS_20101030.

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

  • Property mode set to 100644
File size: 11.5 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 &lfs70_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 <para>Install <application>Net-tools</application> by running the
114 following commands:</para>
115
116<screen><userinput>yes "" | make config &amp;&amp;
117make</userinput></screen>
118
119 <para>This package does not come with a test suite.</para>
120
121 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
122
123<screen role='root'><userinput>make update</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
129
130 <para><command>yes "" | make config</command>: Piping <command>yes</command>
131 to <command>make config</command> skips the interactive configuration and
132 accepts the defaults.</para>
133
134 </sect2>
135
136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Programs</segtitle>
141 <segtitle>Installed Libraries</segtitle>
142 <segtitle>Installed Directories</segtitle>
143
144 <seglistitem>
145 <seg>arp, dnsdomainname, domainname, hostname,
146 ifconfig, ipmaddr, iptunnel, mii-tool, nameif, netstat,
147 nisdomainname, plipconfig, rarp, route, slattach, and
148 ypdomainname</seg>
149 <seg>None</seg>
150 <seg>None</seg>
151 </seglistitem>
152 </segmentedlist>
153
154 <variablelist>
155 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
156 <?dbfo list-presentation="list"?>
157 <?dbhtml list-presentation="table"?>
158
159 <varlistentry id="arp">
160 <term><command>arp</command></term>
161 <listitem>
162 <para>is used to manipulate the kernel's ARP cache, usually
163 to add or delete an entry, or to dump the entire cache.</para>
164 <indexterm zone="net-tools arp">
165 <primary sortas="b-arp">arp</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 <varlistentry id="dnsdomainname">
171 <term><command>dnsdomainname</command></term>
172 <listitem>
173 <para>reports the system's DNS domain name.</para>
174 <indexterm zone="net-tools dnsdomainname">
175 <primary sortas="b-dnsdomainname">dnsdomainname</primary>
176 </indexterm>
177 </listitem>
178 </varlistentry>
179
180 <varlistentry id="domainname">
181 <term><command>domainname</command></term>
182 <listitem>
183 <para>reports or sets the system's NIS/YP domain name.</para>
184 <indexterm zone="net-tools domainname">
185 <primary sortas="b-domainname">domainname</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="hostname">
191 <term><command>hostname</command></term>
192 <listitem>
193 <para>reports or sets the name of the current host system.</para>
194 <indexterm zone="net-tools hostname">
195 <primary sortas="b-hostname">hostname</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="ifconfig">
201 <term><command>ifconfig</command></term>
202 <listitem>
203 <para>is the main utility for configuring network interfaces.</para>
204 <indexterm zone="net-tools ifconfig">
205 <primary sortas="b-ifconfig">ifconfig</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="ipmaddr">
211 <term><command>ipmaddr</command></term>
212 <listitem>
213 <para>adds, deletes and shows an interface's multicast addresses.</para>
214 <indexterm zone="net-tools ipmaddr">
215 <primary sortas="b-ipmaddr">ipmaddr</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="iptunnel">
221 <term><command>iptunnel</command></term>
222 <listitem>
223 <para>adds, changes, deletes and shows an interface's tunnels.</para>
224 <indexterm zone="net-tools iptunnel">
225 <primary sortas="b-iptunnel">iptunnel</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="mii-tool">
231 <term><command>mii-tool</command></term>
232 <listitem>
233 <para>checks or sets the status of a network interface's Media Independent
234 Interface (MII) unit.</para>
235 <indexterm zone="net-tools mii-tool">
236 <primary sortas="b-mii-tool">mii-tool</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="nameif">
242 <term><command>nameif</command></term>
243 <listitem>
244 <para>names network interfaces based on MAC addresses.</para>
245 <indexterm zone="net-tools nameif">
246 <primary sortas="b-nameif">nameif</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="netstat">
252 <term><command>netstat</command></term>
253 <listitem>
254 <para>is used to report network connections, routing tables, and interface
255 statistics.</para>
256 <indexterm zone="net-tools netstat">
257 <primary sortas="b-netstat">netstat</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="nisdomainname">
263 <term><command>nisdomainname</command></term>
264 <listitem>
265 <para>does the same as <command>domainname</command>.</para>
266 <indexterm zone="net-tools nisdomainname">
267 <primary sortas="b-nisdomainname">nisdomainname</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 <varlistentry id="plipconfig">
273 <term><command>plipconfig</command></term>
274 <listitem>
275 <para>is used to fine tune the PLIP device parameters, to
276 improve its performance.</para>
277 <indexterm zone="net-tools plipconfig">
278 <primary sortas="b-plipconfig">plipconfig</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 <varlistentry id="rarp">
284 <term><command>rarp</command></term>
285 <listitem>
286 <para>is used to manipulate the kernel's RARP table.</para>
287 <indexterm zone="net-tools rarp">
288 <primary sortas="b-rarp">rarp</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="route">
294 <term><command>route</command></term>
295 <listitem>
296 <para>is used to manipulate the IP routing table.</para>
297 <indexterm zone="net-tools route">
298 <primary sortas="b-route">route</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="slattach">
304 <term><command>slattach</command></term>
305 <listitem>
306 <para>attaches a network interface to a serial line. This allows you to use
307 normal terminal lines for point-to-point links to other computers.</para>
308 <indexterm zone="net-tools slattach">
309 <primary sortas="b-slattach">slattach</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="ypdomainname">
315 <term><command>ypdomainname</command></term>
316 <listitem>
317 <para>does the same as <command>domainname</command>.</para>
318 <indexterm zone="net-tools ypdomainname">
319 <primary sortas="b-ypdomainname">ypdomainname</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 </variablelist>
325
326 </sect2>
327
328</sect1>
Note: See TracBrowser for help on using the repository browser.