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
631 views 3 comments
by anonymous
Hello,
I would like to know if it is possible to automate the configuration of RUT240 with a tool like Ansible.
Is it possible to install python package on RUT240 and then use Ansible?
If it is not possible, are there some alternatives to automate the configuration?

Thanks,
M

1 Answer

0 votes
by anonymous

Hello,

I am unfamiliar with Ansible, but python can be installed. However, since RUT240 has a very limited amount of memory, only python3-light is suggested to install, which might not contain necessary packages to support Ansible as based on information found here and here

Since Teltonika is based on OpenWrt it supports UCI utility, which allows to configure devices with shell scripts. You can read more about its usage here.

Best regards,

by anonymous
Thanks for the feedback.
Which is a RUT device that should support the python package required for ansible?
by anonymous
RUTX series devices, as they have the most flash.
by anonymous
Thanks.

Coming back to the UCI case; if we want to programmatically replicate the current configuration what is the best way?

At the moment we have a quite complete backup of the working configuration; we apply it and then customize the needed parts through UCI commands.
Could it be better to do the complete configuration via UCI commands?

BR,
M