Appendix H: CRON Script Command Reference
AXIS 240 Users Manual
120
Syntax
offline;
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
Specifies the phone number that will be sent to the modem as
ATDT<phone number>
. The number cannot include spaces.
-user
Specifies the user name used for authentication. Note that
spaces are not allowed in the user name. Optional.
-pass
Specifies the password. Required if a user name is specified.
-timeout
Resets the AXIS 240 when the specified time limit has
exceeded. Format:
h<hours>m<minutes>s<seconds>
.
Optional.
-script
Specifies 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.
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 240 will enter the
negotiation phase.
Содержание AXIS 240
Страница 1: ......
Страница 2: ...AXIS 240 User s Manual AXIS 240 Network Camera Server User s Manual ...
Страница 11: ...Introduction AXIS 240 User s Manual 10 ...
Страница 29: ...Assigning an IP Address AXIS 240 User s Manual 28 ...
Страница 41: ...Configuring the AXIS 240 AXIS 240 User s Manual 40 ...
Страница 69: ...Section 5 Using the AXIS 240 AXIS 240 User s Manual 68 ...
Страница 75: ...Appendix A Troubleshooting AXIS 240 User s Manual 74 ...
Страница 83: ...Appendix C Updating the Software AXIS 240 User s Manual 82 ...
Страница 87: ...Appendix D Technical Specifications AXIS 240 User s Manual 86 Dimensions ...