I try to install tun on Ubuntu 16.04, it generates the tun.ko, but it still doesn't work.
1
Uname -a Linux host-name 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
2
apt-get install linux-source-4.10.0
3
cd /usr/src/linux-source-4.10.0 menuconfig->Device Drivers->Network Device Support->Universal TUN/TAP device driver support
Then save it as tun.config.
4
make modules, it generate tun.ko under /drivers/net/ without err, then copy it to lib/modules/4.10.0-42-generic/kernel/net/tun.ko.
And it still doesn't work. The command "modinfo tun" doesn't output anything.
Any advice about the install tun on Ubuntu 16.04?