Multi-Tech Systems RF802EW User Manual
Page 44

44
Chapter 5 - RouteFinder Manager
login script.
Wait ‘CONNECT’
The Modem will wait for CONNECT to display before moving to the next
command.
Wait ‘CONNECT 6’
Modem will wait for “CONNECT” to display before moving to the next
command. If CONNECT does not display, the modem will go to line 6 of
the login script.
Other
FUNCTION
Go
Begins PPP
Jump4
Goes back to line 4 of the login script.
Hangup
Hangs up the modem.
Example 1:
Script for Normal Reliable ISP
#
Login Script
Meaning of Each Login Script Command
1
Send‘ATZ‘
Rests Modem
2
Send‘ATS0 =1‘
Sends initial string ‘ATS0 =1‘ to modem
3
Send‘ATDT888-1234‘
Dial phone number 888-1234
4
Wait‘CONNECT‘
Waits for ISP to send reply ‘CONNECT‘
5
Wait‘username:‘
Waits for ISP to send reply ‘username‘
6
Send‘JaneDoe‘
Sends the user name ‘JaneDoe‘ to the ISP
7
Wait‘password‘
Waits for ISP to send reply ‘password‘
8
SH‘1234‘
Sends password ‘1234‘ to the ISP
9
Wait‘===>‘
Waits for ISP to send reply ‘===>‘
10
Send‘1‘
Selects option 1 (PPP) for this ISP
11
Go
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‘ATS0 =1‘
Sends initial string ‘ATS0 =1‘ to modem
3
Send‘ATDT8881234
Dials phone number 888-1234
4
Wait‘CONNECT‘2
Wait for ISP to send reply ‘CONNECT‘. If no CONNECT, returns
to line 2 to re-dial.
5
Wait‘username:‘12
Waits for ISP to send reply ‘username‘. If no response, goes to
line 12.
6
Send‘JaneDoe‘
Sends the username ‘JaneDoe‘ to the ISP
7
Wait‘password‘
Waits for ISP to send reply‘ password‘
8
SH‘1234‘
Sends password ‘1234‘ 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
Example 3 : Script for Unreliable ISP (2nd ISP backup)
#
Login Script
Meaning of Each Login Script Command
1
Send‘ATZ‘
Resets modem
2
Send‘ATS0 =1‘
Sends initial string ‘ATS0 =1‘ to modem
3
Send‘ATDT8881234
Dials phone number 888-1234
4
Wait‘CONNECT’ 12
Waits for ISP to send reply ‘CONNECT’. If no reply, goes to line
12 for ISP #2.
5
Wait ‘username:’ 12
Waits for ISP to send reply ‘username’. If no response, goes to
line 12 for ISP #2.
6
Send‘JaneDoe‘
Sends the username ‘JaneDoe‘ to ISP
7
Wait‘password‘
Waits for ISP to send reply‘ password‘
8
SH‘1234‘
Sends password ‘1234‘ 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 (Rest of script ignored)