LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 09-04-2022, 02:04 PM   #1
pm_a_cup_of_tea
Member
 
Registered: May 2021
Location: UK
Posts: 86

Rep: Reputation: 56
Wireguard - kernel module?


I've been having a look at wireguard, on my x86_64 I have it running with out a problem so I decided to use it on my raspberry pi4 and I'm getting the following error message:

Code:
bash-5.1# wg-quick up wg_conf_file
Code:
[#] ip link add wg_conf_file type wireguard
Error: Unknown device type.
Unable to access interface: Protocol not supported
[#] ip link delete dev wg_conf_file
Cannot find device "wg_conf_file"
I looked at my VPN's help page which told me:
Quote:
I use the WireGuard kernel module and can’t connect. Why do I get "Protocol not supported"?

Make sure the kernels and kernel headers that you are running match those from when you installed the WireGuard packages. If not, then upgrade them.

Try rebooting to see if the kernel module loads correctly: in a terminal, issue
Code:
sudo modprobe wireguard && lsmod | grep -i wireguard.
which returns:

Code:
modprobe: FATAL: Module wireguard not found in directory /lib/modules/5.18.19-armv8
My x86_64 machine is running Slackware15 whilst my raspberry pi 4 is running 'Slackware AARch64' using the '5.18.19-armv8' kernel.

Will I have to add the appropriate module?

Last edited by pm_a_cup_of_tea; 09-04-2022 at 02:27 PM.
 
Old 09-05-2022, 08:43 AM   #2
Dunc.
Member
 
Registered: Jul 2012
Location: Cumbria UK
Distribution: Slackware
Posts: 62

Rep: Reputation: 30
You're right I looked at the config.
Code:
# CONFIG_WIREGUARD is not set
I use wireguard to have access to new home network when away. I am on slarm64 right now but as soon as aarch64 settles down a bit and I find the time to build all the SBo's again I will move over. You can build it yourself. You just need to build the modules and do a modules_install. It will load auto-magically when needed.

Dunc.
 
1 members found this post helpful.
Old 09-13-2022, 09:56 AM   #3
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617

Rep: Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346
Quote:
Originally Posted by pm_a_cup_of_tea View Post
Code:
modprobe: FATAL: Module wireguard not found in directory /lib/modules/5.18.19-armv8
My x86_64 machine is running Slackware15 whilst my raspberry pi 4 is running 'Slackware AARch64' using the '5.18.19-armv8' kernel.

Will I have to add the appropriate module?
I'll rebuild 5.18.19 with that option for the next batch, probably this week or early next.
Linux 5.19 still breaks on the RPi4 so we're awaiting Linux 6.0 (which so far works on the RPi4, so Brent tells me!)

I like your user name. It's inspired me to brew a tea.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireguard module lambo69 Slackware - ARM 10 08-07-2020 03:31 PM
Wireguard dkms module fails feffer777 Linux - Kernel 1 06-23-2020 03:34 PM
LXer: SystemRescueCd 6.1 Adds WireGuard Support, Linux Kernel 5.4 LTS LXer Syndicated Linux News 0 03-03-2020 06:01 AM
LXer: New features for Raspberry Pi, Wireguard in the Linux kernel, NSA Python course and more open source news LXer Syndicated Linux News 0 02-16-2020 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 10:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration