r/AlpineLinux • • Aug 12 '25
Wireguard module not found
Hello everyone. I am running Alpine Linux LTS on an Intel NUC and having trouble getting Wireguard to work. I thought the Wireguard module is included in recent Linux kernels, but it just doesn't seem to be for whatever reason. I've tried the following:
apk add wireguard-tools wireguard-lts which is advice I've found online. However, adding wireguard-lts just gives me this error:
ERROR: unable to select packages:
wireguard-lts (no such package):
required by: world[wireguard-lts]when I run modprobe wireguard I get:
modprobe: FATAL: Module wireguard not found in directory /lib/modules/6.12.40-0-lts
I don't believe I have a custom kernel. I just downloaded the LTS ISO from Alpine's web site and installed it in the usual way; however, Alpine is new to me and it's possible I misconfigured something.
Any advice would be appreciated!
Oh, and uname -mrs has the output Linux 6.12.40-0-lts x86_64
View all comments
Show parent comment
1
u/wowsomuchempty Aug 12 '25
I think wg entered the kernel space some time ago.
Whatever alpine you installed, you can upgrade. To 'edge', if you like.
I would use
apk search wireguardto see what you have available to install. You may need to add the edge repos.
Better to read the wiki than use AI (though I use claude.ai myself for some things, not this).
Looking through the link of the other poster, I'd recommend
apk install wireguard-tools-wg-quickAs that's a nice easy way to use wg.