Wireguard module not found

Installed wireguard-tools. This is what I get from sudo wg-quick up manjaro (manjaro is my client config name):

sudo wg-quick up manjaro
[#] ip link add manjaro type wireguard
Error: Unknown device type.
Unable to access interface: Protocol not supported
[#] ip link delete dev manjaro
Cannot find device "manjaro"

This is what I get from sudo modprobe wiregaurd:

modprobe: FATAL: Module wiregaurd not found in directory /lib/modules/5.4.141-1-MANJARO

Wireguard was not added until kernel 5.6.

If you can’t update to 5.10 for some reason, you should install wireguard-dkms from the AUR + the headers for your kernel.

2 Likes

How can I update ?
Isn’t it with sudo pacman -Syu ?

No. Kernel versions do not get updated, because they are separate packages.

Open up Manjaro Settings Manager → Kernel, and press install on linux510. Then reboot and see if wireguard now works for you. :slight_smile:

1 Like

Thank you I used mhwd-kernel.

1 Like

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