| 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
1Send‘ATZ‘
2Send‘ATS0 =1‘
3
4Wait‘CONNECT‘
5Wait‘username:‘
6Send‘JaneDoe‘
7Wait‘password‘
8SH‘1234‘
9Wait‘===>‘
10Send‘1‘
11Go
Meaning of Each Login Script Command
Rests Modem
Sends initial string ‘ATS0 =1‘ to modem Dial phone number
Waits for ISP to send reply ‘CONNECT‘ Waits for ISP to send reply ‘username‘ Sends the user name ‘JaneDoe‘ to the ISP Waits for ISP to send reply ‘password‘ Sends password ‘1234‘ to the ISP
Waits for ISP to send reply ‘===>‘ 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‘ATS0 =1‘ | Sends initial string ‘ATS0 =1‘ to modem |
3 | Send‘ATDT8881234 | Dials phone number |
4Wait‘CONNECT‘2 Wait for ISP to send reply ‘CONNECT‘. If no CONNECT, returns to line 2 to
5Wait‘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 |
4Wait‘CONNECT’ 12 Waits for ISP to send reply ‘CONNECT’. If no reply, goes to line 12 for ISP #2.
5Wait ‘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) |
|
|
|
44