NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Sandshark's avatar
Sandshark
Sensei
Jan 25, 2023

ZeroTier as a ReadyCloud replacement.

Well, a big part of a replacement, anyway.

 

With ReadyCloud going away, a lot of folks are going to be looking for a replacement in order to have remote access to their ReadyNAS, I have been using ZeroTier (instead of ReadyCloud) for some time to do that, so I'm re-visiting it here. You can see my initial thread here: ZeroTier-and-the-ReadyNAS . You can see a general overview of ZeroTier at https://www.zerotier.com/, and be sure to also see https://docs.zerotier.com/getting-started/getting-started/, which shows you how to create your ZeroTier network.

 

While the ReadyNAS-specific versions still work, they are very old at this point. But the only way to get a GUI for it is to install the appropriate "nt3" version from here: https://github.com/NAStools/zerotierone/releases.

 

Frankly, you are better off installing (and then configuring) it from SSH so it's the latest and greatest. It does not seem to have anything that can fill the OS partition. You don't really need knowledge of how Linux works to do this install, you just issue these commands from SSH:

 

curl  -s  https://install.zerotier.com/  |  bash
zerotier-cli  join  <yournetworkID>
zerotier-cli  info


ZeroTier Central gives you the network ID to use and the info command above gives you the node address of the NAS so you can authorize the NAS in ZeroTier Central.

 

Note that as of this date (Jan 25, 2023) I have verified that this install script works with ReadyNASOS6.10.8 on both Intel and ARM systems.  The installed version isn't the latest.  It's 1.4.0, while 1.8.9 is current, but anything newer seems to have broken dependencies.  But it's still a lot more up to date than the nt3 one.  There isn't normally any ongoing configuration updating required, so you may never need to go into SSH to control it again. ZeroTier operation does resume after a power cycle.

 

Next, install ZeroTier on your Windows, Mac, Android, IOS, or Linux system (including a Netgear or other NAS) and they can talk to each other remotely and securely with no need for port forwarding, dynamic DNS, etc. You can have them all on one network, or you can have multiple networks to segregate devices from each other.

 

As for accessing the ReadyNAS, it now will look like any local LAN device, just with a new IP address. So you use a local log-in to the NAS (not your ReadyCloud ID) and local protocols (SMB, HTTPS, etc. -- even SSH) and local programs/apps. The traffic doesn't flow through ZeroTier. ZerTier Central is only needed so your devices can find each other. In that respect, it's much like ReadyCloud.

 

But, ZeroTier just provides the connection. If you want to do file sync, you'll need a program/app for that. FreeFileSync is a good option for Windows, Mac, and Linux. SyncThing adds Android to that list, and Resilio Sync adds IOS as well.  If anyone has specific recommendations. feel free to add them to this chain.

