Jump to content

Installation of Wireguard


tpanum

Recommended Posts

Hi Igor,

 

Thank you for the download but  get the following error:

 

noname@hc1:~$ sudo apt install wireguard-tools_1.0.20200827-1_bpo10+1_armhf.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package wireguard-tools_1.0.20200827-1_bpo10+1_armhf.deb
E: Couldn't find any package by glob 'wireguard-tools_1.0.20200827-1_bpo10+1_armhf.deb'
E: Couldn't find any package by regex 'wireguard-tools_1.0.20200827-1_bpo10+1_armhf.deb'
noname@hc1:~$ 
 

What I'm doing wrong?

 

Thanks for helping

ChriWo

Link to comment
Share on other sites

Hi, this seems to be an issue again with Odroid XU4 + Armbian.

 

When I try to bring up a Wireguard interface I get:

 

jul 17 12:52:30 odroidxu4 wg-quick[1940]: [#] ip link add wg0 type wireguard
jul 17 12:52:30 odroidxu4 wg-quick[1949]: Error: Unknown device type.
jul 17 12:52:30 odroidxu4 wg-quick[1952]: Unable to access interface: Protocol not supported

 

Both wireguard and wireguard tools are up to date, I restarted the device multiple times. "sudo dkms status" doesn't output anything.

 

Based on "sudo apt update" / "sudo apt dist-upgrade" I'm up to date.

Looks like the wireguard module isn't loaded at all:
 

$ sudo lsmod | grep wire
<no output>

 

Version information:

$ uname -a
Linux odroidxu4 5.4.243-odroidxu4 #1 SMP PREEMPT Mon May 22 13:57:29 UTC 2023 armv7l GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Armbian 23.05.1 bookworm
Release:	12
Codename:	bookworm

 

I tried to find some "odroidxu4 specific kernel headers package", but that fails:

$ sudo dpkg-reconfigure linux-headers-current-odroidxu4
Compiling headers - please wait ...
Makefile:583: arch//Makefile: No existe el fichero o el directorio
make: *** No hay ninguna regla para construir el objetivo 'arch//Makefile'.  Alto.
Makefile:927: scripts/Makefile.ubsan: No existe el fichero o el directorio
make: *** No hay ninguna regla para construir el objetivo 'scripts/Makefile.ubsan'.  Alto.
Makefile:927: scripts/Makefile.ubsan: No existe el fichero o el directorio
make: *** No hay ninguna regla para construir el objetivo 'scripts/Makefile.ubsan'.  Alto.

 

How can I make Wireguard usable on the OdroidXU4 with Armbian?

Link to comment
Share on other sites

5 hours ago, Justly5653 said:

How can I make Wireguard usable on the OdroidXU4 with Armbian?


Try EDGE kernel. Module for WG should be already in. For this 5.4.y kernel we need to look why headers are broken ...

Link to comment
Share on other sites

Hi Igor, thanks for the quick reply!

 

On 7/17/2023 at 6:22 PM, Igor said:

Try EDGE kernel. Module for WG should be already in. For this 5.4.y kernel we need to look why headers are broken ...

 

How can I do that? Is there a specific package I should install? Thanks.

Link to comment
Share on other sites

On 7/24/2023 at 2:54 PM, Werner said:

Try with armbian-config -> system -> other

 

Thanks, that worked. However the edge kernel doesn't seem to have the eCryptfs module (the one which can be used to encrypt home directories: https://man.archlinux.org/man/extra/ecryptfs-utils/ecryptfs-migrate-home.8.en).

 

When I tried to go back to the current kernel (again with armbian-config -> system -> other), the whole system just didn't start after reboot. I'll have to re-flash my eMMC storage with armbian.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines