Before you can configure the networking software you must obtain all of the bits and pieces that make it up. These include the current version of the kernel code (version 1.0 or later), the correct system libraries, the tcp/ip configuration programs and files (e.g. /sbin/ifconfig, /etc/hosts etc.), and finally a set of network application programs (such as telnet, ftp, rlogin etc.).
If you obtained Linux from a distribution you may already have all that you need. Check and make sure that you do. For example, some Linux distributions come with all of the network configuration files, binaries, libraries, and kernel installed, so there's no reason to get the following files.
NOTE: they may be in directories and files different to those specified in this HOWTO document
If you DO have the network software, skip to the `Configuring the kernel' section. If you DO NOT have the network software follow the following directions.
The current kernel version is found in:
ftp.funet.fi
/pub/OS/Linux/PEOPLE/Linux/v1.1/v1.1.0.tar.gz
This is a gzipped file, so you will need gzip to uncompress it.
To install it, try:
# cd /usr/src
# mv linux linux.old
# gzip -dc v.1.1.0.tar.gz | tar xvf -
You'll want at least version 4.4.2 of libc, as there were problems with earlier version that affected subnet masks.
The current libraries (libc-4.5.21) can be found in:
sunsite.unc.edu
/pub/Linux/GCC/
You will need at least the following files:
You MUST read release.libc-4.5.21 before you install the
libraries. Please note the single line in the release document regarding
deleting the older version of /usr/lib/libgcc.*
or else your
compiles will not link properly. Please note that to use release 4.5.21
you will also need at least GCC version 2.5.7, and Linux kernel 1.0 or later.
You will the utility suite that provides tools to configure your network support. The current NET-2 utility suite is available from:
sunacm.swan.ac.uk
/pub/misc/Linux/Networking/Programs/System/net032/net-0.32b.tar.gz
If you are using NET-3, you will need:
/pub/misc/Linux/Networking/Programs/System/net032/net-0.32d.tar.gz
instead. These packages include the network configuration programs such as ifconfig, route, netstat etc.
You will want a number of network application programs. These are programs like telnet, ftp, finger and their daemons at least. The tcp/ip application binaries and setup files are found in:
tsx-11.mit.edu
/pub/linux/packages/net/net-2/binaries/net-std.tar.z
/pub/linux/packages/net/net-2/binaries/net-ext.tar.z
NOTE: The net-base.tar.z
package is now obselete and should not
be used. It contains the original version of the network configuration
utilities which will not work with the newer kernel releases. It does though
contain a number of sample configuration files which will be useful for you
to look at, so you might get it and untar it in a safe place (under
/tmp
perhaps) so that you can have a look at them.
You can unpack each of the packages above with the command:
# cd /
# gzip -dc filename.tar.z | tar xvvofp -
Please note that these are quite old versions of the network applications.
These packages do though give you a good idea of where each of the programs
go. In general you will find that the client programs will go in
/usr/bin
and the daemon programs (server) will go in
/usr/etc
. There are new version of the network applications
available in both biary and source form, from:
sunacm.swan.ac.uk
/pub/misc/Linux/Networking/Programs/BSD/*
You will need to copy these into the same places, with the same permissions, as those you are replacing. A packaged release of the newer applications will be released soon.
If you want o add some non-standard, or developmental code, such as AX.25 support, or PPP support, you will need to obtain the appropriate support software for those packages. Please check the relevant sections for those packages in this document for more detail.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter