User guide
51
Chapter 5 - RouteFinder Manager
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‘
8SH‘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
4Wait‘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‘
8SH‘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)
12 Hangup Hangs up Modem
13 Send ‘AT S0=1’ Sends initial string ‘AT SO=1’ to modem
14 Send ‘ATDT 8885678’ Dials phone number 888-5678 (ISP #2)
15 Wait ‘Connect’ 23 Waits for ISP to send reply ‘CONNECT’. If no CONNECT, goes
to line 23.
16 Wait ‘username:’ 23 Waits for ISP to send reply ‘username’. If no response, goes to
line 23.
17 Send ‘Stephen’ Sends the username ‘Stephen’ to ISP
18 Wait ‘password:’ Waits for the ISP to send ‘password:’
19 SH ‘5678’ Sends password ‘5678’ to ISP
20 Wait‘====>‘ Waits for ISP to send reply ‘===>‘
21 Send‘1‘ Selects option 1 (PPP) for this ISP
22 Go Starts PPP mode
23 Hangup Hangs up Modem
24 Jump 2 Goes back to line 2 to re-dial ISP#1