X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=README.sunos4;h=b48aec377d89a7b0bd35b8bb3cc03036c946f21f;hp=e6d4b203acf4e1ce62fc695d183253056b3a44b7;hb=5ba9d88b943e9d5a3ababdadf1d2e246581dfdc6;hpb=b22e7afb67bcf842bf8c9194f4447b2e57978c3d diff --git a/README.sunos4 b/README.sunos4 index e6d4b20..b48aec3 100644 --- a/README.sunos4 +++ b/README.sunos4 @@ -1,10 +1,10 @@ -This file describes the installation process for ppp-2.2 on systems -running SunOS 4.x (or the equivalent). +This file describes the installation process for ppp-2.3 on systems +running SunOS 4.1.x (or the equivalent). The STREAMS modules in the sunos4 directory provide kernel support for -PPP on SunOS 4.x systems. They have been tested under SunOS 4.1.3 on -a SparcStation 1+. They should work under earlier SunOS 4.x systems, -but no guarantees are given. +PPP on SunOS 4.1.x systems. They have been tested under SunOS 4.1.3 +on a SparcStation 1+. They should work under earlier SunOS 4.1.x +systems, but no guarantees are given. These modules are designed to be loaded into the running kernel using the `modload' command. @@ -19,15 +19,21 @@ kernel modules. ./configure make -2. Install the pppd, pppstats chat programs and the loadable module -object files (you need to be root to do this): +If you wish to compile using gcc instead of cc, edit the +sunos4/Makedefs file and uncomment the line saying "CC = gcc". You +can also change the C compiler options by editing the COPTS +definition. + +2. Install the pppd, pppstats and chat programs and the loadable +module object files (you need to be root to do this): make install By default, the programs and the loadable module object files go into /usr/local/etc. Doing `make install' also copies a script called ppp.INSTALL into /dev, and makes ppp.LOAD, ppp.UNLOAD, ppp.MKDEV and -ppp.RMDEV links to it. +ppp.RMDEV links to it. You can change the installation directories by +editing sunos4/Makedefs. 3. Load the ppp modules (you need to be root for this too): @@ -45,3 +51,12 @@ and then create a /dev/ppp.AUTOLOAD file with the command touch /dev/ppp.AUTOLOAD +It is not advisable to unload the "if_ppp" module, because it creates +network interface units, and SunOS does not provide any way to destroy +network interfaces once created. If you do unload it, the system will +probably crash at some later stage. + +If you have previously had ppp-2.2 installed, you may have statements +in your /etc/rc.local to load the ppp module. You will need to remove +those. Having done this, you will need to reboot to remove the old +ppp module and load the new modules.