New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZeroTier versions after 1.4.6 do NOT work in ASUS RT-AC68U #1524
Comments
That's a really old Linux kernel version (released over 11 years ago). Any way to upgrade it? If not, you may be stuck on ZeroTier v1.4.6 on that system. |
Got the same problem with ASUS RT-AC66U_B1 router with asus-merlin firmware (hardware and firmware identical to RT-AC68U). The reason for the problem seems to be described in this issue: Unfortunately, kernel upgrade for this router model does not seem to be possible. |
Seems like it's a duplicate of #1314 (there are also comments from people with old kernels and mention of 1.4.6) Try to build ZT with this patch #1389. It has already been merged into the dev branch but did not arrive into the release. This problem is typical for all routers with old kernels, for example, using Padavan firmware. |
I've added a PR #1559 that might fix this, but would require you to build & test it for your router and/or old kernel versions. |
Thank you for trying to fix the issue found with old Linux kernel versions when setting up the interface MAC address. Unfortunately at this point, I don't have the hardware, resources & spare time to set up a Linux development environment to build from sources. I'll try to set aside some time in mid-March to see what I need to be able to build from sources and then test your potential fix. Thanks again. Much appreciated. |
btw kernel 3.4 is affected too |
Can't reproduce your claim here. The OS/Distro with the oldest kernel that's still supported by the vendor we have available is CentOS 7.0 with kernel 3.10 and ZeroTier's 1.6.x and 1.8.x releases all work fine on there. |
Trying to get a CentOS 6 VM up and running to test a patch on kernel 2.6.x, but seeing as it's not even supported by CentOS/RedHat anymore, that is proving difficult. |
Similar here and ZeroTier 1.5.0 version works OK. With version 1.8.4, I see that the mac value of the zerotier interface has been successfully set to the correctly address, but I still got a warning message and cannot communicate with other members of the network. ZeroTierOne/osdep/LinuxEthernetTap.cpp Lines 230 to 234 in 269501e
|
hi can you tech me how to make new version zerotier on ac68u merlin ,thank you |
Just clone the code locally, comment out the code I mentioned above, and recompile the corresponding architecture binary with golang,considering that some router firmware is only writable in the /opt directory,maybe you need to modify the zerotier's data path. Line 420 in eac56a2
|
so you mean this project can compile with golang ? thank you I'll try it |
@Smallthing no, this project is C, C++ and Rust. No Go at all. |
@Smallthing sorry for the confusion, I compiled it with mipsel-linux-gnu-gcc and /usr/bin/mipsel-linux-gnu-g++
|
Yes, Great! Before I ran the zerotier version 1.8.4 and 1.10.1 on Linux Kernel 3.4 Padavan, but couldn't connect to other zerotier network members anyway, saw your method to comment the five lines, then it worked normally, and also tested good for latest zerotier 1.10.2. |
Hello, can you send me a modified IPK file of the latest version of zerotier of mipselsf-k3.4? I don't understand compilation, thank you very much! 39427441@qq.com |
Please, could you provide a step by step on how to compile the ipk file with these suggested modifications? Thank you! |
[NOTE: Perhaps the following issue may be related to previous issue #1314]
I have set up 2 separate Home Networks which are about 20 miles apart.
HOME_NETWORK_#1
ASUS RT-AC86U Router
HW: aarch64
AsusWRT with Linux Kernel: 4.1.27
ZeroTier package installed on the router via Entware repository.
RESULTS:
ZeroTier 1.8.3 version works without any problems.
ZeroTier 1.6.5 version works without any problems.
I can access the router as well as some IoT devices on the LAN.
HOME_NETWORK_#2
ASUS RT-AC68U Router
HW: armv7l
AsusWRT with Linux Kernel: 2.6.36
ZeroTier package installed on the router via Entware repository.
RESULTS:
ZeroTier 1.8.3 version does NOT work.
ZeroTier 1.6.5 version does NOT work.
ZeroTier 1.6.3 version does NOT work.
ZeroTier 1.4.6 version works OK.
For every version that does NOT work, I get the following message after the command:
zerotier-one -d
After getting this warning message, it looks like ZeroTier is "working" since the router can join my ZeroTier network, and the router node ID shows up as an active, authorized member in my network shown in the ZeroTier Central dashboard (https://my.zerotier.com/), so everything appears to be fine. However, the router does not respond at all when I try to connect to it via its assigned ZeroTier IP address. The configuration setup on this router is pretty much the same as the 1st router (in HOME_NETWORK_#1) which works very well. For some reason, the RT-AC68U Router works only when the 1.4.6 version is installed, and nothing else in the setup & configuration of the network is changed.
I really want to use the most recent ZeroTier version available to take advantage of all bug fixes as well as any security improvements.
From searching and reading other threads/posts, it seems that the above issue might be related to previous issue #1314 WRT the order in which the MAC address is set during the TAP device configuration. Currently, the MAC address is set AFTER the TAP device state is set to UP.
Is there anything else that I can do to figure out what the problem is when using more recent versions after the 1.4.6 release?
Thank you.
The text was updated successfully, but these errors were encountered: