Hi, fellow Linuxers!
There have been so many people whining about net-2 & Kernel 0.99 pl10 that I've
decided to write a kind-of "Guide" to installing net-2 & Kernel 0.99 pl10.
NOTE: Don't look for anything about SLIP or PLIP in this article as I'm only just
getting into that.
What you need
=============
a) A Machine Running Linux (0.99 pl10)
b) The following files (Availble by FTP from tsx-11.mit.edu or nic.funet.fi)
net-base.tar.z (24210 bytes)
net-std.tar.z (505805 bytes)
net-ext.tar.z (125014 bytes) [If you want tin & dig]
c) About 4 hours of time to set it up
d) This document :-)
Instructions
============
1. Uncompress the .tar.z files with gzip (You can find it on nic.funet.fi,...)
in the directory / (As root). This will put a whole lot of new files on your
disk, and it will also OVERWRITE your old net-1 binaries - so if you want them,
back them up. When untarring net-base, you will get a whole lot of errors about
files in the /conf/net directory not existing - write the file names down &
create a link from the file of the same name in /etc to that file in some directory
preferably /usr/etc or something like that.
WARNING: You MUST erase any old net files in /etc, /usr/etc (NOT in /etc/inet, /usr/etc/inet)
(Things like /etc/services, ...)
If you don't - don't whine if something goes wrong...
2. Create a new /etc/rc.net file that looks like this:
echo "Configuring interfaces"
/etc/ifconfig lo 127.0.0.1
/etc/ifconfig [ifname - see below] [your ipaddr] broadcast [your brdaddr] netmask [your netmask]
echo "Configuring routes"
/etc/route add 127.0.0.0 lo
/etc/route add [your network] [ifname]
/etc/route add 0.0.0.0 gw [default gateway] (optional)
echo "inetd"
/usr/etc/inetd
echo "named" (optional)
/usr/etc/named (optional)
.. (start the other daemons here - rpc, nfsd , ...)
[ifname] is either
- eth0 for one of the following cards: 3c503 WD80[0/1]3 NE2000 HPLAN
- dl0 for...