]> git.ozlabs.org Git - ppp.git/blob - README.sol2
use Makedefs rather than passing lots of things on make command line
[ppp.git] / README.sol2
1 This file describes the installation process for ppp-2.3 on systems
2 running Solaris 2.  The Solaris 2 and SVR4 ports share a lot of code
3 but are not identical.  The STREAMS kernel modules and driver for
4 Solaris 2 are in the svr4 directory (and use some code from the
5 modules directory).
6
7 ***NOTE***: this package does not support Solaris 2.6 at present;
8 apparently the kernel interface to network interfaces has changed, and
9 this package has not yet been adapted correspondingly.  Stay tuned.
10
11 Installation.
12 *************
13
14 1. Run the configure script and make the user-level programs and the
15 kernel modules.
16
17         ./configure
18         make
19
20 If you wish to use gcc (or another compiler) instead of Sun's cc, edit
21 the svr4/Makedefs file and uncomment the definition of CC.  You can
22 also change the options passed to the C compiler by editing the COPTS
23 definition.
24
25 2. Install the programs and kernel modules: as root, do
26
27         make install
28
29 This installs pppd, chat and pppstats in /usr/local/bin and the kernel
30 modules in /kernel/drv and /kernel/strmod, and creates the /etc/ppp
31 directory and populates it with default configuration files.  You can
32 change the installation directories by editing svr4/Makedefs.
33
34 If your system normally has only one network interface, the default
35 Solaris 2 system startup scripts will disable IP forwarding in the IP
36 kernel module.  This will prevent the remote machine from using the
37 local machine as a gateway to access other hosts.  The solution is to
38 create an /etc/ppp/ip-up script containing something like this:
39
40         #!/bin/sh
41         /usr/sbin/ndd -set /dev/ip ip_forwarding 2
42