X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=README.sol2;h=f7239b9dec30b240cb97dec6e52018c877ac1316;hp=bc24f1fe5cebbb149a2f54336f3208957bc58954;hb=ff6c281ad0b334c908beda04e576670f40ea3582;hpb=4d5401a1de510cdbb89cf10bc5956774c62683be diff --git a/README.sol2 b/README.sol2 index bc24f1f..f7239b9 100644 --- a/README.sol2 +++ b/README.sol2 @@ -4,6 +4,9 @@ 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.5.1 and Solaris 2.6. + + Installation. ************* @@ -13,13 +16,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 @@ -30,3 +39,5 @@ create an /etc/ppp/ip-up script containing something like this: #!/bin/sh /usr/sbin/ndd -set /dev/ip ip_forwarding 2 +Under Solaris 2.6, the value 2 is invalid; use 1 instead. See the man +page for ip(7p) for details.