EasyManua.ls Logo

Axis 200 - Page 99

Axis 200
107 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AXIS 200
User’s Manual Appendix H: CRON Script Command Reference
97
online
This command dials up a modem and establishes a PPP connection.
Used together with the offline command.
Syntax
online [-dial NUMBER] [-user USERNAME -pass PASSWORD]
[-timeout TIME][-script send expect send expect ...];
Options
-dial
The phone number that will be sent to the modem as
ATDT<phone number>
. The number cannot include spaces.
-user
Username used for authentication. Note that spaces are not
allowed in the username. Optional.
-pass
Password. Required if a username is specified.
-timeout
Terminates the online session after the specified time by
restarting the AXIS 200. Optional. Format:
h<hours>m<minutes>s<seconds>
-script
An optional script string of expect-send pairs to be sent over
the line. This must be the last option in the command.
If a send word is empty, i.e. if it contains single quotes (
‘’
),
nothing will be sent until the expect word is received.
If a word includes spaces, you must put it in single quotes.
For a login sequence, you can use the words
$(USER)
and
$(PASS)
. They will be replaced by the arguments specified
in the
-user
and
-pass
options, respectively.
If the string does not include an escape code, a carriage
return character will be appended automatically at the end
of the string. Valid escape codes are:
\r
(carriage return),
\n
(line feed) and
\t
(tab).
At the end of the script, the AXIS 200 will enter the
negociation phase.

Related product manuals