]> git.ozlabs.org Git - ppp.git/blob - README.ultrix
Putting remaining PPP files under version control
[ppp.git] / README.ultrix
1
2 Installing PPP on an Ultrix system requires rebuilding the kernel and
3 rebooting, in addition to making and installing the pppd and chat
4 programs.  These instructions apply to RISC (MIPS) systems.  This
5 software has been tested under Ultrix 4.4; it should also work under
6 Ultrix 4.2 or 4.3.
7
8
9 Kernel installation procedure.
10 ******************************
11
12 If you have not previously had an earlier version of this package
13 installed in the kernel, follow these steps:
14
15 1. Become root.
16
17 2. Apply the patches in the file ultrix/patches using the command:
18
19         patch -p <ultrix/patches
20
21 This will edit the following files, saving the original versions in a
22 file with `.orig' appended to the name:
23
24         /usr/sys/h/ioctl.h
25         /usr/sys/net/net/if.h
26         /usr/sys/net/net/netisr.h
27         /usr/sys/net/net/conf_net.c
28         /usr/sys/data/pseudo_data.c
29         /usr/sys/data/tty_conf_data.c
30         /usr/sys/conf/mips/files.mips
31
32 Alternatively, edit these files according to the differences shown in
33 ultrix/patches.
34
35 3. Copy the following files to /sys/io/netif:
36
37         net/if_ppp.h
38         net/ppp-comp.h
39         net/ppp_defs.h
40         net/slcompress.h
41         ultrix/bsd-comp.c
42         ultrix/if_ppp.c
43         ultrix/if_pppvar.h
44         ultrix/ppp_tty.c
45         ultrix/slcompress.c
46
47 4. Add a line like this to the configuration file for your kernel:
48
49         pseudo-device ppp       2
50
51 The `2' indicates the number of interfaces desired.  The configuration
52 file should be in /usr/sys/conf/mips.
53
54 5. Rebuild your kernel.  The simplest way to do this is with the
55 `doconfig' command, like this:
56
57         /etc/doconfig -c kernel-name
58
59 where `kernel-name' should be replaced by the name of your kernel
60 configuration file.  Alternatively, run config, cd to the compilation
61 directory, and run make.
62
63 6. Copy the new /vmunix to /.  It would be a good idea to keep a copy
64 of your old /vmunix in / under a different name.
65
66 7. Reboot the system.
67
68
69 If you have ppp-2.1.2 or earlier already installed in your kernel,
70 some files will already have been modified as required.  The files
71 which still need to be modified are:
72
73         /usr/sys/net/net/netisr.h
74         /usr/sys/net/net/conf_net.c
75         /usr/sys/conf/mips/files.mips
76
77 The file ultrix/upgrade is a patch file to modify these files.  The
78 upgrade procedure is much the same as the installation procedure
79 described above, except that you use ultrix/upgrade in step 2 instead
80 of ultrix/patches, and step 4 should already have been done.
81
82 Earlier versions of ppp-2.x replaced if.o with a modified version.
83 This version does not need the modifications, so you can use either
84 the original or the modified version.
85
86
87 Installing pppd and chat.
88 *************************
89
90 1. cd to the ppp-2.2 directory and do:
91
92         ./configure
93         make
94
95 2. Become root, and do:
96
97         make install
98
99
100 Credits.
101 ********
102
103 The original port to Ultrix was done by:
104
105         Per Sundstrom 
106         DEC, Sweden
107         email: sundstrom@stkhlm.enet.dec.com
108
109 and
110
111         Robert Olsson 
112         Swedish University of Agricultural Sciences
113         and also RO Komm. & Konsult
114         email: robert@robur.slu.se
115
116 It was updated to ppp-2.2 by
117
118         Paul Mackerras
119         Dept. of Computer Science
120         Australian National University
121         paulus@cs.anu.edu.au
122
123 (with some assistance from Per Sundstrom).