[meta-xilinx] Including TUN/TAP kernel drivers for openVPN

Brett R. Nicholas Brett.R.Nicholas.TH at dartmouth.edu
Wed May 31 10:11:23 PDT 2017


Hi there,


I need to run openVPN on the Zedboard, which requires access to the TUN/TAP network interface. OpenVPN installed fine, and is incorporated into my image, but it appears that the necessary TUN/TAP kernel drivers are not present.


How can I ensure that the TUN/TAP kernel drivers are included in my image?



I have the following two lines in my conf/local.conf file:

IMAGE_INSTALL_append = " kernel-modules"
CORE_IMAGE_EXTRA_INSTALL += "openssl openvpn docker tunctl


Does meta-xilinx not have a recipe for the TUN/TAP kernel modules? I don't know how I could include them in my (otherwise plain) linux-xlnx kernel.


I also tried using bitbake -c menuconfig virtual/kernel to manual include the modules in the image, however after doing this and rerunning bitbake core-image-minimal I still did not see tun.ko appear in either of the two locations below that I would expect them to be installed to...


tmp/work/zedboard_zynq7-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/lib/modules/4.6.0-xilinx-v2016.3/kernel/net/

or

tmp/work/zedboard_zynq7-poky-linux-gnueabi/linux-xlnx/4.6-xilinx-v2016.3+gitAUTOINC+0e4e407149-r0/image/lib/modules/4.6.0-xilinx-v2016.3/kernel/net


Any help appreciated. Thanks!

- Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20170531/a9bd5518/attachment.html>


More information about the meta-xilinx mailing list