6.30. Installing Net-tools-1.60

Estimated build time:           0.1 SBU
Estimated required disk space:  9.4 MB

6.30.1. Contents of Net-tools

The Net-tools package contains a collection of programs which form the base of Linux networking.

Installed programs: arp, dnsdomainname (link to hostname), domainname (link to hostname), hostname, ifconfig, nameif, netstat, nisdomainname (link to hostname), plipconfig, rarp, route, slattach and ypdomainname (link to hostname)

6.30.2.

6.30.3. Net-tools Installation Dependencies

Net-tools depends on: Bash, Binutils, Coreutils, GCC, Glibc, Make.

6.30.4.

6.30.5. Installation of Net-tools

If you don't know what to answer to all the questions asked during the make config 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.

First fix a small syntax problem in the sources of the mii-tool program:

patch -Np1 -i ../net-tools-1.60-miitool-gcc33-1.patch

Now prepare Net-tools for compilation with:

make config

If you intend to accept the default settings, you may skip the questions generated by make config by running yes "" | make config instead.

Compile the package:

make

And install it:

make update