zerotier/ZeroTierNAS

Issue with Synology DS218+ with DSM 6.2.2-24922

mrschwarz50 opened this issue · 6 comments

Have a Synology DS218J, I purchased a new DS218+ to use in another location. Following the 'Architecture per Synology Model' list, I download and installed the 'zerotier-1.2.12r1-syn-apollolake-6.1.spk' package.

I opened the UI and added the network I wanted. I got a 'REQUESTING_CONFIGURATION' message in the status field and no IP addresses shown. The interface showed I was offline.

I went to my network page at zerotier.com and manually added the address. The status didn't change and I was still offline.

I opened an SSH session and ran the 'zerotier-cli' command. I received a message that said, 'missing authentication token and authtoken.secret not found (or readable) in /var/packages/zerotier/target/var' .

Following a suggestion I found in another post, I ran the following command, 'sudo chown admin authtoken.secret' when I was in the '/var/packages/zerotier/target/var' directory. That got me past the error.

The problem I am having is that client program won't stay running. It runs for a few minutes and then quits. Also, when installing it, a virtual network interface was not created like all the other instances of Zerotier on other devices were.

Where did I go wrong or what's the issue that I need to deal with?

p.s. I tried uninstalling and reinstalling using the 'zerotier-1.2.12r1-syn-x64-6.1.spk' file. The results were the same.

Thanks.

I don't think you did anything wrong here. Recently there's been reports of strange issues with the package on newer versions of DSM, I'm still zeroing in on the issue.

Can you verify that you have a /dev/net/tun on the NAS?

Also, are you certain that the service is no longer running after a few minutes? You can check with ps aux | grep zerotier

Try issuing modpobe tun and restarting the ZeroTier app.

Also, what version of DSM are you running?

Can you check memory usage immediately after starting ZT? I'm wondering if it's possibly related to another bug.

Hey, my apologies for taking so long on this. Here's an updated set of packages to preview 1.4.0. It addresses the following issues:

  • Losing interface on reboot: insmod /lib/modules/tun.ko issued upon each reboot (and start of the service). See tickets #41 and #43
  • Identity files moved to more traditional location /var/lib/zerotier-one, and are now preserved across uninstalls, reinstalls, updates, etc. Prior to this version, during uninstall we were intentionally deleting your identity files just for thoroughness but this seems to be annoying to most users (rightly so). So uninstalling and updating to this version is the last time that your configuration will get wiped. See tickets #41
  • Service script now sends proper SIGKILL signal
  • Segfault on ARM (might be fixed), see ticket zerotier/ZeroTierOne#1648
  • Memory leak (might be fixed), see ticket #46

To view logs for this package, see: /var/log/packages/zerotier.log