10937 questions

13039 answers

20337 comments

27549 members

0 votes
99 views 1 comments
by

RMS has buildin support for updating Firmware and configuration. The question is if I can use RMS Task Manager to do this  in one task and in this order:

  1. Upgrade Firmware to the latest version.
  2. Upload (configuration) backup
  3. Install some files en execute them.

At this moment I have to do this manually:.

  1. Action | Upgrade Firmware | Wait until modem is rebooted
  2. Action | Upload backup file | Wait until modem is rebooted
  3. Management | Task Manager | Execute 'Task Manager script' to upload files and execute them.

by
I have searched this forum for similar questions and saw that you can upgrade the modem to a desired firmware version by using the command sysupgrade RUTX_R_00.02.06.1_WEBUI.bin.
You can restore a config file by using sysupgrade -r backup.tar.gz

The question I now have is how to incorporate these commands correctly in Task Manager so that the first command (sysupgrade RUTX_R_00.02.06.1_WEBUI.bin) is executed. The Task Manager should then wait until the modem has booted up and then run the second command (sysupgrade -r backup.tar.gz). The Task Manager will then wait until the modem has rebooted and execute the last series of commands.
So my question is about incorporating the waiting time until the modem is rebooted, is this possible and how?

1 Answer

0 votes
by

Hello,

Regarding your comment about the wait time - you could use the "Timeout (seconds)" field for any specific task and set it to any desired time. I'd recommend a timeout of 5 minutes which is 300 seconds to make sure the device is given enough time to finish upgrading/rebooting before executing the next command.

Best regards,

Tomas.