ChorusOS 4.0 Network Administration Guide

PPP on a Solaris Host

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.

Note -

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.

Checking for Required Packages

Before configuring PPP, check that the following packages are installed on the host workstation:

  1. SUNWbnuu

  2. SUNWbnur

  3. SUNWpppk

  4. SUNWapppu

  5. 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.

Configuration Files

This section describes all files which must be created or modified to configure PPP on a Solaris host.

Configuring the Network
  1. 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

Configuring UUCP
  1. Add the system name to /etc/uucp/Systems:

    # Name          Connect Hour    Device to Use   Connection speed
    target          Any             Direct          9600

  2. Add the device to /etc/uucp/Devices:

    # Name     Physical device      Unused     Connection speed    Direct Dialer
    #                                                              (no modem)
    Direct     cua/a                -          9600                direct

  3. Make sure that the dialer called direct exists in /etc/uucp/Dialers:

    host% grep direct /etc/uucp/Dialers

Configuring PPP
  1. Update the PPP configuration file /etc/

    #ident  "@(#)   1.10    93/07/07 SMI"
    # Copyright (c) 1993 by Sun Microsystems, Inc.
    # Sample asynchronous PPP /etc/ file
    #ifconfig ipdptp0 plumb mojave gobi up
    #       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
           interface ipdptp0
           peer_system_name .zsmon
           ipcp_async_map 0xa000
           inactivity_timeout 1000000

Terminal Configuration

This section describes how to modify the terminal configuration to allow a PPP connection without login.

Configuring a Terminal
  1. Start admintool.

  2. Select Serial Ports from the Browse menu.

  3. Double-click the port to use for PPP.

  4. Click the Expert radio button in the Detail field.

  5. Use the hints in the table below to set options for the port.



    Service Enable 


    Baud Rate 


    Initialize Only 

    Not selected 



    Software Carrier 


    Port Monitor Tag 


    Connect on Carrier 




    Streams Modules 


    Timeout (secs) 


Starting and Stopping PPP

Note -

Once properly configured, PPP starts automatically at boot time.

Starting PPP on the Host
  1. Become superuser:

    host% su
    Password: root password

  2. Start PPP:

    # /etc/init.d/assppp start

  3. 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

Stopping PPP on the Host
  1. Become superuser:

    host% su
    Password: root password

  2. Stop PPP:

    # /etc/init.d/assppp stop

Making the PPP Target Visible to the Entire Network

If you want the PPP target to be visible from the whole network, you must enable routing on your workstation.

Enabling Routing
  1. Enable routing:

    # ndd -set /dev/ip ip_forwarding 1

  2. Use the proxy-arp command to declare the PPP target as having the same Ethernet address as the workstation:

    # ypcat ethers | grep host
    Ethernet_address host
    # arp -s target_PPP Ethernet_address pub