Linux From Scratch: Version 5.0-pre3
Prev | Chapter 6. Installing basic system software | Next

# Installing Net-tools-1.60

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

## Contents of Net-tools

(Last checked against version 1.60.)

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)

##

## Net-tools Installation Dependencies

(Last checked against version 1.60.)

Bash: bash, sh
Binutils: ar, as, ld
Coreutils: echo, install, ln, ls, mv, rm
GCC: cc, cc1, collect2, cpp
Make: make

##

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

Prev | Home | Next
Installing Gettext-0.12.1 | Up | Installing Inetutils-1.4.2