Wireguard Kernel Module Error on 5.14.104-tegra

Hello Everyone,

I’m trying to install wireguard to run a vpn on my Jetson AGX Orin device. I’m having issues with the kernel, I was wondering if anyone had a solution? I specifically would like to use wireguard for my vpn. My device is running Ubuntu 22.04 with Jetpack 6.1. For sanity I’ve double checked and confirmed my configurations and everything are correct they work on other ubuntu devices I think the issue is being cause by the kernel version. I’m fairly new to working with Jetson Devices so forgive my noobness.

1 Like

Hi,
If the device cannot be flashed/booted, please refer to the page to get uart log from the device:
Jetson/General debug - eLinux.org
And get logs of host PC and Jetson device for reference. If you are using custom board, you can compare uart log of developer kit and custom board to get more information.
Also please check FAQs:
Jetson AGX Orin FAQ
If possible, we would suggest follow quick start in developer guide to re-flash the system:
Quick Start — NVIDIA Jetson Linux Developer Guide 1 documentation
And see if the issue still persists on a clean-flashed system.
Thanks!

Hi,
Please check if any kernel configs have to be enabled for the function. If yes, you may follow the guidance to build kerel image:

Kernel Customization — NVIDIA Jetson Linux Developer Guide 1 documentation

Hi Carolyuu,

When I started the device had Ubuntu 20.04 with Jetpack 5.3 installed and I thought that was the issue, so I did a complete re-flash and install of Ubuntu 22.04 with Jetpack 6.1 The current kernel version as of right now is 5.15.136-tegra. When i try to run “modprobe wireguard” it returns “modprobe: FATAL: Module wireguard not found in directory /lib/modules/5.15.136-tegra” The command “uname -r” return “5.15.136-tegra”, but inside the directory /usr/src there is 3 different Linux headers options, 1) linux-headers-5.15.0-126 2) linux-headers-5.15.0-126-generic 3) linux-headers-5.15.136-tegra-ubuntu22.04_aarch64. Also, when I run " ls /usr/src/linux-headers-5.15.136-tegra-ubuntu22.04_aarch64" it only returns “64” and “3rdparty” and no other subdirectories or files. I Believe this is the issue and why the command “sudo apt install -y dkms build-essential linux-headers-5.15.136-tegra-ubuntu22.04_aarch6” is not working. I’m assuming it must me manually installed because the command “dpkg -l | grep linux-headers” doesn’t return a “linux-headers-5.15.136-tegra” only the “linux-headers-5.15.0-126”, “linux-headers-5.15.0-126-generic”, “linux-headers-generic”. Can someone please point me to a guide on how to manually install the headers for the correct kernel version.

Hi, DaneLL

I’d prefer to not rebuild a custom kernel if possible I found the correct version on this webpage Jetson Linux 36.2 | NVIDIA Developer and i downloaded the Drive Package (BSP) Now i’m going to attempt to extract the kernel source files and put them in the correct linux header, so I can install the wireguard kernel module correctly. I’m not sure if this is a solution though I will update after trying.

Hi,
For Jetpack 6.1, please check this webpage:

Jetson Linux | NVIDIA Developer

I was running out of time and couldn’t find a solution to install the correct wireguard kernel module for 5.15.1360terga. Instead of continuing to exhaust myself on this I decided to just run a kvm with wireguard vpn running on that instead. I’m still curious to get it working in the tegra kernel I just don’t have the time.

Hi,
We don’t have much experience about this use-case and would need other users to share experience. If there is an existing solution, you may adopt it and see if there is further suggestion from other users.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.