source: basicnet/netprogs/net-tools.xml@ 6b267c3a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 6b267c3a was 19a1cd82, checked in by Igor Živković <igor@…>, 20 years ago

Moved Net-tools contents section to BLFS format.

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

  • Property mode set to 100644
File size: 5.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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 " ">
9 <!ENTITY net-tools-size "194 KB">
10 <!ENTITY net-tools-buildsize "9.4 MB">
11 <!ENTITY net-tools-time "0.10 SBU">
12]>
13
14<sect1 id="net-tools" xreflabel="Net-tools-&net-tools-version;">
15<?dbhtml filename="net-tools.html"?>
16<title>Net-tools-&net-tools-version;</title>
17
18
19<sect2>
20<title>Introduction to <application>Net-tools</application></title>
21
22<para>The <application>Net-tools</application> package is a collection
23of programs for controlling the network subsystem of the Linux
24kernel.</para>
25
26<sect3><title>Package information</title>
27<itemizedlist spacing='compact'>
28<listitem><para>Download (HTTP): <ulink url="&net-tools-download-http;"/></para></listitem>
29<listitem><para>Download (FTP): <ulink url="&net-tools-download-ftp;"/></para></listitem>
30<listitem><para>Download size: &net-tools-size;</para></listitem>
31<listitem><para>Estimated Disk space required: &net-tools-buildsize;</para></listitem>
32<listitem><para>Estimated build time: &net-tools-time;</para></listitem></itemizedlist>
33</sect3>
34
35<!--
36<sect3><title>Additional downloads</title>
37<itemizedlist spacing="compact">
38<listitem><para>Required Patch: <ulink
39url="&patch-root;/net-tools-&net-tools-version;-gcc34-3.patch"/></para></listitem>
40</itemizedlist></sect3>
41-->
42
43</sect2>
44
45<sect2>
46<title>Installation of <application>Net-tools</application></title>
47
48<para>If you don't know what to answer to all the questions asked during
49the <command>make config</command> phase below, then just accept the
50defaults. This will be just fine in the majority of cases. What you're
51asked here is a bunch of questions about which network protocols you've
52enabled in your kernel. The default answers will enable the tools from
53this package to work with the most common protocols:
54<acronym>TCP</acronym>, <acronym>PPP</acronym>, and several others. You
55still need to actually enable these protocols in the kernel&mdash;what you
56do here is merely telling the package to include support for those
57protocols in its programs, but it's up to the kernel to make the
58protocols available.</para>
59
60<!--
61<para>This package has issues with being compiled by
62<application><acronym>GCC</acronym></application> 3.4, which we fix by
63applying the following patch:</para>
64
65<screen><userinput><command>patch -Np1 -i ../net-tools-&net-tools-version;-gcc34-3.patch</command></userinput></screen>
66
67<para>Fix an issue that arises when building against Linux 2.6:</para>
68
69<screen><userinput><command>sed -i 's@x25_address@struct &amp;@' lib/x25_sr.c</command></userinput></screen>
70-->
71
72<para>Install <application>Net-tools</application> by running the
73following commands:</para>
74
75<screen><userinput><command>yes "" | make config &amp;&amp;
76make &amp;&amp;
77make update</command></userinput></screen>
78
79</sect2>
80
81<sect2>
82<title>Command explanations</title>
83
84<para><command>yes "" | make config</command>:
85We skip all the questions and accept the defaults.
86</para>
87
88</sect2>
89
90<sect2>
91<title>Contents</title>
92
93<para>The <application>Net-tools</application> package contains
94<command>arp</command>,
95<command>dnsdomainname</command>,
96<command>domainname</command>,
97<command>hostname</command>,
98<command>ifconfig</command>,
99<command>nameif</command>,
100<command>netstat</command>,
101<command>nisdomainname</command>,
102<command>plipconfig</command>,
103<command>rarp</command>,
104<command>route</command>,
105<command>slattach</command> and
106<command>ypdomainname</command>.</para>
107
108</sect2>
109
110<sect2><title>Description</title>
111
112<sect3><title>arp</title>
113<para><command>arp</command>
114is used to manipulate the kernel's <acronym>ARP</acronym> cache, usually
115to add or delete an entry, or to dump the entire cache.
116</para></sect3>
117
118<sect3><title>dnsdomainname</title>
119<para><command>dnsdomainname</command>
120reports the system's <acronym>DNS</acronym> domain name.
121</para></sect3>
122
123<sect3><title>domainname</title>
124<para><command>domainname</command>
125reports or sets the system's
126<acronym>NIS</acronym>/<acronym>YP</acronym> domain name.
127</para></sect3>
128
129<sect3><title>hostname</title>
130<para><command>hostname</command>
131reports or sets the name of the current host system.
132</para></sect3>
133
134<sect3><title>ifconfig</title>
135<para><command>ifconfig</command>
136is the main utility for configuring network interfaces.
137</para></sect3>
138
139<sect3><title>nameif</title>
140<para><command>nameif</command>
141names network interfaces based on <acronym>MAC</acronym> addresses.
142</para></sect3>
143
144<sect3><title>netstat</title>
145<para><command>netstat</command>
146is used to report network connections, routing tables, and interface
147statistics.
148</para></sect3>
149
150<sect3><title>nisdomainname</title>
151<para><command>nisdomainname</command>
152does the same as <command>domainname</command>.
153</para></sect3>
154
155<sect3><title>plipconfig</title>
156<para><command>plipconfig</command>
157is used to fine tune the <acronym>PLIP</acronym> device parameters, to
158improve its performance.
159</para></sect3>
160
161<sect3><title>rarp</title>
162<para><command>rarp</command>
163is used to manipulate the kernel's <acronym>RARP</acronym> table.
164</para></sect3>
165
166<sect3><title>route</title>
167<para><command>route</command>
168is used to manipulate the <acronym>IP</acronym> routing table.
169</para></sect3>
170
171<sect3><title>slattach</title>
172<para><command>slattach</command>
173attaches a network interface to a serial line. This allows you to use
174normal terminal lines for point-to-point links to other computers.
175</para></sect3>
176
177<sect3><title>ypdomainname</title>
178<para><command>ypdomainname</command>
179does the same as <command>domainname</command>.
180</para></sect3>
181
182</sect2>
183
184</sect1>
Note: See TracBrowser for help on using the repository browser.