ProxyServer User Guide
20
Step C) Make your login Script
Below are two examples of the login scripts for our example ISP. On the left is the actual
inputted login script. On the proceeding page we highlighted the important parts that you
needed to note which are again highlighted below where they are used.
Example 1: Script for Normal Reliable ISP
Login Script
Meaning of Each Login Script Command
Send “ATZ”
Resets modem
Send “AT S0 = 1”
Sends initial string “AT S0 = 1” to modem
Send “ATDT 5552121”
Dials phone number 555-2121
Wait “CONNECT”
Waits for ISP to send reply “CONNECT”
Wait “username:”
Waits for ISP to send reply “username”
SH “Jerry”
Sends the user- name “Jerry” to ISP
Wait “password:”
Waits for ISP to send reply “password”
Send “1234”
Sends password “1234” to ISP”
Wait “ ===>”
Waits for ISP to send reply “===>”
Send “1”
Selects option 1 (PPP) for this ISP Starts PPP mode
Example 2: Script for Unreliable ISP (Redial until connected)
#
Login Script
Meaning of Each Login Script Command
1
Send “ATZ”
Resets modem
2
Send “AT S0 = 1”
Sends initial string “AT S0 = 1” to modem
3
Send “ATDT 5552121” Dials phone number 555-2121
4
Wait “CONNECT” 2
Waits for ISP to send reply “CONNECT” If not will go back to
line 2 to redial
5
Wait “username:” 12
Waits for ISP to send reply “username”. If no response will
go to line 12
6
Send “Jchan”
Sends the username “Jchan” to ISP
7
Wait “password:”
Waits for ISP to send reply “password”
8
SH “****”
Sends password “****” to ISP”
9
Wait “ ===>”
Waits for ISP to send reply “===>”
10 Send “1”
Selects option 1 (PPP) for this ISP
11 Go
Starts PPP mode
12 Hangup
Hangs up Modem
13 Jump 2
Goes back to line 2 to redial
Содержание ProxyServer MTPSR1-100
Страница 1: ...Proxy User Guide Model MTPSR1 100 ...
Страница 13: ......
Страница 30: ...ProxyServer User Guide 30 ...