ASYNC ROUTER AR-P, ASYNC ROUTER AR-5, SYNC ROUTER RELEASE NOTES

or

ppp iface chap user [username] [password]

(for CHAP)

config save

 

where iface is the modem interface that you are using to connect to the ISP (modem0, modem1, etc.) The [username] and [password] are the PAP/CHAP authentication name and password. The config save command will save these PPP commands to the Router’s boot diskette, and these commands will be executed automatically after every reboot.

If your ISP requires your Router to authenticate the ISP’s system, then during the configuration process, answer PAP or CHAP when asked for authentication, and enter the name and password that you will use to authenticate your ISP’s system, when asked for the name and link password of the remote system that you are connecting to.

Sample dialer script

If your ISP is using a different system, choose

5) Other LAN to LAN

from your configuration options. You will later be prompted for the name of a dialer script file. Often you can obtain from your ISP a sample dialer script that you can modify to create a dialer script file for the Router. Included on the Router diskette is a sample dialer script file called other.dcf, which you can modify to create your own dialer script, or use as a template.

Example dialer script:

send “AT\r” wait 1000 “OK” send $PHONE connect

send “\r\r\r” 100 wait 10000 “login:” send $LOGIN_NAME wait 10000 “password:” send $LOGIN_PWD

wait 10000 send “ppp\r” status up

The scripts will be different in different systems. For example, your ISP’s system may ask for “username:” instead of “login:”, as in the example. In that case the line

wait 10000 “login:”

in the script above would be substituted by:

wait 10000 “username:”

In the same way, the system may prompt for a password in different ways.

The variables $PHONE, $LOGIN_NAME, $LOGIN_PWD in the script above will contain the values of the phone number, your username and password that you entered when you configured the Router. You can use these variables for the phone number, username, and password in your dialer script, or you can write their values directly. For example, you can substitute the line

273

Page 273
Image 273
Black Box LRS002A-R2, LRA005A-R2, LRA001A-R2 manual 273, Ppp iface chap user username password For Chap, Sample dialer script