Home Page
Install Internet Software
Install Internet Software
by Deb Mohan with guidance from Dr. Raj Mehta
After connecting once, you have generated a connect script. This script is a Simple Text document and can be edited. However if you are not aware of CCL language do not attempt to write a script. You can possibly edit some fields, if required.

At the end of this document you will find a script that the author has written for his own use. You can copy the script if you want to, or edit your own scripts according to the one given below. The author takes no responsibility and gives no guarantee that the same script will apply in all general cases. The script included, is solely for example and defines only some fields that the user can edit according to their needs.

This the end section of the setting up of your Mac for Internet through VSNL. The connect script has to be incorporated into the Protocol settings and will replace the Terminal Window for further connection. If ever you do have problems connecting to the VSNL server first check this setting. Switch over to Terminal Window and then connect. Sometimes connect scripts might give you a problem if not properly generated and or edited.

Now you are ready and almost there. Please read the information carefully and also check out the images which are in the links. Click the links and images will open in a new window. They help a lot in understanding your configuration.

  1. Go to the Apple Menu -> Control Panels -> PPP. This action will open the PPP Control Panel. You have already been here once and therefore there should be no problem locating the Options button.

  2. Once inside Options dialogue box switch over to Protocol Settings.

  3. Click on the Use connect script radio button and switch it on.

  4. Click on the Import Script button and locate the script that you had saved in your last connection.

  5. Open the script and you will see the name of the script in the Options dialogue box.

  6. Close the Options dialogue box and close the PPP Control Panel. You will be asked to save the settings of PPP. Save it.

  7. Now locate the Internet Dialer. You will find the alias in: Hard Disc: Internet: Internet Dialer. Drag it to the Desktop. From now on you can use the Internet Dialer for Connecting to VSNL or you can use Connect to Internet AppleScript Application which is already on your Desktop.

Example of connect script:

The script can be used by anyone. Please read point number two at the top of this page. The script is commented with colored letters. Ignore those lines when writing or your own script

!
@ANSWER
@HANGUP
EXIT 0
!
@ORIGINATE
!
CHRDELAY 1
!
@LABEL 10
MATCHCLR
MATCHSTR 1 11 "Username: "
MATCHREAD 300
!
@LABEL 11
PAUSE 1
WRITE "^11\13"
--The ^11 takes the username from the
!
------------------PPP control panel and uses it
@LABEL 12
MATCHCLR
MATCHSTR 1 13 "Password: "
MATCHREAD 300
!
@LABEL 13
PAUSE 1
WRITE "^12\13"
--The ^12 takes the password from the
!
------------------PPP control panel and uses it
@LABEL 14
MATCHCLR
MATCHSTR 1 15 "."
MATCHREAD 300
!
@LABEL 15
PAUSE 1
WRITE "ppp\13"
!
@LABEL 16
MATCHCLR
MATCHSTR 1 90 "\10"
MATCHREAD 300
!
@LABEL 90
PAUSE 1
EXIT 0

The ^11 and ^12 variables are very powerful as they pick up the values from outside and send the data. You can dynamically change the data out side and need not change the script.

If the script that you generated doesn't have these settings you can edit the script. In most cases you will find that the username and password that you had entered is physically present.

Note: If you are using a Null Modem Script, you will see a few more lines at the top. It is usually the phone number that you had dialed. You will have to change the script every time you want to change the phone no. and import the script again.

Now that you know how to set up your Mac for Internet through VSNL, you would like to check up how to set up your browsers and mail systems.

Click here to go to the home page.


Copyright © 1996, 1997, 1998 Dr. Raj Mehta. All rights reserved.