Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

Previous Previous     Contents     Index     Next Next
Chapter 33

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

Earlier versions of the Solaris operating system included a different PPP implementation, Asynchronous Solaris PPP (asppp). If you want to convert peers that run asppp to the newer PPP 4.0, you need to run a conversion script. This chapter covers the following topics in PPP conversion:

The chapter uses a sample asppp configuration to explain how to accomplish PPP conversion. For a description of the differences between Solaris PPP 4.0 and asppp, go to Which Version of Solaris PPP to Use.

Before Converting asppp Files

You can use the conversion script /usr/sbin/asppp2pppd to convert the files that compose a standard asppp configuration:

  • /etc/asppp.cf - Asynchronous PPP configuration file

  • /etc/uucp/Systems - UUCP file that describes the characteristics of the remote peer

  • /etc/uucp/Devices - UUCP file that describes the modem on the local machine

  • /etc/uucp/Dialers - UUCP file that contains the login sequence to be used by the modem that is described in the /etc/uucp/Devices file

For more information about asppp, see the Solaris 8 System Administration Collection, Volume 3, available from http://www.docs.sun.com.

Example--/etc/asppp.cf Configuration File

The procedure that is shown in How to Convert From asppp to Solaris PPP 4.0 uses the following /etc/asppp.cf file.

#
ifconfig ipdptp0 plumb mojave gobi up

path
 inactivity_timeout 120     # Approx. 2 minutes
	interface ipdptp0
	peer_system_name Pgobi     # The name we log in with (also in
				                 # /etc/uucp/Systems

The file contains the following parameters.

ifconfig ipdptp0 plumb mojave gobi up

Runs the ifconfig command to configure a link from PPP interface ipdptp0 on the local machine mojave to the remote peer gobi

inactivity_timeout 120

Terminates the line after two minutes of inactivity

interface ipdptp0

Configures the interface ipdptp0 on the dial-out machine for asynchronous PPP

peer_system_name Pgobi

Gives the name of the remote peer, Pgobi

Example--/etc/uucp/Systems File

The procedure that is shown in How to Convert From asppp to Solaris PPP 4.0 uses the following /etc/uucp/Systems file.

#ident  "@(#)Systems	1.5  92/07/14 SMI"  /* from SVR4 bnu:Systems 2.4 */
#

# .
# .
Pgobi Any ACU 38400 15551212 in:--in: mojave word: sand

The file contains the following parameters:

Pgobi

Uses Pgobi as the host name of the remote peer.

Any ACU

Tells the modem on the dial-out machine mojave to establish a link with a modem on Pgobi at any time of the day. Any ACU means "look for ACU in the /etc/uucp/Devices file."

38400

Sets 38400 as the maximum speed of the link.

15551212

Gives the telephone number of Pgobi.

in:--in: mojave word: sand

Defines the login script that is required by Pgobi to authenticate dial-out machine mojave.

Example--/etc/uucp/Devices File

The procedure that is shown in How to Convert From asppp to Solaris PPP 4.0 uses the following /etc/uucp/Devices file.

#ident  "@(#)Devices  1.6  92/07/14 SMI"  /* from SVR4 bnu:Devices 2.7 */

.
.
#

TCP,et - - Any TCP -
.
.
#
ACU cua/b - Any hayes
# 0-7 are on a Magma 8 port card
Direct cua/0 - Any direct
Direct cua/1 - Any direct
Direct cua/2 - Any direct
Direct cua/3 - Any direct
Direct cua/4 - Any direct
Direct cua/5 - Any direct
Direct cua/6 - Any direct
Direct cua/7 - Any direct
# a is the console port (aka "tip" line)
Direct cua/a - Any direct
# b is the aux port on the motherboard
Direct cua/b - Any direct
# c and d are high speed sync/async ports
Direct cua/c - Any direct
Direct cua/d - Any direct

The file supports any Hayes modem that is connected to serial port cua/b.

Previous Previous     Contents     Index     Next Next