-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Ubiquiti USG mips64 package returns installation error. #1553
Comments
Thanks for the report. I'll look into this. |
Also, I had to create the "/config/data/firstboot/install-packages" directory structure. |
I should probably make a note of that detail in the docs. Thanks. I've updated the packaging on our download site and tested it on an ER-4 which should be the same chip architecture and it seems to work now. Let me know if you still have issues. You only need to delete the old package and re-run the same instructions. The MD5 sum will be different. |
This does not work for me even with the new package
|
I've just checked. Same result as VeselyT. |
root@ubnt:/config/data/firstboot/install-packages# cat /etc/debian_version root@ubnt:/config/data/firstboot/install-packages# ar -x zerotier-one.deb |
Sorry for the inconvenience. I just checked my router and it's running |
The problem - which I'm also facing - is that the USG-3, at least, even with the latest version of firmware (v4.4.56) runs an old version of dpkg which does not support xz compression:
Ironically, xz itself is installed; so regarding the post above from @stevenwright1 trying to use tar -xf, so for testing purposes one could instead try this:
That will give you a tar file which you can then gzip. If you have a directory containing the
It's critical that Then you can run the installer using
The only other issue I see when running is that when starting as a service, the PID is not being written to /var/lib/zerotier-one/zerotier-one.pid, so checking In conclusion, the USG needs a deb file which has been packed with |
Struggling with the same issue when attempting to install. |
Step by step clarification:
|
After step by step I got missing iproute2 on newest UDM Pro build. Same thing with original package. Any idea? root@ubnt:/config/data/firstboot/install-packages# sudo dpkg -i zerotier-one.deb dpkg: error processing package zerotier-one (--install): |
also following zerg960 Step by step clarrification;
thankyou Zerg
|
although, whilst the binaries survive a minor system upgrade (to version 4.4.56.5449062), and apparently still connected to the ZeroTier network, packets do not appear to flow, and the member shows as OFFLINE in the ZeroTier Central.
may also require a documentation change
|
Update:
|
Thanks to everyone contributing to this - by following instructions from Zerg960 i have be able to install the ZeroTier on several Unifi USG and connect from phones/laptops with ease, it has been a learning process but I'm stoked to be able to connect One question though - how do you get ZeroTier to reconnect after a reboot of the USG, I gave it plenty of time but in the end I manually rerun these 2 commands |
If anyone is successfully running ZeroTier on a USG, I would love to hear back about any issues that you are facing. I am currently running into periodic link disconnects that I have documented here - https://discuss.zerotier.com/t/zerotier-one-issues-with-mips64-build-on-unifi-usg-pro-4/9999 , and would like to investigate it deeper if it is something specific to my installation. |
I'm experiencing the same issue. If i find a workaround/fix, i'll come back here.. |
Issue still unresolved |
Same issue on USG 3P
|
USG3P
Steven@ubnt:/etc$cat version
UniFiSecurityGateway.ER-e120.v4.4.56.5449062.211020.0831
Steven@ubnt:/config/data/firstboot/install-packages$ uname -a
Linux ubnt 3.10.107-UBNT #1 SMP Wed Oct 20 08:38:35 UTC 2021 mips64 GNU/Linux
Steven@ubnt:/config/data/firstboot/install-packages$ curl https://download.zerotier.com/dist/ubiquiti/zerotier-one_mips64.deb --output /config/data/firstboot/install-packages/zerotier-one.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1145k 100 1145k 0 0 1894k 0 --:--:-- --:--:-- --:--:-- 2067k
Steven@ubnt:/config/data/firstboot/install-packages$ md5sum zerotier-one.deb
dfd1bf76858d8419d87bcafa091f799b zerotier-one.deb
Steven@ubnt:/config/data/firstboot/install-packages$ sudo dpkg -i /config/data/firstboot/install-packages/zerotier-one.deb
dpkg-deb: error: archive '/config/data/firstboot/install-packages/zerotier-one.deb' contains not understood data member control.tar.xz, giving up
dpkg: error processing /config/data/firstboot/install-packages/zerotier-one.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/config/data/firstboot/install-packages/zerotier-one.deb
The text was updated successfully, but these errors were encountered: