When attempting to make a Wireguard connection with the included 5.10.104-tegra wireguard module i received the error
[#] ip link add peer2 type wireguard
Error: Unknown device type.
Unable to access interface: Protocol not supported
[#] ip link delete dev peer2
Cannot find device “peer2”
when entering ‘sudo modprobe wireguard’ I get the error.
modprobe: ERROR: could not insert ‘wireguard’: Exec format error.
I have attempted to build from source,
Compilation from Source Code - WireGuard.
As recommended in here
however, this only works on my nanos that are earlier kernel versions that do not include wireguard out of the box.
on my AGX Orion I frustratingly get the error
error: #error “WireGuard has been merged into Linux >= 5.6 and therefore this compatibility module is no longer required.”
38 | #error “WireGuard has been merged into Linux >= 5.6 and therefore this compatibility module is no longer required.”
when runing the ’ make -C wireguard-linux-compat/src -j$(nproc) ’ command