> reboot -h
Usage:
reboot [-h]
8.14. Running shell commands
The
shell
command can be used to execute a system shell and run any arbitrary application.
> shell -h
Usage:
shell [-h] [<cmd>]
8.15. CLI commands history
The
history
command displays the history of CLI commands entered on the unit.
> history
1
help
2
get -h
3
get dio.out1
4
set dio.out1=off
5
set dio.out2=off
6
set dio.out1=on
7
get dio.out1
8
get dio.out2
9
set -h
8.16. CLI–PHP
CLI-PHP, an HTTP front-end to the CLI application, can be used to configure and control the router
remotely. It is enabled in factory configuration, thus can be used for deployment purposes, but disabled
as soon as the admin account has been set up. The service can later be turned on/off by setting the
cliphp.status configuration parameter:
> get cliphp.status
cliphp.status=0
> set cliphp.status=1
> get cliphp.status
cliphp.status=1
cliphp.status=0
Service is disabled
cliphp.status=1
Service is enabled
This section describes the CLI-PHP interface for Version 2, the general usage (GET requests) is defined
as follows:
Usage:
http (s)://cli.php?<key1>=<value1>&<key2>=<value2>..<keyN>=<
valueN>
157
© RACOM s.r.o. – MG102iGPRS/UMTS/HSPA+/LTE router
Command Line Interface
Summary of Contents for MG102i
Page 2: ......
Page 147: ...147 RACOM s r o MG102iGPRS UMTS HSPA LTE router Web Configuration...
Page 174: ...174...