X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=README.sol2;h=9248e58f2b53948bf122d4bd395458fc80b9c488;hp=7420ee9710c18e91ea84ca7c1bada4d023f141e1;hb=d2405cd92079b1d9c1b2c86ed1517c2a7fed3ccd;hpb=f62f7eb5962b88ce228f0c4c4294abaf59354614 diff --git a/README.sol2 b/README.sol2 index 7420ee9..9248e58 100644 --- a/README.sol2 +++ b/README.sol2 @@ -1,9 +1,18 @@ -This file describes the installation process for ppp-2.2 on systems +This file describes the installation process for ppp-2.3 on systems running Solaris 2. The Solaris 2 and SVR4 ports share a lot of code but are not identical. The STREAMS kernel modules and driver for Solaris 2 are in the svr4 directory (and use some code from the modules directory). +This version has been tested under Solaris 2.6. + +NOTE: Although the kernel driver and modules have been designed to +operate correctly on SMP systems, they have not been extensively +tested on SMP machines. Some users of SMP Solaris x86 systems have +reported system problems apparently linked to the use of previous +versions of this software. I believe these problems have been fixed. + + Installation. ************* @@ -13,13 +22,19 @@ kernel modules. ./configure make +If you wish to use gcc (or another compiler) instead of Sun's cc, edit +the svr4/Makedefs file and uncomment the definition of CC. You can +also change the options passed to the C compiler by editing the COPTS +definition. + 2. Install the programs and kernel modules: as root, do make install This installs pppd, chat and pppstats in /usr/local/bin and the kernel modules in /kernel/drv and /kernel/strmod, and creates the /etc/ppp -directory and populates it with default configuration files. +directory and populates it with default configuration files. You can +change the installation directories by editing svr4/Makedefs. If your system normally has only one network interface, the default Solaris 2 system startup scripts will disable IP forwarding in the IP @@ -28,5 +43,6 @@ local machine as a gateway to access other hosts. The solution is to create an /etc/ppp/ip-up script containing something like this: #!/bin/sh - /usr/sbin/ndd -set /dev/ip ip_forwarding 2 + /usr/sbin/ndd -set /dev/ip ip_forwarding 1 +See the man page for ip(7p) for details.