This section describes how to configure PPP on the SolarisTM system to work with a ChorusOS 4.0 system.
The following procedures concern hosts running Solaris 2.6 and 7.
See also the TCP/IP and Data Communications Administration Guide in the Solaris 7 System Administrator Collection for details about setting up PPP on hosts running the Solaris operating environment.
You must be root to install and configure PPP. If you either do not know the root password for the workstation or do not feel comfortable with the tasks required, ask your system administrator to perform the tasks below.
Before configuring PPP, check that the following packages are installed on the host workstation:
SUNWbnuu
SUNWbnur
SUNWpppk
SUNWapppu
SUNWapppr.
host% pkginfo | egrep '.*(bnu|ppp).*' system SUNWapppr PPP/IP Asynchronous PPP daemon configuration files system SUNWapppu PPP/IP Asynchronous PPP daemon and PPP login service system SUNWbnur Networking UUCP Utilities, (Root) system SUNWbnuu Networking UUCP Utilities, (Usr) system SUNWpppk PPP/IP and IPdialup Device Drivers |
If the packages are not installed, you must install them in the order specified above before you continue.
This section describes all files which must be created or modified to configure PPP on a Solaris host.
Make sure /etc/hosts or the NIS configuration files include PPP addresses for both the host and target systems:
# If you are using /etc/hosts, then include the following lines. # Host PPP address Host PPP hostname host_PPP host_name # Target PPP address Target PPP hostname target_PPP target_name
Add the system name to /etc/uucp/Systems:
# Name Connect Hour Device to Use Connection speed target Any Direct 9600
Add the device to /etc/uucp/Devices:
# Name Physical device Unused Connection speed Direct Dialer # (no modem) Direct cua/a - 9600 direct
Make sure that the dialer called direct exists in /etc/uucp/Dialers:
host% grep direct /etc/uucp/Dialers direct |
Update the PPP configuration file /etc/asppp.cf:
#ident "@(#)asppp.cf 1.10 93/07/07 SMI" # # Copyright (c) 1993 by Sun Microsystems, Inc. # # Sample asynchronous PPP /etc/asppp.cf file # # #ifconfig ipdptp0 plumb mojave gobi up # #path # inactivity_timeout 120 # Approx. 2 minutes # interface ipdptp0 # peer_system_name Pgobi # The name we log in with (also in # # /etc/uucp/Systems ifconfig ipdptp0 plumb host_PPP target_PPP up path interface ipdptp0 peer_system_name .zsmon ipcp_async_map 0xa000 inactivity_timeout 1000000
This section describes how to modify the terminal configuration to allow a PPP connection without login.
Start admintool.
Select Serial Ports from the Browse menu.
Double-click the port to use for PPP.
Click the Expert radio button in the Detail field.
Use the hints in the table below to set options for the port.
Field |
State/Value |
---|---|
Service Enable |
Selected |
Baud Rate |
9600 |
Initialize Only |
Not selected |
Bidirectional |
Selected |
Software Carrier |
Selected |
Port Monitor Tag |
zsmon |
Connect on Carrier |
Selected |
Service |
/usr/sbin/aspppls |
Streams Modules |
ldterm,ttcompat |
Timeout (secs) |
Never |
Once properly configured, PPP starts automatically at boot time.
Become superuser:
host% su Password: root password |
Start PPP:
# /etc/init.d/assppp start |
Make sure PPP started successfully:
# netstat -i Name Mtu Net Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue lo0 8232 loopback localhost 1386 0 1386 0 0 0 hme0 1500 host_name host_name 93612 1714 73065 0 860 0 ipdptp0 8232 target_PPP host_PPP 0 0 0 0 0 0 # tail /etc/log/asppp.log 12:31:34 Link manager (2099) started 11/27/99 12:31:34 parse_config_file: Successful configuration 12:31:40 000531 ipdptp0 SEND PPP ASYNC 29 Octets LCP Config-Req ID=6b LEN=24 MRU=1500 ACCM=000a0000 MAG#=cdf1e77f ProtFCOMP AddrCCOMP |
If you want the PPP target to be visible from the whole network, you must enable routing on your workstation.