1 | <sect1 id="ch-system-net-tools" xreflabel="Net-tools">
|
---|
2 | <title>Installing Net-tools-&net-tools-version;</title>
|
---|
3 | <?dbhtml filename="net-tools.html" dir="chapter06"?>
|
---|
4 |
|
---|
5 | <para>The Net-tools package contains programs for basic networking.</para>
|
---|
6 |
|
---|
7 | <screen>&buildtime; &net-tools-time;
|
---|
8 | &diskspace; &net-tools-compsize;</screen>
|
---|
9 |
|
---|
10 | &aa-nettools-down;
|
---|
11 | &aa-nettools-dep;
|
---|
12 |
|
---|
13 | <sect2><title> </title><para> </para></sect2>
|
---|
14 |
|
---|
15 | <sect2>
|
---|
16 | <title>Installation of Net-tools</title>
|
---|
17 |
|
---|
18 | <para>If you don't know what to answer to all the questions asked during the
|
---|
19 | <command>make config</command> phase below, then just accept the defaults.
|
---|
20 | This will be just fine in the majority of cases. What you're asked here is a
|
---|
21 | bunch of questions about which network protocols you've enabled in your
|
---|
22 | kernel. The default answers will enable the tools from this package to work
|
---|
23 | with the most common protocols: TCP, PPP, and several others. You still need
|
---|
24 | to actually enable these protocols in the kernel -- what you do here is merely
|
---|
25 | telling the package to include support for those protocols in its programs,
|
---|
26 | but it's up to the kernel to make the protocols available.</para>
|
---|
27 |
|
---|
28 | <para>First fix a small syntax problem in the sources of the
|
---|
29 | <command>mii-tool</command> program:</para>
|
---|
30 |
|
---|
31 | <screen><userinput>patch -Np1 -i ../&net-tools-mii-patch;</userinput></screen>
|
---|
32 |
|
---|
33 | <para>Now prepare Net-tools for compilation (if you intend to accept the
|
---|
34 | defaults, you can skip all the questions by running <userinput>yes "" |
|
---|
35 | make config</userinput> instead):</para>
|
---|
36 |
|
---|
37 | <screen><userinput>make config</userinput></screen>
|
---|
38 |
|
---|
39 | <para>Compile the package:</para>
|
---|
40 |
|
---|
41 | <screen><userinput>make</userinput></screen>
|
---|
42 |
|
---|
43 | <para>And install it:</para>
|
---|
44 |
|
---|
45 | <screen><userinput>make update</userinput></screen>
|
---|
46 |
|
---|
47 | </sect2>
|
---|
48 |
|
---|
49 | &aa-nettools-shortdesc;
|
---|
50 | &aa-nettools-desc;
|
---|
51 |
|
---|
52 | </sect1>
|
---|
53 |
|
---|