I want to create a TUN interfae I type command in adb like below
mkdir -p /dev/net
busybox mknod /dev/net/tun1 c 10 200
chmod 666 /dev/net/tun1
ip tuntap add dev tun1 mode tun
When I type "ip tuntap add dev tun1 mode tun" It show "open: No such file or directory" like this https://i.sstatic.net/R2NwF.jpg
Can anyone give me some idea? It's about kernel or other? How to fix it?
as root run
mkdir /dev/net
ln -s /dev/tun /dev/net/tun
for certain Synology devices, tun module have to be installed first. As root run
insmod /lib/modules/tun.ko
mkdir /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With