TUN Module Missing on RISC-V Debian for VPN Client Setup

Hi Team,

I’ve successfully deployed Debian OS on a RISC-V board and am currently working on configuring VPN client connectivity using OpenVPN and WireGuard.

However, while attempting to connect the VPN client to the server, I encountered an error indicating that the TUN kernel module is missing . This is preventing the VPN tunnel from being established.

Could you please advise on how to enable or install the TUN module for RISC-V Debian? Any guidance or workaround would be appreciated.

You can replace the kernel 6.12.28 from irradium, I included this module and others for networking.

1 Like

Can you provide the RISC-V board model and Debian OS version number? I confirm if I have used the same Debian OS and RISC-V board.

Hi @lzzhzh

This is our board version, Attached screenshot

ok, I see that you are using vf2,But I didn’t see the debian version you’re using.
I assume you are using the official image debian2409 from Starfive, or the debian2409 pro I created.

I didn’t use the toolkit you mentioned.
I am in debian2409 and debian2409Pro, The VPN client has been using Remmina and TigerVnc for over 1 year.

image

Hi @lzzhzh

This is the error we are encountering on the Startfive board using the Debian OS for the OpenVPN client.

sorry,Because I am using remmina and tigervnc normally in vf2-Debian2409 and debian2409pro, So I didn’t study OpenVPN.

Or you can try irradium OS ,Previously replied to your Mara is the creator of irradium os.

You need to enable CONFIG_TUN and CONFIG_TAP and rebuild the Linux kernel

Can you please share the steps to enable, it will very usefull for us