Black Box LRA005A-R2 User Manual

Page 255

Advertising
background image

ASYNC ROUTER AR-P, AR-5, AND SYNC ROUTER REFERENCE MANUAL

255

send “AT&FS0=1&C1&D2&Q5&W\r”—set up modem parameters as:

&F—reset to factory defaults.

S0=1—answer incoming calls on first ring.

&C1—Data Carrier Detect is high when connected to remote modem.

&D2—disconnect from remote modem when DTR goes low.

&Q5—Lock DTE speed and enable speed adaptation buffering and error control by the modem.

&W—Save these values so that they are restored when the modem is reset.

wait 3000 “OK”—wait for modem to be ready

send “ATDT8,555-4141\r”—through PBX: Obtain outside line, place the call

wait 45000 “CONNECT”—Wait for connection to be ready

status up—Start PPP on this line

B.4 Logging into Remote Systems Using Dialer Scripts

Some of the routers and access servers to which the Router can connect open the connection with a
login prompt. The Router must respond with a userid and password before the connection can be activated.
This is accomplished using dialer scripts.

When determining the script configuration for connection to a remote site, the following basic

information is needed:

• the phone number, and what special dialing procedures (if any) are needed for connection.

• the exact wording/spelling of the prompt for user-ID.

• the exact wording/spelling of the user-ID to send.

• the exact wording/spelling of the prompt for password.

• the exact wording/spelling of the password to send.

• the string that is received when successfully connected.

Next, try this sequence by hand-dialing before setting up the script. To hand-dial a connection, first set

the dialer to “inactive.” Use the tip command (described below) to enter each string as you would
include it in the script send command. Pay special attention to uppercase/lowercase in the prompt
strings.

Some systems will prompt for additional information, such as the IP address to use. The format of such

items will depend on the system.

There is no substitute for testing the dialog by hand before committing it to software.

Advertising
This manual is related to the following products: