source: basicnet/netprogs/net-tools.xml@ f105888

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 f105888 was f105888, checked in by Thomas Trepl <thomas@…>, 16 years ago

Fix nettools download location

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

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