]> git.ozlabs.org Git - ppp.git/blob - README.ultrix
updated for 2.3
[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 should work under Ultrix 4.2, 4.3 or 4.4 (this release has
6 not been tested yet).
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.2 already installed in your kernel, most files will
71 already have been modified as required.  You will need to add some
72 entries to /usr/sys/conf/mips/files.mips.  You can do this with a
73 command like this (as root):
74
75         patch -p -N <ultrix/upgrade
76
77 Alternatively, edit /usr/sys/conf/mips/files.mips according to the
78 differences shown in ultrix/upgrade.
79
80 Then, proceed with steps 3, 5, 6, 7 above (step 4 should have been
81 done already).
82
83
84 Installing pppd and chat.
85 *************************
86
87 1. cd to the ppp-2.2 directory and do:
88
89         ./configure
90         make
91
92 2. Become root, and do:
93
94         make install
95
96
97 Credits.
98 ********
99
100 The original port to Ultrix was done by:
101
102         Per Sundstrom 
103         DEC, Sweden
104         email: sundstrom@stkhlm.enet.dec.com
105
106 and
107
108         Robert Olsson 
109         Swedish University of Agricultural Sciences
110         and also RO Komm. & Konsult
111         email: robert@robur.slu.se
112
113 It was updated to ppp-2.3 by
114
115         Paul Mackerras
116         Dept. of Computer Science
117         Australian National University
118         paulus@cs.anu.edu.au