darkm4n
-
Content Count
2 -
Joined
-
Last visited
Posts posted by darkm4n
-
-
Hello,
I am using a ThinkerBoard, Tinker OS (Tinker_Board-Debian-Buster-v3.0.11-20211026) and I have the same issue with Wireguard.
Error.
Quote$ wg-quick up wg0
[#] ip link add wg0 type wireguard
RTNETLINK answers: Operation not supported
Unable to access interface: Protocol not supported
[#] ip link delete dev wg0
Cannot find device "wg0I verify that I am up to date.
Quotesudo apt update && sudo apt upgrade
The kernel version is.
Quoteuname -r
4.4.194Everything points to a headers issue, but I haven't found a solution.
Quotemodprobe wireguard
modprobe: FATAL: Module wireguard not found in directory /lib/modules/4.4.194I search for the headers with the same kernel version (4.4.194).
Quoteapt list linux-headers-4.*
But the most similar is 4.19.*,.
What is recommended in these cases?
- Keep looking for the headers (4.4.194).
- Look for another kernel and install the headers?I even ran a test, install a new kernel and header version.
Quoteapt-get install linux-image-4.19.0-23-armmp linux-headers-4.19.0-23-armmp
reboot
apt install --reinstall wireguard wireguard-dkms(Its armmp version ok?)
Reinstall the app.
Quoteapt install --reinstall wireguard wireguard-dkms
Looks that its installed on the new kernel version 4.19.0.23.
Setting up wireguard-dkms (1.0.20210219-1~bpo10+1) ...
Loading new wireguard-1.0.20210219 DKMS files...
It is likely that 4.4.194 belongs to a chroot's host
Building for 4.19.0-23-rt-armmp
Building initial module for 4.19.0-23-rt-armmp
Done.wireguard.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-23-rt-armmp/updates/dkms/depmod...
DKMS: install completed.
Setting up wireguard (1.0.20210223-1~bpo10+1) ...But I have the same problem, it doesn't seem to recognize it. It still refers to the previous kernel.
Quotemodprobe wireguard
modprobe: FATAL: Module wireguard not found in directory /lib/modules/4.4.194If anyone has an idea? :)
Regards.
No wireguard headers
in Software
Posted
Hello,
Searching the forum I found another similar topic, where they share the download link for the headers (linux-headers-4.4.194_4.4.194-7_armhf.deb).
Once downloaded, installed reboot, then reinstall the wireguard, reboot and run.
Regards.