Removing Adapter in Ubuntu 20.04

Hello Everyone,

I am new to the platform and I am testing the technology. I was wondering if someone can direct me to the command to remove/delete the virtual adapter in an Ubuntu 20.04. I uninstalled zerotier using “apt remove zerotier-one” but when I checked, the virtual adapter previously associated with zerotier is still there. Would anyone have guidance on this?

Thanks

Do you still see the ZeroTier files in /var/lib/zerotier-one?
If that is the case, try removing them and restart the device.

Hi Gara, thanks for the reply. Yes I see the following files in this directory;

authtoken.secret controller.d identity.public identity.secret networks.d peers.d planet zerotier-one.port

Should I delete the files or the whole zerotier-one directory?

The whole directory contains the ZeroTier files, so if you now install ZeroTier again without removing the identity.* files you will get the same ZeroTier ID I believe. But if you want to remove everything then you should remove all the files. You should also run find / -name "zerotier" to find all files and directories that has to do with ZeroTier. To remove the whole directory you need to run rm -rf /var/lib/zerotier-one

Also, a quick note, the following are not files, but directories:
controller.d
networks.d
peers.d

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.