It's not working properly, and because of that I can't set a vpn interface in the network parameters, here's what I have tried:
root@NanoPi-NEO:~# ls /dev/net/tun
root@NanoPi-NEO:~# sudo modprobe tun
FATAL: Module tun not found in in directory /lib/modules/4.11.2
root@NanoPi-NEO:~# sudo mknod /dev/net/tun c 10 200
mknod: /dev/net/tun: File exists
root@NanoPi-NEO:~#chmod 600 /dev/net/tun
root@NanoPi-NEO:~#sudo modprobe tun
FATAL: Module tun not found.
cat: /dev/net/tun: No such device
Tried going to /usr/src/kernel and run make menuconfig; /usr/src was empty!
So I tried reinstalling the source code for the Linux kernel:
*Downloaded it from https://www.kernel.org/
*Configured it with:
(where mind you, I couldn't switch the "TUN/TAP Universal driver" option On with "Y")
The steps (from what I understood) to build the kernel and install it are:
root@NanoPi-NEO:~#make (builds the kernel)
root@NanoPi-NEO:~#make modules (builds the kernel modules) (This is where I got an error)
root@NanoPi-NEO:~#make modules_install (install the built modules)
root@NanoPi-NEO:~#make install (installs the built kernel)
after lots of bugs and corrections, at the second one (make modules) I got this error:
WARNING: could not open /var/tmp/mkinitramfs_c9kIr7/lib/modules/4.12.8/modules.builtin: No such file or directory
and at this point it got too frustrating, I'm not knowledgeable with the kernel and I found contradictory informations all over the web, so please, please, please, can you find a fix?