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.
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 7: Line 7:


===Install===
===Install===
<br />
  <nowiki> curl -s https://install.zerotier.com | sudo bash   </nowiki>
  <nowiki>
There is a more complicated(more secure?) script on their download page but I do not get it to work.
<code>curl -s https://install.zerotier.com | sudo bash</code>
 
</nowiki>
====Errors 1====
====Errors====
<br />


*It will not install if your package manager has issues.
*It will not install if your package manager has issues.
Line 20: Line 18:
<code>sudo dpkg --configure -a</code>
<code>sudo dpkg --configure -a</code>


=== Join your network ===
*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
The scary thing here is you don't need any kind of a password


Line 29: Line 60:
No I will not give you my network id!
No I will not give you my network id!


=== Summary ===
===Summary===
That is all there is.
That is all there is.
In two commands you are connected.
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.