From: mato@Viktoria (Martin Lucina) Subject: 0.99 pl10 & net2 installation Date: Sun, 27 Jun 1993 13:02:50 GMT
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 the D-Link pocket adapter
- el1 for the 3com Etherlink I (3c501 I think)
- sl[x] for SLIP channel No. [x]
- plip[x] for PLIP channel No. [x]
(I'll document the last two specifically when I get to It...)
3. Edit /usr/etc/inetd.conf & modify it to your needs. (If you don't need
strict logging of connections with tcpd, change each entry to not to refer to it.
[Example]
OLD:telnet stream tcp nowait root /usr/etc/tcpd in.telnetd
NEW:telnet stream tcp nowait root /usr/etc/in.telnetd telnetd
4. Rename /etc/inet, /usr/etc/inet to /etc/inet.old & /usr/etc/inet.old respectivley.
(this is so that when we boot any old net programs will show themselves)
5. Edit (or create) /etc/host.conf with the following line in it:
order hosts bind
This is so that when a program want's a host name it will search the /etc/hosts
file first & then ask the BIND server. If you dont have a local Name server
then leave out the word bind in the above example line.
6. [Name Server users only] Edit (or create) /etc/resolv.conf with something like
the following in it:
domain [your domain name]
nameserver [1st nameserver - IP address, NOT hostname]
nameserver [2nd nameserver - optional]
nameserver [3rd nameserver - optional]
7. Do a sync, shutdown & reboot. Hopefully the system should come up with no
problems... :-)
8. Send any comments, questions or proposals to me at the e-mail address
lucina@alpha.dcs.mff.uniba.cs
If you read this in october, the address will be
lucina@alpha.dcs.fmph.uniba.sk
(I think so)
Martin Lucina