Added a few comments here and there
[linux_from_scratch.git] / newxml / chapter06 / net-tools.xml
blob94dae6861973587dbcd553a3e35b8509f19cf6ba
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3CR2//EN" "http://www.docbook.org/xml/4.3CR2/docbookx.dtd" [
3   <!ENTITY % net-tools-entities SYSTEM "../ent/net-tools.ent">
4   %net-tools-entities;
5 ]>
6 <sect1 id="ch06-net-tools">
7 <title>Installing Net-tools-&net-tools-version;</title>
8 <?dbhtml filename="net-tools.html"?>
10 <screen>Estimated build time:           0.1 SBU
11 Estimated required disk space:  9.4 MB</screen>
13 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/net-tools-contents.xml"/>
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/net-tools-deps.xml"/>
21 <sect2>
22 <title>Installation of Net-tools</title>
24 <para>If you don't know what to answer to all the questions asked during the
25 <userinput>make config</userinput> phase below, then just accept the defaults.
26 This will be just fine in the majority of cases. What you're asked here is a
27 bunch of questions about which network protocols you've enabled in your
28 kernel. The default answers will enable the tools from this package to work
29 with the most common protocols: TCP, PPP, and several others. You still need
30 to actually enable these protocols in the kernel -- what you do here is merely
31 telling the package to include support for those protocols in its programs,
32 but it's up to the kernel to make the protocols available.</para>
34 <para>First fix a small syntax problem in the sources of the mii-tool
35 program:</para>
37 <screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-miitool-gcc33-1.patch</userinput></screen>
39 <para>Now prepare Net-tools for compilation with:</para>
41 <screen><userinput>make config</userinput></screen>
43 <para>If you intend to accept the default settings, you may skip the
44 questions generated by <emphasis>make config</emphasis> by running
45 <userinput>yes "" | make config</userinput> instead.</para>
47 <para>Compile the package:</para>
49 <screen><userinput>make</userinput></screen>
51 <para>And install it:</para>
53 <screen><userinput>make update</userinput></screen>
55 </sect2>
57 </sect1>