blob: 77cd748136ccba30447a9e84d7328b5c65c294fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
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).
***NOTE***: this package does not support Solaris 2.6 at present;
apparently the kernel interface to network interfaces has changed, and
this package has not yet been adapted correspondingly. Stay tuned.
Installation.
*************
1. Run the configure script and make the user-level programs and the
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. 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
kernel module. This will prevent the remote machine from using the
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
Under Solaris 2.6, the value 2 is invalid; use 1 instead. See the man
page for ip(7p) for details.
|