Managing Serial Networks Using UUCP and PPP in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Define Communications Over the Serial Line

  1. Become an administrator on the dial-out machine.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Create a file that is called /etc/ppp/options with the following entry:
    lock

    The /etc/ppp/options file is used for defining global parameters that apply to all communications by the local machine. The lock option enables UUCP-style locking of the form /var/spool/locks/LK.xxx.yyy.zzz.


    Note - If the dial-out machine does not have an /etc/ppp/options file, only the superuser can run the pppd command. However, the /etc/ppp/options can be empty.

    For a complete description of /etc/ppp/options, refer to /etc/ppp/options Configuration File.

  3. (Optional)Create a file that is called /etc/ppp/options.ttyname for defining how communications should be initiated from a specific serial port.

    The next example shows an /etc/ppp/options.ttyname file for the port with the device name /dev/cua/a.

    # cat /etc/ppp/options.cua.a
    crtscts

    The PPP option crtscts tells the pppd daemon to turn on hardware flow control for serial port a.

    For more information about the /etc/ppp/options.ttyname file, go to /etc/ppp/options.ttyname Configuration File.

  4. Set the modem speed, as described in How to Set the Modem Speed.