The officially official Devuan Forum!

You are not logged in.

#1 2025-01-16 11:47:03

SpongeBOB
Member
From: Brussels
Registered: 2022-02-07
Posts: 161  

Installed the latest possible version of wireguard on Chimaera.

Hi,

I would like to install the lastest version of wireguard* on Chimaera.

wireguard as been incorporated into Linux kernel since version 5.6

cat /boot/config-5.10.0-9-amd64 | grep WIREGUARD

CONFIG_WIREGUARD=m
# CONFIG_WIREGUARD_DEBUG is not set

ok so my kernel have wireguard as module.

So I presumed I had only need an interface to interact with wireguard.

but
apt show wireguard

...
Version: 1.0.2021 02 23-1
Depends: wireguard-modules (>= 0.0.20191219) | wireguard-dkms (>= 0.0.20200121-2), wireguard-tools (>= 1.0.20210223-1)
...

apt show wireguard-modules

Package: wireguard-modules
State: not a real package (virtual)
N: Can't select candidate version from package wireguard-modules as it has no candidate
N: Can't select versions from package 'wireguard-modules' as it is purely virtual
N: No packages found

I'm lost here.

-

apt show wireguard-dkms

...
This package uses DKMS to automatically build the wireguard kernel module.

I supposes this is required for system that do not have the CONFIG_WIREGUARD ?

apt show wireguard-tools

Version: 1.0.2021 02 23-1

I see on https://www.wireguard.com/install/#debian-module-tools that the lastest version of tools is v1.0.2021 09 14

Is this version will be compatible with Chimaera ? Is yes, how can I install it ?

Last edited by SpongeBOB (2025-01-17 05:49:32)


Linux noob, plz be kind big_smile

Offline

#2 2025-01-16 16:01:11

nixer
Member
From: North Carolina, USA
Registered: 2016-11-30
Posts: 220  

Re: Installed the latest possible version of wireguard on Chimaera.

I have wireguard installed on chimaera.  Only "wireguard" and "wireguard-tools" are installed:

root@localhost:/home/user# apt policy wireguard*
wireguard-dkms:
  Installed: (none)
  Candidate: 1.0.20210219-1
  Version table:
     1.0.20210219-1 500
        500 http://gnlug.org/pub/devuan/merged chimaera/main amd64 Packages
wireguard-tools:
  Installed: 1.0.20210223-1
  Candidate: 1.0.20210223-1
  Version table:
 *** 1.0.20210223-1 500
        500 http://gnlug.org/pub/devuan/merged chimaera/main amd64 Packages
        100 /var/lib/dpkg/status
wireguard-modules:
  Installed: (none)
  Candidate: (none)
  Version table:
wireguard:
  Installed: 1.0.20210223-1
  Candidate: 1.0.20210223-1
  Version table:
 *** 1.0.20210223-1 500
        500 http://gnlug.org/pub/devuan/merged chimaera/main amd64 Packages
        100 /var/lib/dpkg/status

I "think" I installed it with

apt install wireguard

Wireguard works fine.  There are many good tutorials on the web about setting up the keys after installing.

I think the wireguard-dkms and wireguard-modules packages are for the older packages that were before wireguard was included in the kernel.

Offline

#3 2025-01-17 05:59:58

SpongeBOB
Member
From: Brussels
Registered: 2022-02-07
Posts: 161  

Re: Installed the latest possible version of wireguard on Chimaera.

Thank you nixer

We can see that the candidate version for wireguard-tools is 1.0.2021 02 23-1

The latest for debian is 1.0.2021 09 14

In Daedalus the candidate version is 1.0.2021 09 14

So I was wondering if we could for example update the /etc/apt/sources to

deb http://deb.devuan.org/merged daedalus          main
deb http://deb.devuan.org/merged daedalus-updates  main
deb http://deb.devuan.org/merged daedalus-security main

Too get this latest version of if this will not cause problems ?

Thanks


Linux noob, plz be kind big_smile

Offline

#4 2025-01-19 16:51:36

nixer
Member
From: North Carolina, USA
Registered: 2016-11-30
Posts: 220  

Re: Installed the latest possible version of wireguard on Chimaera.

Too get this latest version of if this will not cause problems ?

I would not do that.  I would use the current version shown for the chimaera release.  Generally speaking, you should not mix "newer" versions of a program unless they were found in the "backports" section of that release cycle.  Even this could be considered for more advanced users.  I would use the version of wireguard for chimaera, as shown  in my first post above.  It works fine and it installs and configures the same way. 

I have some links to the tutorials that I used to configure wireguard, but there are many guides that can be found on the internet.

Last edited by nixer (2025-01-19 17:16:05)

Offline

Board footer