Platform Notes: SPARCstation Voyager Software Guide

Initiating a Connection to the Remote PPP Server

Before a connection can be established, you must bring up the PPP interface specified in the /etc/asppp.cf file (ipdptp0) and establish a default route to the remote server. The default route allows you to communicate with other hosts on the network connected to the remote PPP server.

  1. Bring up the interface with the ifconfig command.


    %ifconfig ipdptp0 up
    

  2. Establish a default route with the route command:


    %route add default PPPserver 1
    

    In the command, PPPserver should be replaced by the actual name of the remote PPP server you are connecting to. This is the same name that was used as the second address in the ifconfig command added to the /etc/asppp.cf file.

  3. Initiate a connection with the ping command:


    %ping PPPserver 120
    

    Again, PPPserver is an example name and should be replaced with the actual name of your PPP server. The above command specifies a timeout limit of 120 seconds.

    If the ping command succeeds, it will return the result:


    PPPserver is alive

    If the ping command fails, it will return the result:


    no answer from PPPserver

To determine how the connection is working, watch the log file with the command tail -f /var/adm/log/asppp.log.

If the ping command failed, it means that the ipdptp0 interface is not configured properly or is not up, the route table is not configured properly, or that the UUCP files are not configured properly. If, after checking the status of the interface with the ifconfig command and checking the route table with the netstat command, you believe your UUCP files may be configured incorrectly, inspect the /var/adm/log/asppp.log file for clues. You may also find it beneficial to seek the advice of a system administrator familiar with the Solaris 7 PPP system.