TITLE
    Mac OS 8.5: Workaround to Non-functional PPP Connect AppleScript
Article ID:
Created:
Modified:
58376
5/12/99
5/12/99

TOPIC

    As of Mac OS 8.5 the AppleScript command "PPP connect" no longer works. Any script which uses this command will fail to initiate a PPP connection. These scripts should be modified to use the scripting facilities provided by Network Setup Scripting 1.0, included in MacOS 8.5 and later.


DISCUSSION

    Here is a sample script using "PPP connect" to initiate a PPP connection:

    PPP connect

    This command used to initiate a PPP connection with the active Remote Access configuration.

    This same script using Network Setup Scripting would read:

    tell application "Network Setup Scripting"

    open database

    tell Remote Access configuration x to connect

    close database

    end tell

    "Remote Access configuration x" is an existing Remote Access configuration containing the values for user name, phone number, etc. for the connection you wish to make. This script will work for any Remote Access configuration regardless of protocol, so it can be used for either PPP or ARAP connections.


Document Information
Product Area: Mac OS System Software
Category: Mac OS 8.5; Mac OS 8.6
Sub Category: Networking & Internet
Keywords: knts

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