Solstice PPP 3.0.1 Administration Guide

Configuring Asynchronous Links

To configure an asynchronous link you must define one or more asynchronous devices (modems), the IP interfaces that will be associated with them, and any remote hosts to which you will be able to initiate connections.

Configuring Asynchronous Devices

  1. Specify the type of modem connected to your machine.

    The script displays a list of the modems described in the modem database file /etc/opt/SUNWconn/ppp/modems. You can add other modem descriptions to this file.


    Select one modem from your database
    There are 11 modems available:
    	 [0]	- Null Modem
    	 [1]	- BocaModem V.34 DataFax
    	 [2]	- AT&T DataPort Express 
    	 [3]	- Standard hayes
    	 [4]	- Cardinal V.34/V.FC 28.8 data/fax
    	 [5]	- SupraFaxModem 288
    	 [6]	- Hayes Accura 144B
    	 [7]	- Hayes Accura 288V.FC
    	 [8]	- Practical 14400 V32bis
    	 [9]	- USRobotics Sporter 14400
    	 [10]	- USRobotics Sporter 288
    
    Modem type (+/- to scroll the list): 1
    
  2. Specify the Unix device for the port to which the modem is connected.


    List of unix devices available: [ ttya ttyb ]
    Unix device for serial interface [ttya]: 
  3. Specify the line speed for the connection between the modem and the machine.

    For optimum performance, the line speed should be as high as possible. The default value should be used in most cases.


    Line speed [38400]: 
  4. Specify the type of calls that this modem will be used for.

    You can use the modem to initiate calls to remote hosts (dial only), to accept calls from remote hosts (answer only), or to both initiate and accept calls (both).


    What type of calls will this modem be used for:
    	 [1] - Dial only
    	 [2] - Answer only
    	 [3] - Both
    	Choice (default 1): 3
  5. Confirm the configuration of your modem.

    The script displays the choices you selected. Type y to add this device to the configuration file.


    dialup_device pppdev0
    		unix_devicettya
    		line_speed38400
    		modemBocaModem V.34 DataFax
    		call_setupboth
    
    Ok to add this entry [y]? y
  6. Repeat the previous steps until you have configured all the asynchronous devices attached to your machine.

Configuring Modem Pools (optional)

If you define two or more asynchronous devices, you can configure a modem pool. The link manager will choose a modem from the pool to call the remote host.

  1. Indicate if you want to configure a modem pool.


    Do you want to set up modem pools? [n] y
    
  2. Specify the devices included in the modem pool.

    The script displays a list of the devices you defined earlier. Enter a list of devices separated by commas or spaces.


    Choose between:
    
    	  pppdev0       pppdev1
    
    Enter a comma separated list to define the pool:
    	  pppdev0, pppdev1
    
  3. Confirm the configuration of your modem pool.

    The script displays the choices you selected. Type y to add this device to the configuration file.


    pool_device pool0
    		pppdev0    pppdev1
    
    Confirm to add this entry [y]: y

Configuring Remote Hosts for Dialing


Note -

If you configured your modems to accept calls initiated by remote hosts only, you do not need to enter any remote host information.


  1. Enter the name of the remote host.

    This is the name that will be used to identify the remote host for outgoing calls. You can choose any text string as the name of a remote host.


     Name of the remote host: odyssey
    
  2. Enter the telephone number that will be used to initiate calls to this remote host.


    Phone number for this host: 1234567890
  3. Enter the name of file that contains the CHAT (or connect) script used to initiate calls to this remote host.

    The CHAT script defines the dialog used to login the remote host, including the login id and the login password sent by the local host. This dialog is dependent on the operating system running on the remote host.


    Filename of the chat script: odyssey.chat
    

    If the file you specify does not exist, the script can create a template file for making Unix connections in the directory /etc/opt/SUNWconn/ppp/script. You may need to edit this template if you are connecting to a remote host running another operating system.


    The file you specified does not exist. This script can create
    a template file, with default parameters for connecting
    to Unix systems. Do you want to do this now? [y] y
    

    Enter the login id that your machine will send to the remote host to initiate a call. There must be a corresponding user account created on the remote host. The login id must be eight characters or less.


    Login id sent to odyssey (up to 8 characters): ppp0
    

    Enter the password that your machine will send with the login id. Type it again to confirm. The password you type is not displayed on the screen.


    Password:
    Re-enter Password: 
  4. Indicate if you want to use a specific modem for making calls to this remote host.

    Type n if you have only one modem, or if you want to be able to use any modem to call this remote host. If you type y in response to this question, the script will list the modems and modem pools you configured earlier. Enter the name of the modem or modem pool you want to use to call this remote host.


    Do you want to set a specific pool or modem for this host [n]:  
  5. Confirm the configuration of your remote host.

    The script displays the choices you selected. Type y to add this host to the configuration file.


    remote_host	 epic
    		phone_number1234567890
    		chat_scriptodyssey.chat
    
    Ok to add this entry [y]? y
    
  6. Repeat the previous steps until you have defined all the remote hosts to which your machine will initiate calls.

