Hi, I have recently spent quit a lot time to make the OpenVPN working.
One of the things I struggled with was to make the "Universal TUN/TAP device driver" load automatically after reboot.
Not sure if it is the image for the DM800HD PVR self (dreambox-image-dm800-20151205.nfi) or the issue with installing the geminiopenvpn - 0.15-r2 plugin with --force-depends parameter, because otherwise it would never install as there is no kernel-module-bridge package for the mips32el-nf platform available.
I am using the OpenVPN in tunneling mode eg. with "dev tun" parameter in configs. So there is no need for the dependent kernel-module-bridge package in this case.
Here are the steps I had to do to make the box load the tun driver module.
###############################
#TUN/TAP driver module loading
###############################
#make TUN module load automatically
edit the /etc/modules file to contain "tun" module
put it between the "### update-modules: start processing..." and "### update-modules: stop processing..."
run following commands in telnet:
mkdir /dev/net/
mknod /dev/net/tun c 10 200
cat /dev/net/tun
depmod -a
lsmod | grep tun
this is how the output should look like:
root@dm800:~# mkdir /dev/net/
root@dm800:~# mknod /dev/net/tun c 10 200
root@dm800:~# cat /dev/net/tun
cat: read error: File descriptor in bad state
root@dm800:~# depmod -a
root@dm800:~# lsmod | grep tun
tun 9536 1
then reboot the box:
reboot
after reboot run following command:
cat /var/log/messages | grep tun:
If you see following result, everything works as expected:
root@dm800:~# cat /var/log/messages | grep tun:
Jan 1 01:00:45 dm800 user.info kernel: [4294700.749000] tun: Universal TUN/TAP device driver, 1.6
Jan 1 01:00:45 dm800 user.info kernel: [4294700.750000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Display More
hope it helps to save somebody some time;)
have fun
PiGeon
PS: Sorry for writing in English, but in the meantime I am better at it than in German. You don't need to keep this thread in English, I can answer in German if somebody needs an explanation