102
NetComm Wireless 4G M2M Router
www.netcommwireless.com
v1.0
get ledmode
get ledmode
Returns the status of the LED operation mode.
set ledmode
set ledmode=10
Sets the LED operation mode to be always on or to turn off after the specified number of
minutes.
get ssh.proto
get ssh.proto
Returns the SSH protocol in use.
set ssh.proto
set ssh.proto=1,2
Sets the SSH Protocol to protocol 1, 2 or both (1,2).
get ssh.passauth
get ssh.passauth
Returns the status of the SSH Enable password authentication option.
set ssh.passauth
set ssh.passauth=1
Sets the SSH Enable password authentication option on or off.
get.ssh.keyauth
get.ssh.keyauth
Returns the status of the SSH Enable key authentication option.
set.ssh.keyauth
set.ssh.keyauth=1
Sets the SSH Enable key authentication option on or off.
get download.timeout
get download.timeout
Returns the time in minutes that the router waits before a download times out.
set download.timeout
set download.timeout=20
Sets the time in minutes that the router waits before a download times out. This is set to 10
minutes by default. Supported range is 10
–
1440 minutes.
get install.timeout
get install.timeout
Returns the time in minutes that the router waits before a file that is being installed times out.
set install.timeout
set install.timeout=5
Sets the time in minutes that the router waits before a file that is being installed times out. This
is set to 3 minutes by default. Supported range is 3
–
300 minutes.
Table 33 - List of get/set commands
List of basic RDB variables
The following table lists valid variables w
here “x” is
a profile number (1-6). If no profile is specified, variables are read from or written
to for the current active profile. If a profile is specified, variables are read from or written to for the specified profile number (
‘x’
).
#
RDB VARIABLE NAME
SMS
VARIABLE
NAME
READ/
WRITE
DESCRIPTION
EXAMPLE VALUE
0
link.profile.1.enable
link.profile.1.apn
link.profile.1.user
link.profile.1.pass
link.profile.1.auth_type
link.profile.1.iplocal
link.profile.1.status
profile
RW
Profile
Read:
(profile no,apn,user,pass,auth,iplocal,status)
1,apn,username,password,
chap,202.44.185.111,up
Write:
(apn, user, pass,auth)
apn,username,password
2
link.profile.1.user
username
RW
Cellular broadband
username
Guest, could also return “null”
3
link.profile.1.pass
password
RW
Cellular broadband
password
Guest, could also return “null”
4
link.profile.1.auth_type
authtype
RW
Cellular broadband
Authentication type
”pap” or”chap”
5
link.profile.1.iplocal
wanip
R
WAN IP address
202.44.185.111
6
wwan.0.radio.information.signal_strength
rssi
R
Cellular signal
strength
-65 dBm
7
wwan.0.imei
imei
R
IMEI number
357347050000177
8
statistics.usage_current
usage
R
Cellular broadband
data usage of current
session
“Rx 500 bytes, Tx 1024 bytes, Total 1524
bytes” or “Rx 0 byte, Tx 0 byte, Total 0 byte”
when wwan down
9
statistics.usage_current
wanuptime
R
Up time of current
cellular broadband
session
1 days 02:30:12 or 0 days 00:00:00 when
wwan down
10
/proc/uptime
deviceuptime
R
Device up time
1 days 02:30:12
11
wwan.0.system_network_status.current_band
band
R
Current band
WCDMA850
Table 34 - List of basic SMS diagnostics RDB variables