1Installation Instructions
2
31.  Install the kernel part of this distribution.  A reboot is not
4    required.
5
6
7
82.  Examine the various makefiles in this directory and subdirectories
9    and if all appears to be well, type "make install".
10
11
12
133.  Edit /etc/rc.local; You will need to add the following lines:
14
15if [ -f /etc/x29d ]; then
16	/etc/x29d -r -c 1980 "/bin/login login -f"		>/dev/console
17	echo -n ' x29d'						>/dev/console
18fi
19if [ -f /etc/nimd ]; then
20	/etc/nimd -c 1980 /dev/ptyq0				>/dev/console
21	/etc/nimd -c 1980 /dev/ptyq1				>/dev/console
22	/etc/nimd -c 1980 /dev/ptyq2				>/dev/console
23	echo -n ' nimd'						>/dev/console
24fi
25
26/etc/x29d is the call-in server and /etc/nimd is used for making out-calls
27to other sites.  Removing the "-r" flag to x29d will cause the kernel X.25
28software to clear incoming collect (ie. reverse charged) X.29 calls.
29The exact number of nim daemons started, pseudo-tty devices used, and
30parameter support are installation dependent.  This example starts
31three daemons that support the 1980 CCITT ITI parameter set.
32
33
34
354. Optional: compile and install dist/bin/login.c (see makefile in that
36   directory).  This modified login program more gracefully handles
37   incoming X.29 calls.
38
39
40
415. If you run 'tip' then add these lines to /etc/remote:
42
43nimd|pad|NIM Daemon:\
44	:hw:dv=/dev/ttyq0,/dev/ttyq1,/dev/ttyq2:
45
46Make sure that the 'dv' entry lists the slave devices corresponding to
47the master pseudo-tty devices that the nim daemons are connected to.
48
49Additional lines like the following can be added if you have the version
50of tip locally modified at UBC and wish to simplify connection procedures
51to other remote hosts:
52
53datapacinfo|Datapac help:\
54	:cm=NIM p\s92100086:tc=nimd:
55ubcg-mts|ubc-mtsg|mts-g|U of British Columbia MTS-g:\
56	:cm=NIM call\subcg-mts:\
57	:tc=nimd:
58
59
60
616. Edit /etc/x25hosts.  This step is optional.  The X.29 callin server uses
62   the information in this file to map an X.121 address to host name and
63   the nimd needs the same information to do the opposite with the "call"
64   command (see above example with 'ubcg-mts').  Add to the hosts file an
65   entry for each remote host that the X.121 address is known.  The flags
66   before the X.121 address must be either an 'r' (reverse charge), or 's'
67   (hi priority), or a 'p' (also hi priority).  The "hi priority" flag is
68   specific X.25(1976) DTE's attached to Canada's Datapac network; all other
69   sites can ignore this flag.  Some examples:
70
71#
72# Datapac hosts
73#
7468100124		camosun		# Camosun College, Victoria BC
75p,92100086		datapacinfo	# Datapac help
76r,67200040		ubcg-mts	# UBC MTS system 'G'
77#
78# US CCITT hosts
79#
80s,1311060700067		cornell		# Cornell University, Ithaca NY
81s,1311061700139		mit-multics	# Mass Institute of Tech
82
83
84
857. Reboot with the new system.  The log file (default /usr/spool/log/nimd_log)
86   will contain a record of routine nimd server activity and any serious
87   problems.  This file should be periodically truncated.
88