This section briefly describes how to configure PPP on the Solaris operating environment system to work with a ChorusOS system. Enough information is provided for you to set up a PPP connection, but for full details about setting up and using PPP on hosts running the Solaris operating environment, see the TCP/IP and Data Communications Administration Guide in the Solaris 7 System Administrator Collection and the System Administration Guide, Volume 3 in the Solaris 8 System Administrator Collection.
You must be root to install and configure PPP.
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.
If you are using aliases for your IP addresses, it is important to ensure that the Solaris operating environment can resolve them. In /etc/hosts, include the following lines:
# Host PPP address Host PPP hostname host_PPP host_name # Target PPP address Target PPP hostname target_PPP target_name
Make sure /etc/hosts or the NIS configuration file, nsswitch.conf(4) includes PPP addresses for both the host and target systems. The nsswitch.conf file explains how to configure /etc/hosts.
You must provide the PPP Link Manager with information regarding each remote host with which the local host will communicate. This information is contained in the PPP configuration file asppp.cf. See also aspppls(1M).
Configure asppp.cf as follows:
Run ifconfig, specify the PPP interface used, select the plumb option to enable IP to recognize the interface, define the local and target hosts and set the interface to up :
ifconfig ipdptp0 plumb host_PPP target_PPP up
See "ifconfig" for more information about the ifconfig command.
Configure the path by adding the interface number, the name of the target host, the ipcp_async_map and the timeout interval:
path interface ipdptp0 peer_system_name .zsmon ipcp_async_map 0xa000 inactivity_timeout 1000000
For further information regarding configuring PPP and the asppp.cf file, see "Configuring PPP" in TCP/IP and Data Communications Administration Guide from the Solaris 7 System Administrator Collection and "Overview of PPP" in System Administration Guide, Volume 3 from the Solaris 8 System Administrator Collection. There is also useful information in aspppd(1M)
This section describes how to modify the terminal configuration to allow a PPP connection without login.
Become superuser:
host% su Password: root password |
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/etc/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:
# /init.d/asppp 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.