Multi-Tech Systems S0000178 Network Router User Manual


 
71
Chapter 6 - RouteFinder Manager
Multi-Tech Systems, Inc. RouteFinder RF802EW User Guide
Writing a Login Script for IP Routing
To write an effective login script, you must obtain the correct login script information
from your ISP and become familiar with using the login script commands.
Every ISP has a unique login interface screen. Check with your ISP to determine how
your ISP requests information from you when using a PPP connection.
Note: You can create a simple dial-up connection to view your ISP interface log-in
screen using Dial-Up Networking in Windows 95, 98, NT or 2000.
Some common commands are:
Send and SH FUNCTION
Send ATZ Resets the Modem
Send ATDT 888-1234 Dials the phone number 888-1234
Send JaneDoe Types JaneDoe at the ISP interface
SH 1234 Types 1234 at the ISP interface but displays **** on
the RouteFinder monitor to hide the password.
Send Sends Enter (carriage return plus line feed) to the ISP
Wait FUNCTION
Wait 5 The Modem will wait for 5 seconds before moving to the
next line in the 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.