TITLE
    Remote Access And OT/PPP: Creating Connect Scripts
Article ID:
Created:
Modified:
24078
6/26/97
9/2/98

TOPIC

    This article describes how to create a connect script with Remote Access 3.x or Open Transport/PPP.


DISCUSSION

    Definition

    A connect script is a previously recorded set of responses to a command-line host's request for user name, password, and any other required information. A connect script enables connection to a command-line host without the need to enter this information into a terminal window each time. Most PPP servers are not configured to require such a connection. If you are not certain whether you need to create a connect script, or whether the host requires a terminal log-in, consult the host administrator (typically your internet service provider).

    Note: Do not confuse a connect script with a modem script/CCL or a modem initialization string, as these three are not alike.

    Creating And Saving A Connect Script

    In the following steps, "PPP" can be substituted for "Remote Access" throughout. The pictures shown are from the Remote Access 3.0 control panel, which replaces (and is very similar to) the PPP control panel.

    Step 1
    Open the Remote Access control panel and click "Options".



    Step 2
    Click the Protocol tab.



    Step 3
    Click the "Connect to a command line host" checkbox to select it, then click "Use terminal window."

    Step 4
    Click "OK".

    Step 5
    Ensure that the name, password, and telephone number are correct, then click "Connect." The modem will dial out and begin negotiation before opening the terminal window.



    Step 6
    When the terminal window appears, click "Settings".



    Step 7
    Click the "Prompt to save Connect Script on close" checkbox to select it. To have the terminal window close automatically after a connection to the host has been established, click the "Close Terminal when PPP is started" checkbox to select it.

    Step 8
    Click "OK".

    Step 9
    In the terminal window, enter the information requested by the command-line prompts, which will vary depending upon the host. Press Return at the end of each response. If no command-line prompts appear, such as "login" or "password," press Return once. If there is still no prompt, you may not be connecting to a command-line host.

    Step 10
    If the terminal window does not close automatically, click "Continue" to close it.

    Step 11
    When the connection is completed, the following dialog box appears. Name the script, choose a destination for it, then click "Save". Remember where it was saved, because it will be needed in the next step.

    Important: An effective connect script is created by saving the session of a successful connection. Do not save the session if the connection was unsuccessful.



    Step 12
    To use the saved connect script, return to the Protocol panel of the Options window and click "Use connect script." Then click "Import Script."



    Step 13
    Select the previously saved connect script from the open file dialog box that appears. Afterward, its name will appear above the "Import Script" button.

    Step 14
    Click "OK". The connect script is ready to use.

Document Information
Product Area: Communications-Networking
Category: Open Transport
Sub Category: General Topics

Copyright © 2000 Apple Computer, Inc. All rights reserved.