You are not logged in.

#1 2025-10-25 06:39:47

stickynotememo
Member
Registered: 2025-09-29
Posts: 5

[SOLVED] Wireguard kernel module not loaded & can't install wireguard

When setting up wireguard,

# ip link add dev wg0 type wireguard

returns `Error: unknown device type.`

It seems that this is occurring because the wireguard kernel module is not loaded.

$ lsmod | grep wireguard

returns nothing.

I cannot install the wireguard module using

# pacman -S wireguard-dkms

, and

# modprobe wireguard

also cannot find the module. The wiki says that the module should be installed by default. I have tried a system upgrade.

Last edited by stickynotememo (2025-10-26 11:57:05)

Offline

#2 2025-10-25 07:09:24

kinghol
Member
Registered: 2014-02-28
Posts: 24

Re: [SOLVED] Wireguard kernel module not loaded & can't install wireguard

You do not have to load or install anything related do wireguard.

I do not know what you want to do but you want to start reading there: https://wiki.archlinux.org/title/WireGuard

Offline

#3 2025-10-25 10:44:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,141

Re: [SOLVED] Wireguard kernel module not loaded & can't install wireguard

I would assume you've updated the kernel, so now the old kernel that you're running has no modules available. Reboot.

Offline

#4 2025-10-26 11:56:12

stickynotememo
Member
Registered: 2025-09-29
Posts: 5

Re: [SOLVED] Wireguard kernel module not loaded & can't install wireguard

Yes. Solved

Offline

Board footer

Powered by FluxBB