140 Replies

  • Thanks for your thoughts on a potential replacement to readycloud.

     

    My ZeroTier installation fails saying that version >=5 of libstdc++6 is required, but version 4.9.2-10+deb8u2 is to be installed.

     

    I'm on 6.10.8 with KernelPlus installed too.

     

    Any thoughts?

    • Sandshark's avatar
      Sandshark
      Sensei

      Did you use the command I gave that retrieves the script and executes it, or did you download a .deb and try to install it?  As  I stated, there are dependency issues with later versions.

      • XtheUnknown's avatar
        XtheUnknown
        Apprentice

        ...just ran the curl command as per your first post. Is there a prior step I should have run?

         

        I have not previously installed/removed nastools app or any standalone .deb

         

         

  • Sandshark  continuing from my other topic 🙂 could you explain where can I download v1.4.0 for arm based one,

    I'm not familiar with linux commands, if you don't mind;
    Should I setup SSH connection within ReadyNAS web UI and where to enter these commands to install

    1.4.0 ?

     

    I've installed nt3 arm version before which has GUI interface but I prefer to install newer version as you mentioned, I hope this request does not inconvenience you 😐

    Thanks again.

    • Sandshark's avatar
      Sandshark
      Sensei

      If you enable SSH and connect to the NAS as user root and he admin password, you just issue the commands I listed.  Or, you can download the arm64 version from the page XtheUnknown pointed to.

      • Leventh's avatar
        Leventh
        Apprentice

        Sandshark I get it and I would like to thank you for the information and guidance you provided here.

  • Sandshark just found this thread after seeing readycloud is going EOL this year.

     

    I have a Readynas RN104 running arm 6.10.9 can you point me to the correct ZT install I need for my NAS.

     

    After reading the thread I got slightly confused as the RN104 was not mentioned.

    If I just run the command below you suggested will this work?

     

    curl  -s  https://install.zerotier.com/  |  bash
    zerotier-cli  join  <yournetworkID>
    zerotier-cli  info 

     

    TIA

     

    Mark

    • Sandshark's avatar
      Sandshark
      Sensei

      I do not believe that will work any longer due to the changes in the Debian repositories, as outlined above.  Whether it will work after updating the repositories list or if you should independently download it and install, I don't know.  But it won't hurt to try, and please let us know your results.  It has nothing to do with it being a 100 series NAS, though.  While the 100 series NAS do have limited RAM, as long as you are not already running a lot of apps, I believe ZeroTier will work.  But I own no 100 series to try it on.

      • Maximus360's avatar
        Maximus360
        Guide

        Sandshark them cli commands do not work as you guessed. I also tried installing the 1.4.0 armel file using the web gui and it fails to install. 

         

        Are there any other ways i can get ZT on my NAS 104? I am running 6.10.8 not 6.10.9, sorry.

         

        Any help is appreciated.

  • Hello I have a readynas 214 armel version can I install ZeroTier to it ?

    • Sandshark's avatar
      Sandshark
      Sensei

      Yes, you can install ZeroTier on any OS6 ReadyNAS.  But it has become increasingly hard to do so.  Do not even try to install it on V6.10.8, though, as there is an error in the ReadyNAS-specific repository for it (a different issue than the Debian repository).  Go to 6.10.9 first. 

  • I assume this will work with a 3312? 

     

    I issued the curl command and it just returned to prompt.  No error, no nothing.  

     

    Thoughts?

     

     

    • Sandshark's avatar
      Sandshark
      Sensei

      It will work on all OS6-based ReadyNAS, but the curl command no longer works because there is no current version for Debian Jessie.  Alternate ways to install are discussed above.  You do have to insure you get the right version for your architecture.

      • OldSchoolGuy's avatar
        OldSchoolGuy
        Aspirant

        Hi Again, Got brave today and upgraded the ram, now I am going to make it as resolved, and will put what I did to resolve it on my post.  Anywho, I want to install Zerotier on my ReadyNAS, I know that the Jessie thing is gone so, I’ve tried to manually download it, but I can’t access the folder cd/data/temp.  Tried using apple, and Mac computers and they said no such file or directory.  My Mac was using putty (obviously) and my windows computer was running Putty.  Also tried using ExtraPutty, same result.  I am logging in as Root.  I am on the latest firmware for the ReadyNAS 314 firmware, 6.10.9.  Need some help, I know that I am doing basically all correct but cannot access the files via SSH.

    • Sandshark's avatar
      Sandshark
      Sensei

      No, the latest that can be installed on a ReadyNAS is 1.6.6 on an Intel unit and 1.6.0 on an ARM unit (using the armhf version, not armel).  If using armel, I believe the last that works is 1.4.something.

      • bugmenot2's avatar
        bugmenot2
        Apprentice
        Is there a specific reason for that?

        Are there dependencies that are missing for newer versions?
  • Sandshark 

     

    I'm trying to install ZeroTier on our ReadyNAS Pro 6.

    I've read the entire thread and have:  

    zerotier-one_1.6.6_amd64.deb in /data/Temp. When I try running the install command I'm getting an error where it appears the installer is trying to fetch from an online mirror even though I'm using ./

     

    Here's a readout of terminal:

     

    root@PM-ReadyNAS:/data/Temp#  apt install ./zerotier-one_1.6.6_amd64.deb
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting 'zerotier-one' instead of './zerotier-one_1.6.6_amd64.deb'
    The following additional packages will be installed:
      iproute2
    Suggested packages:
      iproute2-doc
    Recommended packages:
      libatm1
    The following NEW packages will be installed:
      iproute2 zerotier-one
    0 upgraded, 2 newly installed, 0 to remove and 33 not upgraded.
    Need to get 426 kB/1,443 kB of archives.
    After this operation, 4,321 kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Get:1 /data/Temp/zerotier-one_1.6.6_amd64.deb zerotier-one amd64 1.6.6 [1,017 kB]
    Err:2 http://mirrors.edge.kernel.org/debian jessie/main amd64 iproute2 amd64 3.16.0-2
      404  Not Found [IP: 147.75.199.223 80]
    E: Failed to fetch http://mirrors.edge.kernel.org/debian/pool/main/i/iproute2/iproute2_3.16.0-2_amd64.deb  404  Not Found [IP: 147.75.199.223 80]
    
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    root@PM-ReadyNAS:/data/Temp# 

     

    I've copied and pasted commands from this thread and the .deb is in the right place.

     

    Any advice on what I'm doing wrong and how to fix?

     

    Many thanks!

    --David

     

     

     

     

     

     

      • dhl's avatar
        dhl
        Luminary

        Sandshark wrote:

        Yes, Debian8 is now archived, so apt cannot fetch those dependancies unless you update the location for it to look and tell it to allow expired signatures.  While I believe that was already mentioned in the thread, here is the link again as to how you have to fix that: How-I-got-apt-update-and-install-to-work-with-Debian-Jessie .


        Sandshark StephenB ,

         

        Thanks I saw StephenB's reply first so ignore my previous post. Okay, now to figure out how to make these edits remotely via a macOS SSH terminal😬.

        Thanks!

        ––David


    • dhl wrote:
      http://mirrors.edge.kernel.org/debian/pool/main/i/iproute2/iproute2_3.16.0-2_amd64.deb 404 Not Found [IP: 147.75.199.223 80]

       

      The problem is that the repository you are accessing doesn't include iproute2_3.16*

       

      If you look at http://mirrors.edge.kernel.org/debian/pool/main/i/iproute2/ in your browser then you'll see it starts with 4.20

      iproute2-doc_4.20.0-2+deb10u1_all.deb              10-Jan-2021 02:30     50K
      iproute2-doc_5.10.0-4_all.deb                      06-Feb-2021 00:59     29K
      iproute2-doc_5.10.0-4~bpo10+1_all.deb              02-Mar-2021 20:44     30K
      iproute2-doc_6.1.0-3_all.deb                       22-May-2023 13:54     17K
      iproute2-doc_6.1.0-3~bpo11+1_all.deb               25-May-2023 20:37     33K
      iproute2-doc_6.4.0-1_all.deb                       30-Jun-2023 11:51     17K
      iproute2_4.20.0-2+deb10u1.debian.tar.xz            31-Dec-2020 17:29    143K
      iproute2_4.20.0-2+deb10u1.dsc                      31-Dec-2020 17:29    1929
      iproute2_4.20.0-2+deb10u1_amd64.deb                10-Jan-2021 02:40    807K
      iproute2_4.20.0-2+deb10u1_arm64.deb                10-Jan-2021 02:40    786K
      iproute2_4.20.0-2+deb10u1_armel.deb                10-Jan-2021 02:40    736K
      iproute2_4.20.0-2+deb10u1_armhf.deb                10-Jan-2021 02:56    753K
      iproute2_4.20.0-2+deb10u1_i386.deb                 10-Jan-2021 02:56    856K
      iproute2_4.20.0-2+deb10u1_mips.deb                 10-Jan-2021 02:40    743K
      iproute2_4.20.0-2+deb10u1_mips64el.deb             10-Jan-2021 02:40    750K
      iproute2_4.20.0-2+deb10u1_mipsel.deb               10-Jan-2021 03:42    754K
      iproute2_4.20.0-2+deb10u1_ppc64el.deb              10-Jan-2021 03:11    909K
      iproute2_4.20.0-2+deb10u1_s390x.deb                10-Jan-2021 09:29    751K
      iproute2_4.20.0.orig.tar.xz                        09-Jan-2019 15:43    690K
      iproute2_5.10.0-4.debian.tar.xz                    06-Feb-2021 00:18     63K

       

      Did you make the edits that Sandshark posted here?

      (Note you should use 6.10.9 for the Netgear repository not 6.10.8).

      • dhl's avatar
        dhl
        Luminary

        StephenB 

         

        Thanks for the reply. I followed the procedure from Sandshark's post on page 2 of this thread:

         

        Sandshark wrote:

        Seems the curl script no longer works in Debian Jessie.   But manual install does.

         

        I have an OS6.10.8 Intel-based NAS and successfully manually installed V1.6.6.  Anything later fails.  I will try an ARM machine when I get a chance to re-initialize one, or somebody else can try and report results.

         

        Below is how to do the manual installation.  In this example, I'm assuming a volume name of data and that share Temp exists.  Use whatever is appropriate to you.

         

        Go here: https://download.zerotier.com/RELEASES/1.6.6/dist/debian/jessie/ and download the amd64 version to the Temp share.

        From SSH:

          cd /data/Temp

          apt install ./zerotier-one_1.6.6_amd64.deb

         

        Note that the leading ./ is required, or it will try to install from a network source.

         

        You will have to answer Y to a couple of prompts, and the default for at least one may be N.

         

        Now just join your network and enable the member in ZeroTierOne.


        I thought this was for a fully manual install. It sounds like the error means apt install still needs to download from external libraries, correct?

         

        I haven't made the changes from the link you posted because I didn't know they were necessary. Are you referring to these changes?

         

        Sandshark wrote:

        OK, so I started off creating my own local Debian repository.  Not recommended -- it's a lot of work.  But with a lot of Googling and experimenting, I finally got apt to work using an online source.  Now, this requires bypassing a lot of security features, so use at your own risk.  It works on ARM and Intel based systems.

         

        My /etc/apt/sources.list now looks like this:

         

        deb https://apt.readynas.com/packages/readynasos 6.10.8 updates apps main
        
        # deb http://mirrors.kernel.org/debian jessie main
        # deb http://security.debian.org/ jessie/updates main
        
        deb [trusted=yes] http://archive.kernel.org/debian-archive/debian jessie main contrib non-free
        deb [trusted=yes] http://archive.kernel.org/debian-archive/debian jessie-backports main contrib non-free

         

        I commented out two original lines, but you can remove them if you like. archive.kernel.org is a US repository, so you can look for another if you like.  Netgear never had a jessie-backports source or  contrib and non-free included for jessie, so you may not want them.

         

        Then you need to create /etc/apt/apt.conf with the following content:

         

        Get::AllowUnauthenticated true;
        Acquire::Check-Valid-Until false;

         

        How long will this last?  I don't know, but that archive has some distros even older than Jessie, so I suspect for a while.

         

        I have only rudimentary Linux/shell skills and have to make these fixes via a remote connection. Any advice on how to get this working with minimal pain is greatly appreciated. Thanks for your help!

         

        best,

        ––David

         

         

         

         

  • Thanks for this thread, it's been very useful for me. 

    I've been able to install ZeroTier + Resilio Sync on my RN316 v6.10.8 to automatically backup photos from my android. 

     

    In case anyone is reading this is in the future these are the steps I took:

     

    1) Download iproute2_3.16.0-2_amd64.deb

    https://mirror.ip-projects.de/ubuntu-old/pool/main/i/iproute2/ 

    2) Download zerotier-one_1.6.6_amd64.deb

    https://download.zerotier.com/debian/trusty/pool/main/z/zerotier-one/

    3) Place the downloaded files on a share on your ReadyNAS through the web interface. e.g. /data/Temp

    4) install downloaded files with ssh (I used putty):

    apt-get install /data/Temp/iproute2_3.16.0-2_amd64.deb

    apt-get install /data/Temp/zerotier-one_1.6.6_amd64.deb

    5) install zerotier cli (ignore certificate)

    curl -k https://install.zerotier.com --verbose | sudo bash

    6) install Resilio Sync as an app on the NAS through the web interface

     

    • PSXman's avatar
      PSXman
      Aspirant

      Had this working had to reset my nas RN104 now get after apt get updates   

      Run the install 

      The following packages have unmet dependencies:
      zerotier-one:arm64 : Depends: iproute2:arm64 but it is not installable
      Depends: libstdc++6:arm64 but it is not installable

       

       

      • Sandshark's avatar
        Sandshark
        Sensei

        ARM64 is for an ARM V8 or above.  You have an ARMV7, so need the ARMEL (32-bit) or ARMHF (64-bit) release.  

    • givememynamebak's avatar
      givememynamebak
      Luminary

       Hi, I put away Syncthing and am using Resilio for months now as well. 

       

      Furthermore, I create debian packages for all my apps running on docker (so they can be toggled to stop and start in Frontview but using systemctl) also, I can update to the latest of every app without worrying about SSL or other missing legacy Debian Jessie dependencies.  For me, some of those apps are Docker CE 19.03.9, Gitlab CE 15.11.9, Heimdall, Logitech Media Server, Portainer, Sabnzbd, Vaultwarden.  I have Plex and Resilio running as native debian packages but everything else is debian packages but with the app running on docker instead.   Previously in that list was Syncthing on docker. This setup seems to be working great for me and will probably be fine for me for quite some time.  That gives me MUCH more life on my 2 ReadyNAS that are running OS6.

       

      Infrant 600TL

      Netgear ReadyNAS NV+

      Netgear Pro 6

      Netgear RN628X

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More