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.

script-nameName of the configuration script to fetch/run
urlCan 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
usernameUsername to access FTP server (ignored when url is prefixed by http:// or localhost://, or url is localhost)
passwdPassword to access FTP server (ignored when url is prefixed by http:// or localhost://, or url is localhost)

Notes:

Example script file

cmd mode 2
cmd gpsrep 1 0 3
cmd gpscond 1 1 30
cmd gpsremip 1 123.123.123.123
cmd gpsremport 1 5005
......
....
..

Examples:

  1. 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 :
    cmd confupgrade ctm15x-config.sh cypress.bc.ca guest guestpw
  1. Where ctm15x-config.sh is the script file, and cypress.bc.ca is the HTTP server :
    cmd confupgrade ctm15x-config.sh http://cypress.bc.ca
  1. Execute the script /tmp/action.sh on the modem :
    cmd confupgrade action.sh localhost://tmp
  1. Execute the script /etc/config/action.sh on the modem :
    cmd confupgrade action.sh localhost

See also: Device Management


Firmware revision 1.1.32

Last modified 7 years ago Last modified on 12-12-28 11:03:45 AM