[yocto] Including TUN/TAP kernel drivers for openVPN
ticotimo at gmail.com
Sat Jun 10 08:08:28 PDT 2017
On Sat, Jun 10, 2017 at 7:01 AM Brett R. Nicholas <
Brett.R.Nicholas.TH at dartmouth.edu> wrote:
> Hi there,
> I'm using Yocto (morty) to build a custom linux image for a Zedboard. I
> need the image to run openVPN, which requires access to the TUN/TAP
> virtual network interface. I successfully incorporated openVPN and all its
> dependencies into my image using the meta-networking layer, but it appears
> that the necessary TUN/TAP kernel drivers are not present in the image.
> *How can I ensure that the TUN/TAP kernel drivers are included in my
> 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
> I don't know how I could include them in my image. I tried adding
> kernel-module-tun to my IMAGE_INSTALL_append as mentioned here (
> but it does not appear this is a valid package provided by any of my
> layers. Maybe I am doing this part incorrectly?
> 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:
> I should note that I'm using the meta-xilinx and meta-xilinx-tools layers
> in addition to a few custom layers of my own. None of these should affect
> this problem, AFAIK.
> Any help appreciated, thanks!
> - Brett
> yocto mailing list
> yocto at yoctoproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the yocto