Configuring IP Interfaces to Answer Calls


Note -

If you configured your modems to initiate outgoing calls only (dial only), you cannot configure IP interfaces to answer calls.


  1. Indicate that you want to set up an IP interface to accept incoming calls.

    By default, IP interfaces are assigned names of the form ipdptpn.


    IP information for ipdptp1
    
    Do you want to use this interface to accept calls
    initiated by a remote host [y]? y
    
  2. Enter the local IP address for this interface.

    Enter a hostname that appears in the file /etc/hosts on your machine, or enter an IP address using dot notation. Press Return to accept the default hostname.


    Local IP address information
    		Enter an IP host that is listed in your hosts map
    		or an IP address with internet dot notation
    
    		Local IP address [papyrus]: 129.xxx.xxx.11
    
  3. Enter the remote IP address for this interface.

    Enter a hostname that appears in the file /etc/hosts on your machine, or enter an IP address using dot notation.


    Remote IP address information
    		Enter an IP host that is listed in your hosts map
    		or an IP address with internet notation
    
    		Remote IP address: odyssey
    
  4. Enter the IP netmask for this interface.


    IP netmask for this interface [255.255.255.0]:
  5. Enter the Maximum Transmission Unit (MTU).

    By default, the MTU is set to 1500 bytes, which is the optimum value for Ethernet connections, and is sufficient in most cases. Enter a new value for the MTU (between 60 and 8232), or Press Return to accept the default.


    IP Maximum Transmission Unit (MTU) [1500]: 
  6. Enter the login id that you expect to receive from the remote host associated with this interface.

    You must create a user account on your machine that corresponds to this login id. The login id must be eight characters or less.


    To accept calls using this interface, you must specify the login
    id you expect to receive from the remote host. You must also create
    a user account that associates this login id with a valid password.
    Login id expected from remote host: od-login
    

Configuring IP Interfaces to Dial Calls


Note -

If you configured your modems to accept incoming calls only (answer only), you cannot configure IP interfaces to dial calls.


  1. Indicate that you want to set up an IP interface to initiate calls to remote hosts.


    Do you want to use this interface to initiate
    calls to a remote host [y]? y
    
  2. Enter the name of the remote host you want to be able to call.

    The script displays a list of the remote hosts you defined earlier. Enter the name of one of these hosts.


    Remote host for this interface: odyssey
    
  3. Specify the timeout for calls to this remote host.

    By default, the connection will timeout after 120 seconds of inactivity.


    inactivity_timeout	[120]: 60
    

Enabling Dynamic IP Address Allocation


Note -

If you configured your modems to initiate outgoing calls only (dial only), you are given an opportunity to enable dynamic IP address allocation.


  1. Indicate that you want to use dynamic IP address allocation.


    IP information for ipdptp0
    Do you want to use dynamic IP allocation [y]? y
    
  2. Enter the IP netmask for this interface.


    IP netmask for this interface [255.255.255.0]:
  3. Enter the name of the remote host you want to be able to call.

    The script displays a list of the remote hosts you defined earlier. Enter the name of one of these hosts.


    Remote host for this interface: odyssey
    
  4. Specify the timeout for calls to this remote host.

    By default, the connection will timeout after 120 seconds of inactivity.


    inactivity_timeout	[120]: 60