rock64 can't install wireguard

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
ihitmani
Posts: 7
Joined: Mon Aug 27, 2018 11:27 pm

rock64 can't install wireguard

Post by ihitmani »

Hello, tried to install this : https://packages.debian.org/sid/wireguard-tools , installed linux-headers-4.4.77-rockchip-ayufan-136 by following this : viewtopic.php?f=15&t=2987&p=11616&hilit=headers#p11616. But no luck:

/header/usr/src# modprobe wireguard && lsmod | grep wireguard

modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.132-1075-rockchip-ayufan-ga83beded8524/modules.dep.bin'
modprobe: FATAL: Module wireguard not found in directory /lib/modules/4.4.132-1075-rockchip-ayufan-ga83beded8524
User avatar
MichaIng
Site Admin
Posts: 2333
Joined: Sat Nov 18, 2017 6:21 pm

Re: rock64 can't install wireguard

Post by MichaIng »

There are some kernel requirements, not sure if it's related: https://www.wireguard.com/install/#kernel-requirements

Does the modprobe command work in combination with other modules, where you know that they are available and working? E.g. modprobe ipv6?
User avatar
WarHawk
Posts: 622
Joined: Thu Jul 20, 2017 8:55 am

Re: rock64 can't install wireguard

Post by WarHawk »

Looks like it needs wireguard-dkms as a rec
An essential feature of DKMS is that it automatically recompiles all DKMS modules if a new kernel version is installed. This allows drivers and devices outside of the mainline kernel to continue working after a Linux kernel upgrade.
https://en.wikipedia.org/wiki/Dynamic_K ... le_Support

https://www.linode.com/docs/networking/ ... on-ubuntu/
Post Reply