aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/nettools.xml
blob: 61a6359d60dc0e89e55a1550c7412c0e9986c9af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<sect1 id="ch06-nettools">
<title>Installing Net-tools-&net-tools-version;</title>
<?dbhtml filename="net-tools.html" dir="chapter06"?>

<screen>Estimated build time:           &net-tools-time;
Estimated required disk space:  &net-tools-compsize;</screen>

&aa-nettools-shortdesc;
&aa-nettools-dep;

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Net-tools</title>

<para>If you don't know what to answer to all the questions asked during the
<userinput>make config</userinput> phase below, then just accept the defaults.
This will be just fine in the majority of cases. What you're asked here is a
bunch of questions about which network protocols you've enabled in your
kernel. The default answers will enable the tools from this package to work
with the most common protocols: TCP, PPP, and several others. You still need
to actually enable these protocols in the kernel -- what you do here is merely
telling the package to include support for those protocols in its programs,
but it's up to the kernel to make the protocols available.</para>

<para>First fix a small syntax problem in the sources of the mii-tool
program:</para>

<screen><userinput>patch -Np1 -i ../&net-tools-mii-patch;</userinput></screen>

<para>Now prepare Net-tools for compilation with:</para>

<screen><userinput>make config</userinput></screen>

<para>If you intend to accept the default settings, you may skip the
questions generated by <emphasis>make config</emphasis> by running
<userinput>yes "" | make config</userinput> instead.</para>

<para>Compile the package:</para>

<screen><userinput>make</userinput></screen>

<para>And install it:</para>

<screen><userinput>make update</userinput></screen>

</sect2>

</sect1>