System Administration Guide: Network Services

ProcedureHow to Define Communications Over the Serial Line (Dial-in Server)

  1. Become superuser on the dial-in server 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 the /etc/ppp/options file with the following entry.


    nodefaultroute
    

    nodefaultroute indicates that no pppd session on the local system can establish a default route without root privileges.


    Note –

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


  3. Create the file /etc/options.ttyname to define how calls that are received over serial port ttyname should be handled.

    The following /etc/options.ttya file defines how the dial-in server's serial port /dev/ttya should handle incoming calls.


    :10.0.0.80
    xonxoff
    
    :10.0.0.80

    Assigns the IP address 10.0.0.80 to all peers that are calling in over serial port ttya

    xonxoff

    Allows the serial line to handle communications from modems with software flow control enabled

See Also

If you have followed all the procedures in this chapter, you have completed the configuration of the dial-up link. The following list provides references to related information.