Platform Notes: SPARCstation Voyager Software Guide

Configuring the UUCP Dialing Facility

Solaris PPP uses the UUCP dialing facility to create a connection with the remote dial-in PPP server. Parameters specific to the modem and the remote server are defined in the UUCP configuration files, /etc/uucp/System, /etc/uucp/Devices, and /etc/uucp/Dialers. You will have to add entries to these files to describe the Sun PCMCIA modem, to specify the phone number for the PPP server, and to specify the login name and password that your SPARCstation Voyager will use to connect to the server.

It is not possible to provide a detailed procedure for editing the UUCP configuration files that will work in all cases. However, the following procedure is similar to what you need to do if you are using the Sun PCMCIA modem and connecting to a PPP server that is running the Solaris 7 PPP software.

  1. Obtain the following information:

    • The peer system name for the remote PPP server. In the following example we use "PPPserver."

    • The phone number for the PPP server. In the following example, we use "5551212."

    • The login name that you can use. In the following example, we use "voyager."

    • The password associated with the above login name. In the following example, we use "Secret!"

  2. Add a single line similar to the following to the /etc/uucp/Systems file:


    PPPserver Any PCMCIA 38400 5551212 "" P_ZERO "" \r\n\c ogin: voyager ssword: Secret!
    

    Be sure you enter the line as one line.

    Table 6-1 Systems File Elements

    Element 

    Definition 

    PPPserver

    This is the peer system name. It is the same name you assigned to the peer_system_name keyword when you created the /etc/asppp.cf file.

    Any

    The number can be dialed at any time. 

    PCMCIA

    Use the PCMCIA device. 

    38400

    The modem/computer speed. 

    5551212

    The phone number for the PPP server. 

    P_ZERO

    No parity. 

    \r\n\c

    Send a carriage return and line feed character to the remote system. 

    ogin:

    Expect to see a string ending in "ogin:" sent by the remote system.  

    voyager

    The login name you use to log into the remote server. It is sent to the remote server. 

    ssword:

    Expect to receive a string ending in "ssword:". 

    Secret!

    The password associated with the login name. It is sent to the remote system. 

  3. Add the following line to the /etc/uucp/Devices file:


    PCMCIA cua/0 - 38400 sun-pcmcia
    

    The line specifies that the PCMCIA device is plugged into socket 1, runs at 38400 bps between the computer and the modem, and is a Sun PCMCIA modem. If you want to plug the Sun modem into socket 2, change cua/0 to cua/1.

  4. Add the following single line to the /etc/uucp/Dialers file:


    sun-pcmcia =,-, "" \dA\pT&F2\r\c OK\r \EATDT\T\r\c 
    CONNECT\s14400/ARQ STTY=crtscts
    

    Be sure the line is entered as a single line consisted of 82 characters. This line describes the "AT" commands that are sent to the Sun PCMCIA modem to initialize it for PPP operation and to dial the phone number for the remote PPP server.

For a more detailed explanation of the contents of the UUCP configuration files, see Appendix A of SunOS 5.3 Administering TCP/IP and PPP.