Logic Machine Forum
ZeroTier readd after deleting LM does't work - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: ZeroTier readd after deleting LM does't work (/showthread.php?tid=3825)



ZeroTier readd after deleting LM does't work - gdimaria - 25.01.2022

Hello, after restoring a backup disappeared the connection to ZeroTier, meaning that in the console there was but it was always offline.

Then I deleted it from the zerotier console and immediately readded through its id-node, but now it is still offline and I can not assign a new zerotier IP.
on LM the zerotier service is in "requesting ip address" state andi doesn't always stay that way whatever it does.

 I also reinstalled the firmware to the latest version, no way.

What I can do?

Thanks

Peppe


RE: ZeroTier readd after deleting LM does't work - Daniel - 25.01.2022

Try creating different network, see if it works there.


RE: ZeroTier readd after deleting LM does't work - gdimaria - 25.01.2022

(25.01.2022, 17:44)Daniel Wrote: Try creating different network, see if it works there.

tryed... doesn't work.


have you ever experimented to delete and then readd a LM on ZeroTier consolle? 
Maybe you could find same difficulties... and resolve for me too Wink


RE: ZeroTier readd after deleting LM does't work - Daniel - 26.01.2022

Connecting to another network should work as it worked for me. 
To add it back you must use Node ID and you could get it after connecting to another network.
Run this script to get Node ID and add manually your LM.
Code:
info = io.readproc('zerotier-cli -D/var/lib/zerotier-one_default/ -j info')
address = require('json').pdecode(info).address
log(address)



RE: ZeroTier readd after deleting LM does't work - gdimaria - 26.01.2022

OK... I will retray to connect to another network.

But maybe the difference was that the LM is in a remote location, in a different lan, with a different public IP address, from my PC in wich I run the console. In fact, after added it back I can see it, but always offline and so I can't assign or auto-assign a zerotier IP.

Anyway, I will let you know...

thanks

Peppe