aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/nettools.xml
blob: 70bcdd33a8b7227cadfb9987b4b098083a2427be (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
51
52
53
54
55
<sect1 id="ch-system-net-tools" xreflabel="Net-tools">
<title>Installing Net-tools-&net-tools-version;</title>
<?dbhtml filename="net-tools.html" dir="chapter06"?>

<para>The Net-tools package contains programs for basic networking.</para>

<screen>&buildtime; &net-tools-time;
&diskspace; &net-tools-compsize;</screen>

&aa-nettools-down;
&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
<command>make config</command> 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 <command>make config</command> 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>

&aa-nettools-shortdesc;
&aa-nettools-desc;

</sect1>