FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
199 views 0 comments
by anonymous
Is it possible to run a firmware update via the usb stick after an power reset?

1 Answer

0 votes
by anonymous

Hello,

Thank you for reaching out!

I'd need some more clarification on when the update should be run.

Would you simply like to update the firmware from the USB stick? Or would you like for the device after the boot sequence to check whether there is USB storage attached, and if there is, check if a firmware file is present, and if it is, perform a firmware update?

  

Both of these would be possible using a custom script. The firmware update can be done using SSH by running a command sysupgrade.

Possible options for this command are:

sysupgrade [-q] [-i] [-c] [-u] [-o] [-k] <backup-command> <file>

More information can be found by running the command sysupgrade -h

USB storage should be mounted on sda1 if no other storage devices are present.

Custom scripts can be placed on the router by navigating to System → Custom Scripts.

  

Let me know if any more information is needed!

Best regards,
DaumantasG