ZeroTier configuration via UCI not working since RUTX_R_00.07.03 and newer

Hi, we have several RUTX11 in place, each new one will be configured identically (besides IPs) by a script using UCI commands.
The actual standard firmware we use is RUTX_R_00.07.02.07. Last week, we got a new lot with firmware RUTX_R_00.07.05.4 installed. And ZeroTier isnt working there.
The ZeroTier module is installed via Package Manager UI (is there also a shell command to do this?).
The ZeroTier realted commands are

uci set zerotier.MyRemote=zerotier
uci add_list zerotier.MyRemote.join='zerotiernetworkid'
uci set zerotier.MyRemote.enabled='1'
uci commit zerotier
/etc/init.d/zerotier restart

zerotier-cli info brings an error, its not configured properly.
We tested also firmwares RUTX_R_00.07.03 and newer, its not working.

If we configure at RUTX_R_00.07.02.07 and do an update to RUTX_R_00.07.05.4 then its working without problems.

Do you have an idea or hint, how we can solve this problem?


The reason for this is that on RUTX_R_00.07.03 the zerotier has been updated to version 1.10.1 which applies through the latest firmware.

Upon checking your custom script, we just need to make a couple of changes based on the updated zerotier version.

uci set zerotier.1=instance
uci set'MyRemote'
uci set zerotier.1.enabled='1'

uci set zerotier.2=network_1
uci set'your_network_name'
uci set zerotier.2.network_id='zerotiernetworkid'
uci set zerotier.2.port='9993'
uci set zerotier.2.enabled='1'

uci commit zerotier
/etc/init.d/zerotier restart

Brief explanation:

  • zerotier.1 we indicate it as a zerotier instance.
  • zerotier.2=network_1 means it belongs to the network_1 which is the zerotier.1 instance.

For the “Installation of ZeroTier via shell”
This would be possible which requires a couple of steps:

  1. Go to our Teltonika RUTX11 wiki page to download the zerotier package → RUTX11 Package Downloads - Teltonika Networks Wiki

  2. Copy the downloaded package to the router’s /tmp/ directory (this can be done via scp in terminal or using WinSCP),

  3. Once the package is copied in the router, extract it using the command: tar -xzvf zerotier.tar.gz

  4. Then execute the command: opkg install ./zerotier_1.10.1-1_arm_cortex-a7_neon-vfpv4.ipk

Note that copying the package per router is still required, this is only an alternative solution, since opkg install zerotier command will pretty much install the package where the UI is not available in the router itself.

Hope this helps,

Best regards,

This topic was automatically closed after 15 days. New replies are no longer allowed.