X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=README.sol2;h=e9457da281f026682e7024e90ece9f6702f0c7ec;hp=bc24f1fe5cebbb149a2f54336f3208957bc58954;hb=e748bc9f53b7d1056eb0ef9c61fd43ddaae1060f;hpb=4d5401a1de510cdbb89cf10bc5956774c62683be diff --git a/README.sol2 b/README.sol2 index bc24f1f..e9457da 100644 --- a/README.sol2 +++ b/README.sol2 @@ -13,13 +13,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 +36,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.