System Administration Guide: Network Services

ProcedureHow to Define Communications Over the Serial Line

  1. Become superuser on the dial-out machine or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

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


    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/

    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

    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.