NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Sandshark
Jan 25, 2023Sensei - Experienced User
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...
dhl
Jul 21, 2023Luminary
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
- SandsharkJul 21, 2023Sensei - Experienced User
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 .
- dhlJul 21, 2023Luminary
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 .
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
- StephenBJul 21, 2023Guru - Experienced User
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).
- dhlJul 21, 2023Luminary
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
- StephenBJul 22, 2023Guru - Experienced User
dhl wrote:
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?
Yes. Though you need to change the 6.10.8 to 6.10.9 (and manually upgrade the firmware to 6.10.9).
dhl wrote:
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!
You can copy the two files to the data volume with ssh. Then edit them from a PC with notepad++. Make sure you go into edit->EOL conversion and make sure it is set to Unix (LF). Then copy the edited file back to the OS folders with ssh.
Keep both the original and the modified files, as you will need to re-do this mod whenever you update the firmware.
Related Content
NETGEAR Academy

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