1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <sect1 id="ch-system-net-tools" xreflabel="Net-tools" role="wrap">
|
---|
7 | <title>Net-tools-&net-tools-version;</title>
|
---|
8 | <?dbhtml filename="net-tools.html"?>
|
---|
9 |
|
---|
10 | <indexterm zone="ch-system-net-tools"><primary sortas="a-Net-tools">Net-tools</primary></indexterm>
|
---|
11 |
|
---|
12 | <sect2 role="package"><title/>
|
---|
13 | <para>The Net-tools package contains programs for basic networking.</para>
|
---|
14 |
|
---|
15 | <segmentedlist>
|
---|
16 | <segtitle>&buildtime;</segtitle>
|
---|
17 | <segtitle>&diskspace;</segtitle>
|
---|
18 | <seglistitem><seg>0.1 SBU</seg><seg>9.4 MB</seg></seglistitem>
|
---|
19 | </segmentedlist>
|
---|
20 |
|
---|
21 | <segmentedlist>
|
---|
22 | <segtitle>Net-tools installation depends on</segtitle>
|
---|
23 | <seglistitem><seg>Bash, Binutils, Coreutils, GCC,
|
---|
24 | Glibc, Make</seg></seglistitem>
|
---|
25 | </segmentedlist>
|
---|
26 | </sect2>
|
---|
27 |
|
---|
28 | <sect2 role="installation">
|
---|
29 | <title>Installation of Net-tools</title>
|
---|
30 |
|
---|
31 | <para>If you don't know what to answer to all the questions asked during the
|
---|
32 | <command>make config</command> phase below, then just accept the defaults.
|
---|
33 | This will be just fine in the majority of cases. What you're asked here is a
|
---|
34 | bunch of questions about which network protocols you've enabled in your
|
---|
35 | kernel. The default answers will enable the tools from this package to work
|
---|
36 | with the most common protocols: TCP, PPP, and several others. You still need
|
---|
37 | to actually enable these protocols in the kernel -- what you do here is merely
|
---|
38 | telling the package to include support for those protocols in its programs,
|
---|
39 | but it's up to the kernel to make the protocols available.</para>
|
---|
40 |
|
---|
41 | <para>This package also has issues with being compiled by GCC 3.4, which we
|
---|
42 | fix by applying the following patch:</para>
|
---|
43 |
|
---|
44 | <screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-gcc34-2.patch</userinput></screen>
|
---|
45 |
|
---|
46 | <para>Net-tools has issues with the Linux 2.6 kernel series - fix these issues
|
---|
47 | by applying the following patch:</para>
|
---|
48 |
|
---|
49 | <screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-kernel-headers-1.patch</userinput></screen>
|
---|
50 |
|
---|
51 | <para>Now prepare Net-tools for compilation (if you intend to accept the
|
---|
52 | defaults, you can skip all the questions by running <userinput>yes "" |
|
---|
53 | make config</userinput> instead):</para>
|
---|
54 |
|
---|
55 | <screen><userinput>make config</userinput></screen>
|
---|
56 |
|
---|
57 | <para>Compile the package:</para>
|
---|
58 |
|
---|
59 | <screen><userinput>make</userinput></screen>
|
---|
60 |
|
---|
61 | <para>Now install it:</para>
|
---|
62 |
|
---|
63 | <screen><userinput>make update</userinput></screen>
|
---|
64 |
|
---|
65 | </sect2>
|
---|
66 |
|
---|
67 |
|
---|
68 | <sect2 id="contents-net" role="content"><title>Contents of Net-tools</title>
|
---|
69 |
|
---|
70 | <segmentedlist>
|
---|
71 | <segtitle>Installed programs</segtitle>
|
---|
72 | <seglistitem><seg>arp, dnsdomainname (link to hostname), domainname (link to
|
---|
73 | hostname), hostname, ifconfig, nameif, netstat, nisdomainname (link to hostname),
|
---|
74 | plipconfig, rarp, route, slattach and ypdomainname (link to hostname)</seg></seglistitem>
|
---|
75 | </segmentedlist>
|
---|
76 |
|
---|
77 | <variablelist><title>Short descriptions</title>
|
---|
78 |
|
---|
79 | <varlistentry>
|
---|
80 | <term id="arp"><command>arp</command></term>
|
---|
81 | <listitem>
|
---|
82 | <indexterm zone="ch-system-net-tools arp"><primary sortas="b-arp">arp</primary></indexterm>
|
---|
83 | <para>is used to manipulate the kernel's ARP cache,
|
---|
84 | usually to add or delete an entry, or to dump the entire cache.</para>
|
---|
85 | </listitem>
|
---|
86 | </varlistentry>
|
---|
87 |
|
---|
88 | <varlistentry>
|
---|
89 | <term id="dnsdomainname"><command>dnsdomainname</command></term>
|
---|
90 | <listitem>
|
---|
91 | <indexterm zone="ch-system-net-tools dnsdomainname"><primary sortas="b-dnsdomainname">dnsdomainname</primary></indexterm>
|
---|
92 | <para>reports the system's DNS (Domain Name Server) domain name.</para>
|
---|
93 | </listitem>
|
---|
94 | </varlistentry>
|
---|
95 |
|
---|
96 | <varlistentry>
|
---|
97 | <term id="domainname"><command>domainname</command></term>
|
---|
98 | <listitem>
|
---|
99 | <indexterm zone="ch-system-net-tools domainname"><primary sortas="b-domainname">domainname</primary></indexterm>
|
---|
100 | <para>reports or sets the system's NIS/YP domain name.</para>
|
---|
101 | </listitem>
|
---|
102 | </varlistentry>
|
---|
103 |
|
---|
104 | <varlistentry>
|
---|
105 | <term id="hostname"><command>hostname</command></term>
|
---|
106 | <listitem>
|
---|
107 | <indexterm zone="ch-system-net-tools hostname"><primary sortas="b-hostname">hostname</primary></indexterm>
|
---|
108 | <para>reports or sets the name of the current host system.</para>
|
---|
109 | </listitem>
|
---|
110 | </varlistentry>
|
---|
111 |
|
---|
112 | <varlistentry>
|
---|
113 | <term id="ifconfig"><command>ifconfig</command></term>
|
---|
114 | <listitem>
|
---|
115 | <indexterm zone="ch-system-net-tools ifconfig"><primary sortas="b-ifconfig">ifconfig</primary></indexterm>
|
---|
116 | <para>is the main utility for configuring network interfaces.</para>
|
---|
117 | </listitem>
|
---|
118 | </varlistentry>
|
---|
119 |
|
---|
120 | <varlistentry>
|
---|
121 | <term id="nameif"><command>nameif</command></term>
|
---|
122 | <listitem>
|
---|
123 | <indexterm zone="ch-system-net-tools nameif"><primary sortas="b-nameif">nameif</primary></indexterm>
|
---|
124 | <para>names network interfaces based on MAC addresses.</para>
|
---|
125 | </listitem>
|
---|
126 | </varlistentry>
|
---|
127 |
|
---|
128 | <varlistentry>
|
---|
129 | <term id="netstat"><command>netstat</command></term>
|
---|
130 | <listitem>
|
---|
131 | <indexterm zone="ch-system-net-tools netstat"><primary sortas="b-netstat">netstat</primary></indexterm>
|
---|
132 | <para>is used to report network connections, routing tables, and interface
|
---|
133 | statistics..</para>
|
---|
134 | </listitem>
|
---|
135 | </varlistentry>
|
---|
136 |
|
---|
137 | <varlistentry>
|
---|
138 | <term id="nisdomainname"><command>nisdomainname</command></term>
|
---|
139 | <listitem>
|
---|
140 | <indexterm zone="ch-system-net-tools nisdomainname"><primary sortas="b-nisdomainname">nisdomainname</primary></indexterm>
|
---|
141 | <para>does the same as domainname.</para>
|
---|
142 | </listitem>
|
---|
143 | </varlistentry>
|
---|
144 |
|
---|
145 | <varlistentry>
|
---|
146 | <term id="plipconfig"><command>plipconfig</command></term>
|
---|
147 | <listitem>
|
---|
148 | <indexterm zone="ch-system-net-tools plipconfig"><primary sortas="b-plipconfig">plipconfig</primary></indexterm>
|
---|
149 | <para>is used to fine tune the PLIP device parameters, to improve its performance.</para>
|
---|
150 | </listitem>
|
---|
151 | </varlistentry>
|
---|
152 |
|
---|
153 | <varlistentry>
|
---|
154 | <term id="rarp"><command>rarp</command></term>
|
---|
155 | <listitem>
|
---|
156 | <indexterm zone="ch-system-net-tools rarp"><primary sortas="b-rarp">rarp</primary></indexterm>
|
---|
157 | <para>is used to manipulate the kernel's RARP table.</para>
|
---|
158 | </listitem>
|
---|
159 | </varlistentry>
|
---|
160 |
|
---|
161 | <varlistentry>
|
---|
162 | <term id="route"><command>route</command></term>
|
---|
163 | <listitem>
|
---|
164 | <indexterm zone="ch-system-net-tools route"><primary sortas="b-route">route</primary></indexterm>
|
---|
165 | <para>is used to manipulate the IP routing table.</para>
|
---|
166 | </listitem>
|
---|
167 | </varlistentry>
|
---|
168 |
|
---|
169 | <varlistentry>
|
---|
170 | <term id="slattach"><command>slattach</command></term>
|
---|
171 | <listitem>
|
---|
172 | <indexterm zone="ch-system-net-tools slattach"><primary sortas="b-slattach">slattach</primary></indexterm>
|
---|
173 | <para>attaches a network interface to a serial line. This allows you to use normal
|
---|
174 | terminal lines for point-to-point links to other computers.</para>
|
---|
175 | </listitem>
|
---|
176 | </varlistentry>
|
---|
177 |
|
---|
178 | <varlistentry>
|
---|
179 | <term id="ypdomainname"><command>ypdomainname</command></term>
|
---|
180 | <listitem>
|
---|
181 | <indexterm zone="ch-system-net-tools ypdomainname"><primary sortas="b-ypdomainname">ypdomainname</primary></indexterm>
|
---|
182 | <para>does the same as domainname.</para>
|
---|
183 | </listitem>
|
---|
184 | </varlistentry>
|
---|
185 | </variablelist>
|
---|
186 |
|
---|
187 | </sect2>
|
---|
188 |
|
---|
189 | </sect1>
|
---|