]> git.ozlabs.org Git - ppp.git/blob - README.ultrix
updates from Farrell Woods
[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 -N <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
70 If you have ppp-2.1.2 or earlier already installed in your kernel,
71 some files will already have been modified as required.  The files
72 which still need to be modified are:
73
74         /usr/sys/net/net/netisr.h
75         /usr/sys/net/net/conf_net.c
76         /usr/sys/conf/mips/files.mips
77
78 The file ultrix/upgrade is a patch file to modify these files.  The
79 upgrade procedure is much the same as the installation procedure
80 described above, except that you use ultrix/upgrade in step 2 instead
81 of ultrix/patches, and step 4 should already have been done.
82
83 Earlier versions of ppp-2.x replaced if.o with a modified version.
84 This version does not need the modifications, so you can use either
85 the original or the modified version.
86
87
88 Installing pppd and chat.
89 *************************
90
91 1. cd to the ppp-2.2 directory and do:
92
93         ./configure
94         make
95
96 2. Become root, and do:
97
98         make install
99
100
101 Credits.
102 ********
103
104 The original port to Ultrix was done by:
105
106         Per Sundstrom 
107         DEC, Sweden
108         email: sundstrom@stkhlm.enet.dec.com
109
110 and
111
112         Robert Olsson 
113         Swedish University of Agricultural Sciences
114         and also RO Komm. & Konsult
115         email: robert@robur.slu.se
116
117 It was updated to ppp-2.2 by
118
119         Paul Mackerras
120         Dept. of Computer Science
121         Australian National University
122         paulus@cs.anu.edu.au
123
124 (with some assistance from Per Sundstrom).