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
1,548 views 1 comments
by anonymous
Hi everyone,

I'm trying to do some firmware updates on my RUT 240 routers. I don't have access to WebGui, only SSH.

First question: How can I get the running firmware version from cli?

Second question:

I was planning to download the image directly from internet, to the temp directroy and run the firmware from there. Kind of like the process in the web gui.

However the wget command in busybox doesn't seem to allow me using https:// only http://.. And the link on teltonika's site are https.

So how can this be done? I could upload the bin fil to a http location of my own ofcourse, but since it can be done wia webGui it should be possibe to run it in cli as well..

I know there's an option to do the fw_upgrade command via SMS. But can this function be triggerd from cli as well?

2 Answers

0 votes
by anonymous
Hello,

For the version: cat /etc/version

For the download try instead with curl: curl your_url --output outfile

Regards,
Best answer
by anonymous
Perfect!

Thanks for the quick reply.
0 votes
by anonymous

Hi, the version of the installed firmware can be viewed with the command grep version /etc/config/system.

the answers to your other questions are in the Wiki https://wiki.teltonika-networks.com/view/Firmware_upgrade_via_command_line

Best regards.