Ok... the guide "works", it is just that it is a little bit incomplete on some details
the first thing is that the command on
* Join your network - and authorise this node using the tools at ZeroTier Central
> docker exec zerotier-one join <your network id>
should be
docker exec zerotier-one zerotier-cli join <your network id>
the second thing is that the command on
Paste the following after existing code (add "#!/bin/sh" at the first line if this is a new file and execute chown ug+x /storage/.config/autostart.sh after saving it).
the command need to be chmod ug+x /storage/.config/autostart.sh (i'm not even sure of the ug+x or just g+x... but ok, ug+x)
The third thing is the script...
A) you need to copy the script to a text editor (I use notepad++, but notepad is good enough)
B) use the command docker stats --no-stream and copy the container id of zero tier
C) using the find/replace, replace <your id> with the container id
D) using the find/replace, replace <your_dir> with the folder that you made (it will need to replace multiple times)
E) go to the Zero Tier central, look at the authorized libreelec client, copy the mac address AND the Node ID of the zerotier adapter (they both are shown on the cyan column, under the name address, the one above is the node id and the one below is the mac address
F) using the find/replace, replace <my MAC address (yes, it is missing the > ) with the MAC address that you copied above
G) using the find/replace, replace <node-id> with the node id that that you copied above
H) Using the find/replace, replace <ZT network id> with the ID of your network
I guess that this is it...
it is working, but it is also adding like 2 minutes on the boot of the raspberry pi. Now i need to investigate a way to make this native and not using the docker.