ZyXEL Communications Intelligent Broadband Sharing Gateway P-324 User Manual page 78

Zyxel communications intelligent broadband sharing gateway user's guide
Hide thumbs Also See for Intelligent Broadband Sharing Gateway P-324:
Table of Contents

Advertisement

Password:
To handle the first prompt, you specify "ogin: " as the Expect string and "myLogin" as the Send string in
set. The reason for leaving out the leading "L" is to avoid having to know exactly whether it is upper or
lower case. Similarly, you specify "word: " as the Expect string and your password as the Send string for
the second prompt in set 2.
You can use two variables, $USERNAME and $PASSWORD (all UPPER case), to represent the actual
user name and password in the script, so they will not show in clear text. They are replaced with the
outgoing login name and password in the advanced dial backup setup screen, when the Prestige sees them
in a Send string. Please note that both variables must been entered exactly as shown.
Also note that the ordering of the sets is significant, i.e., starting from set 1, the Prestige will wait until the
Expect string is matched before it proceeds to set 2, and so on for the rest of the script. When both the
Expect and the Send fields of the current set are empty, the Prestige will terminate the script processing
and start PPP negotiation. This implies two things: first, the sets must be contiguous; secondly, the sets
after an empty one are ignored. Second, the last set should match the final message sent by the server. For
instance, if the server prints
login successful.
Starting PPP...
After you enter the password, then you should create a third set to match the final "PPP..." but without a
Send string. Otherwise, the Prestige will start PPP prematurely right after sending your password to the
server.
If there are errors in the script and it gets stuck at a set for longer than the Dial Timeout in the advanced
dial backup setup screen, then Prestige will timeout and drop the line. To debug a script, initiate a manual
call and watch the trace display to see if the sequence of messages and prompts from the server differs from
what you expect.
WAN Setup and Dial Backup
Prestige 324 Intelligent Broadband Sharing Gateway
6-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prestige 324

Table of Contents