ewaldc / My-Book-Live

Kernel patches and Debian release for Western Digital My Book Live
41 stars 7 forks source link

Kernel 4.19 does not have net/tun(net/tap) interface enabled #15

Closed alexbond73 closed 4 years ago

alexbond73 commented 4 years ago

Kernel 4.19 does not have net/tun(net/tap) interface enabled. Would it be possible to get one, with tun/tap built-in or in a module? So that openvpn client/server can be run on the wdmbl box.

ewaldc commented 4 years ago

My development MBL died, so I can no longer test anything. Will see what I can do....

ewaldc commented 4 years ago

Can you try this kernel ? Replace the 4.19.99 kernel uImage in /boot and add drivers/net/tun.ko into /lib/modules/\<kernel version>/kernel

Unfortunately I can no longer test anything...

alexbond73 commented 4 years ago

THANKS A LOT! Will try it!

alexbond73 commented 4 years ago

It worked! The only issue - I have to load the module manually, with: $ insmod /lib/modules/4.19.99/kernel/drivers/net/tun.ko And I did create the node for the interface: $ sudo mkdir /dev/net $ sudo mknod /dev/net/tun c 10 200 $ sudo chmod 666 /dev/net/tun

ewaldc commented 4 years ago

Debian Jessie supports systemd, hence you should be able to autoload modules using this