IT/Software/Networking/ZeroTier: Difference between revisions

From msgwiki
< IT‎ | Software‎ | Networking
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
(Created page with "=== Basics === You need to get an account at ZeroTier You can connect up to 100 computers for free. After that get another and you get 200. === Install === <br /> ==== Er...")
 
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Basics ===
===Basics===
You need to get an account at ZeroTier
You need to get an account at ZeroTier


Line 6: Line 6:
After that get another and you get 200.  
After that get another and you get 200.  


=== Install ===
===Install===
<nowiki> curl -s https://install.zerotier.com | sudo bash  </nowiki>
There is a more complicated(more secure?) script on their download page but I do not get it to work.
 
====Errors 1====
 
*It will not install if your package manager has issues.
 
<code>sudo apt --fix-broken install</code>
 
<code>sudo dpkg --configure -a</code>
 
*Now try the install again.
 
====Errors 2====
 
*You may get 401 errors or "no port. . . " errors
*you need to purge and reinstall.
 
<code>sudo apt purge zerotier-one</code>
 
*You may then still need to remove var/lib/zerotier-one
*If you have a snap installed they will not work together
 
<code>sudo snap remove zerotier-one</code>
 
==== Errors 3 ====
Your connection is stuck "OFFLINE" when you
 
<code>sudo zerotier-cli status</code>
 
You need to stop and start the service.
 
<code>sudo systemctl restart zerotier-one</code>
 
Some sites recommend "stop" and then wait for ten minutes and "start"
 
==== Errors 4 ====
sudo zerotier-cli status
Error connecting to the ZeroTier service: connection failed
Please check that the service is running and that TCP port 9993 can be contacted via 127.0.0.1.
For some reason the service is not running.
sudo service zerotier-one start
 
===Join your network===
The scary thing here is you don't need any kind of a password
 
Once you join you will still need the address of others in the network to access them.
<br />
<br />
<code>sudo zerotier-cli join XXXXXXXXXXXXXX</code>


==== Errors ====
No I will not give you my network id!
<br />
 
===Summary===
That is all there is.
In two commands you are connected.

Latest revision as of 09:08, 23 September 2024

Basics

You need to get an account at ZeroTier

You can connect up to 100 computers for free.

After that get another and you get 200.

Install

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

There is a more complicated(more secure?) script on their download page but I do not get it to work.

Errors 1

  • It will not install if your package manager has issues.

sudo apt --fix-broken install

sudo dpkg --configure -a

  • Now try the install again.

Errors 2

  • You may get 401 errors or "no port. . . " errors
  • you need to purge and reinstall.

sudo apt purge zerotier-one

  • You may then still need to remove var/lib/zerotier-one
  • If you have a snap installed they will not work together

sudo snap remove zerotier-one

Errors 3

Your connection is stuck "OFFLINE" when you

sudo zerotier-cli status

You need to stop and start the service.

sudo systemctl restart zerotier-one

Some sites recommend "stop" and then wait for ten minutes and "start"

Errors 4

sudo zerotier-cli status
Error connecting to the ZeroTier service: connection failed

Please check that the service is running and that TCP port 9993 can be contacted via 127.0.0.1.

For some reason the service is not running.

sudo service zerotier-one start

Join your network

The scary thing here is you don't need any kind of a password

Once you join you will still need the address of others in the network to access them.
sudo zerotier-cli join XXXXXXXXXXXXXX

No I will not give you my network id!

Summary

That is all there is. In two commands you are connected.