LDP/LDP/retired/LFS/chapter06/nettools.xml

51 lines
1.7 KiB
XML

<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>