Which version of system do you use? Khadas official images, self built images, or others?
Ubuntu 22.04 - Official Khadas Image Kernel 5.4.180
Please describe your issue below:
Hello, I am trying to create a tunnel with zerotier. I installed zerotier as instructed on their website via curl, but I have also tried installing with snap. The behaviour is identical (see below). I am trying to run zerotier, but the service cannot access /dev/net/tun. It throws the error below about not finding / having permission to open TUN/TAP device. Following github issues on zerotier, I belive it is a permission issue. Setting chmod 666 or even chmod 777 for /dev/net/tun and /dev/net did not resolve the issue.
Post a console log of your issue below:
sudo systemctl status zerotier-one.service
zerotier-one.service - ZeroTier One
Loaded: loaded (/lib/systemd/system/zerotier-one.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2023-04-28 21:43:31 CST; 2min 9s ago
Main PID: 1236 (zerotier-one)
Tasks: 4 (limit: 8275)
Memory: 9.2M
CPU: 108ms
CGroup: /system.slice/zerotier-one.service
└─1236 /usr/sbin/zerotier-one
Apr 28 21:43:31 Khadas systemd[1]: Started ZeroTier One.
Apr 28 21:43:31 Khadas zerotier-one[1236]: sendto: Network is unreachable
Apr 28 21:43:31 Khadas zerotier-one[1236]: ERROR: unable to configure virtual network port: could not open TUN/TAP device: No such file or directory