System Administration Guide: Resource Management and Network Services

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

  1. Become superuser on the dial-in server.

  2. Create the /etc/ppp/options file with the following entry.


    nodefaultroute
    

    nodefaultroute indicates that no route is defined for the server.


    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

Where to Go From Here

If you have followed all the procedures in this chapter, you have completed the configuration of the dial-up link.

Task 

For Instructions 

Test modem connectivity by dialing out to another computer 

cu(1C) andtip(1) man pages. These utilities can help you test if your modem is properly configured and can establish a connection with another machine.

Configure more options for the dial-in server 

Configuring the Dial-in Server

Configure more dial-out machines 

Configuring the Dial-out Machine

Have the remote machine call the dial-in server 

Calling the Dial-in Server