Hello everyone,
I’m currently working on networking integration on the BeagleV-Fire (Ubuntu-based image) and ran into an issue with TUN/TAP support.
I’m trying to use a TUN interface (for an ESP32 networking bridge), but it appears that the kernel does not have TUN enabled.
What I’m seeing
- Attempting to load the module:
sudo modprobe tun
gives:
modprobe: FATAL: Module tun not found in directory /lib/modules/6.6.51-mpfs-riscv64-r7
- Checking kernel config:
zcat /proc/config.gz | grep CONFIG_TUN
returns:
CONFIG_TUNE_GENERIC=y
# CONFIG_TUN is not set
# CONFIG_TUN_VNET_CROSS_LE is not set
System details
-
Board: BeagleV-Fire
-
OS: Ubuntu 24.04.2 LTS (prebuilt image)
-
Kernel:
6.6.51-mpfs-riscv64-r7
Questions
-
Is it expected that the default Ubuntu image for BeagleV-Fire ships without TUN/TAP support?
-
Are there recommended images or kernels that include
CONFIG_TUNenabled? -
Any known limitations to enabling TUN?
Context
My use case involves creating a virtual network interface to bridge traffic between Linux and an ESP32 (via UART using GitHub - fabio-d/esp32-tuntap: ESP32 as a wireless dongle · GitHub), so TUN is pretty central to the setup.
Any guidance or pointers would be greatly appreciated.