Specifications
© 2010 Cypress Solutions Complete Manual: CTM-15X Firmware 1.3.0
Open CTM (Revision D)
38
Command Reference
See also: modemmode, modemmodedhcp
return to list of commands
confupgrade script-name url username passwd
Configures the modem for over-the-air configuration by means of a custom configuration script retrieved
from a defined FTP or HTTP server.
The command requires 4 parameters when accessing an FTP server, 2 parameters when accessing an
HTTP server, or 2 parameters when accessing scripts locally.
The script file is a text file containing modem commands used to configure a modem. The script file must
have UNIX line endings.
For example:
cmd mode 2
cmd gpsrep 1 0 3
cmd gpscond 1 1 30
cmd gpsremip 1 123.123.123.123
cmd gpsremport 1 5005
......
....
..
script-name the name of the configuration script to fetch/run
url can be localhost, or the address of the FTP or HTTP server, can also be an IP address, prefixed
by ftp:// or http:// respectively; if no prefix is specified (eg. cypress.bc.ca) then ftp:// is used
username username to access FTP server (ignored when url is prefixed by http:// or localhost://,
or url is localhost)
passwd password to access FTP server (ignored when url is prefixed by http:// or localhost://, or
url is localhost)
When localhost is specified as the url, the script file and its corresponding .md5 file must be located in
/etc/config on the modem. Likewise, when localhost://tmp is specified as the url, the script file and its
corresponding .md5 file must be located in /tmp on the modem.
Examples:
cmd confupgrade ctm15x-config.sh cypress.bc.ca guest guestpw where ctm15x-config.sh is the script
file, cypress.bc.ca is the FTP server, guest is the username of the FTP server, and guestpw is the password
of the FTP server