JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Managing Serial Networks Using UUCP and PPP in Oracle Solaris 11.1     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Solaris PPP 4.0 (Overview)

2.  Planning for the PPP Link (Tasks)

3.  Setting Up a Dial-up PPP Link (Tasks)

Major Tasks for Setting Up the Dial-up PPP Link (Task Map)

Configuring the Dial-out Machine

Tasks for Configuring the Dial-out Machine (Task Map)

Dial-up PPP Template Files

Configuring Devices on the Dial-out Machine

How to Configure the Modem and Serial Port (Dial-out Machine)

Configuring Communications on the Dial-out Machine

How to Define Communications Over the Serial Line

How to Create the Instructions for Calling a Peer

How to Define the Connection With an Individual Peer

Configuring the Dial-in Server

Tasks for Configuring the Dial-in Server (Task Map)

Configuring Devices on the Dial-in Server

How to Configure the Modem and Serial Port (Dial-in Server)

How to Set the Modem Speed

Setting Up Users of the Dial-in Server

How to Configure Users of the Dial-in Server

Configuring Communications Over the Dial-in Server

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

Calling the Dial-in Server

How to Call the Dial-in Server

4.  Setting Up a Leased-Line PPP Link (Tasks)

5.  Setting Up PPP Authentication (Tasks)

6.  Setting Up a PPPoE Tunnel (Tasks)

7.  Fixing Common PPP Problems (Tasks)

8.  Solaris PPP 4.0 (Reference)

9.  Migrating From Asynchronous Solaris PPP to Solaris PPP 4.0 (Tasks)

10.  UUCP (Overview)

11.  Administering UUCP (Tasks)

12.  UUCP (Reference)

Index

Configuring the Dial-in Server

The tasks in this section are for configuring the dial-in server. The dial-in server is a peer machine that receives the call over the PPP link from the dial-out machine. The tasks show how to configure the dial-in server myserver that was introduced in Figure 2-1.

Tasks for Configuring the Dial-in Server (Task Map)

Table 3-3 Task Map for Setting Up the Dial-in Server

Task
Description
For Instructions
1. Gather preconfiguration information
Gather data that is needed prior to setting up the link, such as peer host names, target phone numbers, and modem speed.
2. Configure the modem and serial port
Set up the modem and serial port.
3. Configure calling peer information
Set up the user environments and PPP options for every dial-out machine that is permitted to call the dial-in server.
4. Configure the serial-line communication
Configure the characteristics of the transmission across the serial line.

Configuring Devices on the Dial-in Server

The following procedure explains how to configure the modem and serial port on the dial-in server.

Before you do the next procedure, you must have completed the following activities on the peer dial-in server:

How to Configure the Modem and Serial Port (Dial-in Server)

  1. Program the modem, as instructed in the modem manufacturer's documentation.

    For other suggestions, refer to How to Configure the Modem and Serial Port (Dial-out Machine).

  2. Attach the modem to the serial port on the dial-in server.
  3. Become an administrator on the dial-in server.

    For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.

  4. Specify modem direction as dial-in only.

How to Set the Modem Speed

The next procedure explains how to set the modem speed for a dial-in server. For suggestions about speeds to use with Sun Microsystems' computers, see Configuring Modem Speed for a Dial-up Link.

  1. Log in to the dial-in server.
  2. Use the tip command to reach the modem.

    Instructions for using tip to set the modem speed are in the tip(1) man page.

  3. Configure the modem for a fixed DTE rate.
  4. Lock the serial port to that rate, using ttymon.

See Also

The following list provides references to related information.

Setting Up Users of the Dial-in Server

Part of the process of setting up a dial-in server involves configuring information about each known remote caller.

Before starting the procedures in this section, you must have done the following:

How to Configure Users of the Dial-in Server

  1. Become an administrator on the dial-in server.

    For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.

  2. Create a new account on the dial-in server for each remote PPP user.

    For instructions about creating a new user, see Setting Up and Managing User Accounts by Using the CLI (Task Map) in Managing User Accounts and User Environments in Oracle Solaris 11.1.

  3. Create for each caller a $HOME/.ppprc file that contains various options that are specific to the user's PPP session.

    For example, you might create the following .ppprc file for pppuser.

    # cat /export/home/pppuser/.ppprc
    noccp

    noccp turns off compression control on the link.

See Also

The following list provides references to related information.

Configuring Communications Over the Dial-in Server

The next task shows how to enable the dial-in server to open communications with any dial-out machine. The options that are defined in the following PPP configuration files determine how communications are established.

For detailed information about these files, refer to Using PPP Options in Files and on the Command Line.

Before you proceed, you should have done the following:

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

  1. Become an administrator on the dial-in server.

    For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: 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.