Skip Navigation Links | |
Exit Print View | |
Managing Serial Networks Using UUCP and PPP in Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library |
2. Planning for the PPP Link (Tasks)
3. Setting Up a Dial-up PPP Link (Tasks)
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)
Example of the /etc/asppp.cf Configuration File
Example of the /etc/uucp/Systems File
Running the asppp2pppd Conversion Script (Tasks)
How to Convert From asppp to Solaris PPP 4.0
How to View the Results of the Conversion
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://docs.sun.com.
The procedure that is shown in How to Convert From asppp to Solaris PPP 4.0 uses the following /etc/asppp.cf file.
# ipadm create-if ipdptp0 ipadm create-addr -T static -a local=mojave,remote=gobi ipdptp0/ppaddr 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.
Runs the ipadm command to create an interface called ipdptp0
Runs the ipadm command to configure a link from PPP interface ipdptp0 on the local machine mojave to the remote peer gobi
Terminates the line after two minutes of inactivity
Configures the interface ipdptp0 on the dial-out machine for asynchronous PPP
Gives the name of the remote peer, Pgobi
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:
Uses Pgobi as the host name of the remote peer.
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.”
Sets 38400 as the maximum speed of the link.
Gives the telephone number of Pgobi.
Defines the login script that is required by Pgobi to authenticate dial-out machine mojave.
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.
The procedure that is shown in How to Convert From asppp to Solaris PPP 4.0 uses the following /etc/uucp/Dialers file.
# #<Much information about modems supported by Oracle Solaris UUCP> penril =W-P "" \d > Q\c : \d- > s\p9\c )-W\p\r\ds\p9\c-) y\c : \E\TP > 9\c OK ventel =&-% "" \r\p\r\c $ k\c ONLINE! vadic =K-K "" \005\p *-\005\p-*\005\p-* D\p BER? \E\T\e \r\c LINE develcon "" "" \pr\ps\c est:\007 \E\D\e \n\007 micom "" "" \s\c NAME? \D\r\c GO direct # # # # Hayes Smartmodem -- modem should be set with the configuration # switches as follows: # # S1 - UP S2 - UP S3 - DOWN S4 - UP # S5 - UP S6 - DOWN S7 - ? S8 - DOWN # hayes =,-, "" \dA\pTE1V1X1Q0S2=255S12=255\r\c OK\r \EATDT\T\r\c CONNECT <much more information about modems supported by Oraccle Solaris UUCP>
This file contains the chat scripts for all types of modems, including the Hayes modems that are supported in the /etc/uucp/Dialers file.