Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Phil Perry <pperry@elrepo.org>
To: wireguard@lists.zx2c4.com
Subject: Re: Cannot add wg0 on CentOS 8
Date: Fri, 10 Dec 2021 23:33:47 +0000	[thread overview]
Message-ID: <46de3fe6-b355-41c3-d92e-dfdffb163dd9@elrepo.org> (raw)
In-Reply-To: <1877736804.292900.1639046846065@mail.yahoo.com>

On 09/12/2021 10:47, Mehdi Haghgoo wrote:
> Hi,
> 
> I'm trying to add  a wireguard device on CentOS Stream (was Linux just converted to Stream).
> When I enter "ip link add wg0 type wireguard" or try it using wg-quick wg0 up, I get the following error:
> 
> RTNETLINK answers: Operation not supported
> 
> I have wireguard-tools and kmod-wireguard installed.
> Additional information:
> 
> uname -r: 4.18.0-147.8.1.el8_1.x86_64
> 
> wg --version: wireguard-tools v1.0.20210914 - https://git.zx2c4.com/wireguard-tools/
> 
> kmod-wireguard version: 1.0.20211208
> 
> 
> Best regards,
> Mehdi

Is the wireguard module loaded? I doubt it.

You are running a *very* old kernel, and I suspect the version of 
kmod-wireguard you are running does not support that kernel. Why are you 
running a kernel that is two years out of date and full of unpatched 
security holes? Updating your system is probably the first step to 
fixing your issue.


  reply	other threads:[~2021-12-10 23:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1877736804.292900.1639046846065.ref@mail.yahoo.com>
2021-12-09 10:47 ` Mehdi Haghgoo
2021-12-10 23:33   ` Phil Perry [this message]
2021-12-11 17:25     ` Toke Høiland-Jørgensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46de3fe6-b355-41c3-d92e-dfdffb163dd9@elrepo.org \
    --to=pperry@elrepo.org \
    --cc=wireguard@lists.zx2c4.com \
    --subject='Re: Cannot add wg0 on CentOS 8' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).