]> git.ozlabs.org Git - ppp.git/blob - README.ultrix
__STDC__ may be defined but zero?
[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 /usr/sys/io/netif:
36
37         net/ppp-comp.h
38         net/ppp_defs.h
39         ultrix/bsd-comp.c
40         ultrix/ppp-deflate.c
41         ultrix/if_ppp.c
42         ultrix/if_ppp.h
43         ultrix/if_pppvar.h
44         ultrix/ppp_tty.c
45         ultrix/slcompress.c
46         ultrix/slcompress.h
47         common/zlib.c
48         common/zlib.h
49
50 4. Add a line like this to the configuration file for your kernel:
51
52         pseudo-device ppp       2
53
54 The `2' indicates the number of interfaces desired.  The configuration
55 file should be in /usr/sys/conf/mips.
56
57 5. Rebuild your kernel.  The simplest way to do this is with the
58 `doconfig' command, like this:
59
60         /etc/doconfig -c kernel-name
61
62 where `kernel-name' should be replaced by the name of your kernel
63 configuration file.  Alternatively, run config, cd to the compilation
64 directory, and run make.
65
66 6. Copy the new /vmunix to /.  It would be a good idea to keep a copy
67 of your old /vmunix in / under a different name.
68
69 7. Reboot the system.
70
71 ********
72
73 If you have ppp-2.2 already installed in your kernel, most files will
74 already have been modified as required.  You will need to add some
75 entries to /usr/sys/conf/mips/files.mips.  You can do this with a
76 command like this (as root):
77
78         patch -p -N <ultrix/upgrade
79
80 Alternatively, edit /usr/sys/conf/mips/files.mips according to the
81 differences shown in ultrix/upgrade.
82
83 Then, proceed with steps 3, 5, 6, 7 above (step 4 should have been
84 done already).
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.3 by
117
118         Paul Mackerras
119         Dept. of Computer Science
120         Australian National University
121         paulus@cs.anu.edu.au