Commit | Line | Data |
---|---|---|
1182a45a KS |
1 | Installation Instructions |
2 | ||
3 | 1. Install the kernel part of this distribution. A reboot is not | |
4 | required. | |
5 | ||
6 | ||
7 | ||
8 | 2. Examine the various makefiles in this directory and subdirectories | |
9 | and if all appears to be well, type "make install". | |
10 | ||
11 | ||
12 | ||
13 | 3. Edit /etc/rc.local; You will need to add the following lines: | |
14 | ||
15 | if [ -f /etc/x29d ]; then | |
16 | /etc/x29d -r -c 1980 "/bin/login login -f" >/dev/console | |
17 | echo -n ' x29d' >/dev/console | |
18 | fi | |
19 | if [ -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 | |
24 | fi | |
25 | ||
26 | /etc/x29d is the call-in server and /etc/nimd is used for making out-calls | |
27 | to other sites. Removing the "-r" flag to x29d will cause the kernel X.25 | |
28 | software to clear incoming collect (ie. reverse charged) X.29 calls. | |
29 | The exact number of nim daemons started, pseudo-tty devices used, and | |
30 | parameter support are installation dependent. This example starts | |
31 | three daemons that support the 1980 CCITT ITI parameter set. | |
32 | ||
33 | ||
34 | ||
35 | 4. 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 | ||
41 | 5. If you run 'tip' then add these lines to /etc/remote: | |
42 | ||
43 | nimd|pad|NIM Daemon:\ | |
44 | :hw:dv=/dev/ttyq0,/dev/ttyq1,/dev/ttyq2: | |
45 | ||
46 | Make sure that the 'dv' entry lists the slave devices corresponding to | |
47 | the master pseudo-tty devices that the nim daemons are connected to. | |
48 | ||
49 | Additional lines like the following can be added if you have the version | |
50 | of tip locally modified at UBC and wish to simplify connection procedures | |
51 | to other remote hosts: | |
52 | ||
53 | datapacinfo|Datapac help:\ | |
54 | :cm=NIM p\s92100086:tc=nimd: | |
55 | ubcg-mts|ubc-mtsg|mts-g|U of British Columbia MTS-g:\ | |
56 | :cm=NIM call\subcg-mts:\ | |
57 | :tc=nimd: | |
58 | ||
59 | ||
60 | ||
61 | 6. 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 | # | |
74 | 68100124 camosun # Camosun College, Victoria BC | |
75 | p,92100086 datapacinfo # Datapac help | |
76 | r,67200040 ubcg-mts # UBC MTS system 'G' | |
77 | # | |
78 | # US CCITT hosts | |
79 | # | |
80 | s,1311060700067 cornell # Cornell University, Ithaca NY | |
81 | s,1311061700139 mit-multics # Mass Institute of Tech | |
82 | ||
83 | ||
84 | ||
85 | 7. 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. |