100
NetComm Wireless 4G M2M Router
www.netcommwireless.com
v1.0
A password (if required), only needs to be specified once per SMS, but can be prefixed to each command if desired.
“PASSWORD
get
Variable1”; “get
VARI
ABLE2”
“PASSWORD
set
VARIABLE1=VALUE1”; “set
VARIABLE2=VALUE2”
If the command sent includes the
“reboot” command and
has already passed the white list password check, the device keeps this
password and executes the remaining command line after the reboot with this same password.
For Example:
“PASSWORD
execute reboot;
getVariable1”; “get
VARABLE2”
“PASSWORD
execute reboot; PASSWORD get
Variable1”; “get
VARABLE2”
Note: Commands, variables and values are case sensitive.
List of basic commands
A list of basic commands which can be used in conjunction with the execute command are listed below:
“pdpcycle”, “pdpdown” and “pdpup” commands can have
a profile number suf
fix ‘x’
added. Without the suffix specified, the
command operates against the default profile configured on the profile list page of the Web-UI.
#
COMMAND NAME
DESCRIPTION
1
reboot
Immediately performs a soft reboot.
2
pdpcycle
Disconnects (if connected) and reconnects the data connection. If a profile number is selected in the
command, try to disconnect/reconnect the specified profile in case the profile is active. If no profile
number is selected, try to disconnect/reconnect the current active profile. Reports an error if no profile
number is selected and there is no currently activated profile.
3
pdpdown
Disconnects the PDP. If a profile number is selected in the command, the router tries to disconnect the
specified profile in case the profile is active. If no profile number is selected, try to disconnect the current
active profile. Reports an error if no profile number is selected and there is no currently activated profile.
4
pdpup
Reconnects the PDP. If a profile number is selected in the command, the router tries to connect with
the specified profile. If no profile number is selected, the router tries to connect to the last active profile.
The gateway will check the currently activated profile and disconnect this profile before executing the
command. The router reports an error if no profile number is selected and there is no stored last active
profile number.
5
factorydefaults
Performs a factory reset on the router. Be aware that this command also clears the SMS white list on
the router.
6
download
Performs a download and install of a Firmware Upgrade (.cdi), Config File (.tar.gz) or a help document
(.pdf) file.
If the file is a firmware image as in the case of a .cdi file, the router will apply the recovery image first and
then the main firmware image. The download location is specified immediately after the command and
may be from an HTTP or FTP source URL.
If the file is a .cdi file, the router will apply the file as a configuration file update for the device and reboot
afterwards.
If the file is a .pdf, the router will assume this is a user guide document and save it to the router and
make the file available for viewing via the help menu on the Web-UI.
Note: If your download URL includes any space characters, please encode these prior to transmission
according to RFC1738, for example:
ftp://username:password@serveraddress/directory%20with%20spaces/filename.cdi
Note: Authenticated FTP addresses may be used following the format as defined in RFC1738, for
example:
ftp://username:password@serveraddress/directory/filename.cdi
7
codconnect
Causes the router to activate the PDP context when the Connect on demand feature is enabled.
8
coddisconnect
Causes the router to de-activate the PDP context when the Connect on demand feature is enabled.
9
wakeup
This forces the default Data connection profile to connect if it is in a disconnected or waiting state.
There are two circumstances in which this command may be useful; where the default profile is enabled
but has been manually disconnected and if Connect on demand is enabled and the router is awaiting
packet of interest. In both of these situations, the wakeup command will cause the default PDP context
to activate.
10
ssh.genkeys
Instructs the router to generate new public SSH keys.
11
ssh.clearkeys
Instructs the router to clear the client public SSH key files.
Table 32 - List of basic SMS diagnostic commands