1This file describes the installation process for ppp-2.3 on systems
2running SunOS 4.1.x (or the equivalent).
3
4The STREAMS modules in the sunos4 directory provide kernel support for
5PPP on SunOS 4.1.x systems.  They have been tested under SunOS 4.1.3
6on a SparcStation 1+.  They should work under earlier SunOS 4.1.x
7systems, but no guarantees are given.
8
9These modules are designed to be loaded into the running kernel using
10the `modload' command.
11
12
13Installation.
14*************
15
161. Run the configure script and make the user-level programs and the
17kernel modules.
18
19	./configure
20	make
21
22If you wish to compile using gcc instead of cc, edit the
23sunos4/Makedefs file and uncomment the line saying "CC = gcc".  You
24can also change the C compiler options by editing the COPTS
25definition.
26
272. Install the pppd, pppstats and chat programs and the loadable
28module object files (you need to be root to do this):
29
30	make install
31
32By default, the programs and the loadable module object files go into
33/usr/local/etc.  Doing `make install' also copies a script called
34ppp.INSTALL into /dev, and makes ppp.LOAD, ppp.UNLOAD, ppp.MKDEV and
35ppp.RMDEV links to it.  You can change the installation directories by
36editing sunos4/Makedefs.
37
383. Load the ppp modules (you need to be root for this too):
39
40	/dev/ppp.LOAD
41
42You will want to do this in your /etc/rc.local file once you have
43everything installed.  I suggest you put something like the following
44in /etc/rc.local (or /etc/loadable, if you have one):
45
46	if [ -f /dev/ppp.AUTOLOAD ]; then
47		/dev/ppp.LOAD
48	fi
49
50and then create a /dev/ppp.AUTOLOAD file with the command
51
52	touch /dev/ppp.AUTOLOAD
53
54It is not advisable to unload the "if_ppp" module, because it creates
55network interface units, and SunOS does not provide any way to destroy
56network interfaces once created.  If you do unload it, the system will
57probably crash at some later stage.
58
59If you have previously had ppp-2.2 installed, you may have statements
60in your /etc/rc.local to load the ppp module.  You will need to remove
61those.  Having done this, you will need to reboot to remove the old
62ppp module and load the new modules.
63