'RNETLINK answers: Operation not supported'. (fresh Ubuntu, fresh Wireguard)











up vote
1
down vote

favorite












I installed Ubuntu just today to run Wireguard



I then followed their installation instructions for Ubuntu.



$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt-get update
$ sudo apt-get install wireguard-dkms wireguard-tools


Unfortunately their 'Quick start' has been anything but..



$ ip link add dev wg0 type wireguard
RNETLINK answers: Operation not supported


Freaking STOCK Ubuntu and STOCK Wireguard and i'm getting problems already. This is why I was staying away from Linux in the first place.. yet here I am, posting questions on a troubleshooting forum within hours.



I checked headers, checked updates, etc. No dice.










share|improve this question




























    up vote
    1
    down vote

    favorite












    I installed Ubuntu just today to run Wireguard



    I then followed their installation instructions for Ubuntu.



    $ sudo add-apt-repository ppa:wireguard/wireguard
    $ sudo apt-get update
    $ sudo apt-get install wireguard-dkms wireguard-tools


    Unfortunately their 'Quick start' has been anything but..



    $ ip link add dev wg0 type wireguard
    RNETLINK answers: Operation not supported


    Freaking STOCK Ubuntu and STOCK Wireguard and i'm getting problems already. This is why I was staying away from Linux in the first place.. yet here I am, posting questions on a troubleshooting forum within hours.



    I checked headers, checked updates, etc. No dice.










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I installed Ubuntu just today to run Wireguard



      I then followed their installation instructions for Ubuntu.



      $ sudo add-apt-repository ppa:wireguard/wireguard
      $ sudo apt-get update
      $ sudo apt-get install wireguard-dkms wireguard-tools


      Unfortunately their 'Quick start' has been anything but..



      $ ip link add dev wg0 type wireguard
      RNETLINK answers: Operation not supported


      Freaking STOCK Ubuntu and STOCK Wireguard and i'm getting problems already. This is why I was staying away from Linux in the first place.. yet here I am, posting questions on a troubleshooting forum within hours.



      I checked headers, checked updates, etc. No dice.










      share|improve this question















      I installed Ubuntu just today to run Wireguard



      I then followed their installation instructions for Ubuntu.



      $ sudo add-apt-repository ppa:wireguard/wireguard
      $ sudo apt-get update
      $ sudo apt-get install wireguard-dkms wireguard-tools


      Unfortunately their 'Quick start' has been anything but..



      $ ip link add dev wg0 type wireguard
      RNETLINK answers: Operation not supported


      Freaking STOCK Ubuntu and STOCK Wireguard and i'm getting problems already. This is why I was staying away from Linux in the first place.. yet here I am, posting questions on a troubleshooting forum within hours.



      I checked headers, checked updates, etc. No dice.







      software-installation ip troubleshooting






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 29 at 10:51









      abu_bua

      3,03771022




      3,03771022










      asked Nov 5 '17 at 21:01









      PostNationalist

      63




      63






















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          1
          down vote













          Just reboot, that should have fixed your problem.



          But still: Wireguard although it works fine for me is still in beta and not meant for daily use.
          From the developers website at wireguard.com:




          Warning: WireGuard is currently under development, and therefore any installation steps here should be considered as experimental. We are rapidly working toward mainline inclusion, at which point we will consider this codebase non-experimental.







          share|improve this answer





















          • Nope. Does not work on current KDE Neon which has Ubuntu 18.04 as base.
            – nerdoc
            Nov 21 at 10:10




















          up vote
          0
          down vote













          I did a few things. I'm not sure whether individual or a combination of them helped.




          • disable secure boot

          • reboot my laptop (Ubuntu 17.10)


          One thing that is worth mentioning: after those actions, I ran commands to setup WireGuard successfully with sudo. Previously, I couldn't.






          share|improve this answer






























            up vote
            0
            down vote













            Most probably the wireguard kernel module is not loaded.
            Just try a modprobe wireguard. If this shows an error, the problem is that the module did not compile correctly for your kernel. This, most probably, is because wireguard is still not completely "stable".



            If this is the case, just wait for an update of wireguard, in case of such an error this should be the case within a few days, as the wireguard devs seem to fix these kind of problems very fast.






            share|improve this answer





















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














               

              draft saved


              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f973297%2frnetlink-answers-operation-not-supported-fresh-ubuntu-fresh-wireguard%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              Just reboot, that should have fixed your problem.



              But still: Wireguard although it works fine for me is still in beta and not meant for daily use.
              From the developers website at wireguard.com:




              Warning: WireGuard is currently under development, and therefore any installation steps here should be considered as experimental. We are rapidly working toward mainline inclusion, at which point we will consider this codebase non-experimental.







              share|improve this answer





















              • Nope. Does not work on current KDE Neon which has Ubuntu 18.04 as base.
                – nerdoc
                Nov 21 at 10:10

















              up vote
              1
              down vote













              Just reboot, that should have fixed your problem.



              But still: Wireguard although it works fine for me is still in beta and not meant for daily use.
              From the developers website at wireguard.com:




              Warning: WireGuard is currently under development, and therefore any installation steps here should be considered as experimental. We are rapidly working toward mainline inclusion, at which point we will consider this codebase non-experimental.







              share|improve this answer





















              • Nope. Does not work on current KDE Neon which has Ubuntu 18.04 as base.
                – nerdoc
                Nov 21 at 10:10















              up vote
              1
              down vote










              up vote
              1
              down vote









              Just reboot, that should have fixed your problem.



              But still: Wireguard although it works fine for me is still in beta and not meant for daily use.
              From the developers website at wireguard.com:




              Warning: WireGuard is currently under development, and therefore any installation steps here should be considered as experimental. We are rapidly working toward mainline inclusion, at which point we will consider this codebase non-experimental.







              share|improve this answer












              Just reboot, that should have fixed your problem.



              But still: Wireguard although it works fine for me is still in beta and not meant for daily use.
              From the developers website at wireguard.com:




              Warning: WireGuard is currently under development, and therefore any installation steps here should be considered as experimental. We are rapidly working toward mainline inclusion, at which point we will consider this codebase non-experimental.








              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jan 28 at 21:20









              BMicraft

              1447




              1447












              • Nope. Does not work on current KDE Neon which has Ubuntu 18.04 as base.
                – nerdoc
                Nov 21 at 10:10




















              • Nope. Does not work on current KDE Neon which has Ubuntu 18.04 as base.
                – nerdoc
                Nov 21 at 10:10


















              Nope. Does not work on current KDE Neon which has Ubuntu 18.04 as base.
              – nerdoc
              Nov 21 at 10:10






              Nope. Does not work on current KDE Neon which has Ubuntu 18.04 as base.
              – nerdoc
              Nov 21 at 10:10














              up vote
              0
              down vote













              I did a few things. I'm not sure whether individual or a combination of them helped.




              • disable secure boot

              • reboot my laptop (Ubuntu 17.10)


              One thing that is worth mentioning: after those actions, I ran commands to setup WireGuard successfully with sudo. Previously, I couldn't.






              share|improve this answer



























                up vote
                0
                down vote













                I did a few things. I'm not sure whether individual or a combination of them helped.




                • disable secure boot

                • reboot my laptop (Ubuntu 17.10)


                One thing that is worth mentioning: after those actions, I ran commands to setup WireGuard successfully with sudo. Previously, I couldn't.






                share|improve this answer

























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I did a few things. I'm not sure whether individual or a combination of them helped.




                  • disable secure boot

                  • reboot my laptop (Ubuntu 17.10)


                  One thing that is worth mentioning: after those actions, I ran commands to setup WireGuard successfully with sudo. Previously, I couldn't.






                  share|improve this answer














                  I did a few things. I'm not sure whether individual or a combination of them helped.




                  • disable secure boot

                  • reboot my laptop (Ubuntu 17.10)


                  One thing that is worth mentioning: after those actions, I ran commands to setup WireGuard successfully with sudo. Previously, I couldn't.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Aug 29 at 10:50









                  abu_bua

                  3,03771022




                  3,03771022










                  answered Aug 29 at 7:15









                  user3322027

                  1




                  1






















                      up vote
                      0
                      down vote













                      Most probably the wireguard kernel module is not loaded.
                      Just try a modprobe wireguard. If this shows an error, the problem is that the module did not compile correctly for your kernel. This, most probably, is because wireguard is still not completely "stable".



                      If this is the case, just wait for an update of wireguard, in case of such an error this should be the case within a few days, as the wireguard devs seem to fix these kind of problems very fast.






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        Most probably the wireguard kernel module is not loaded.
                        Just try a modprobe wireguard. If this shows an error, the problem is that the module did not compile correctly for your kernel. This, most probably, is because wireguard is still not completely "stable".



                        If this is the case, just wait for an update of wireguard, in case of such an error this should be the case within a few days, as the wireguard devs seem to fix these kind of problems very fast.






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          Most probably the wireguard kernel module is not loaded.
                          Just try a modprobe wireguard. If this shows an error, the problem is that the module did not compile correctly for your kernel. This, most probably, is because wireguard is still not completely "stable".



                          If this is the case, just wait for an update of wireguard, in case of such an error this should be the case within a few days, as the wireguard devs seem to fix these kind of problems very fast.






                          share|improve this answer












                          Most probably the wireguard kernel module is not loaded.
                          Just try a modprobe wireguard. If this shows an error, the problem is that the module did not compile correctly for your kernel. This, most probably, is because wireguard is still not completely "stable".



                          If this is the case, just wait for an update of wireguard, in case of such an error this should be the case within a few days, as the wireguard devs seem to fix these kind of problems very fast.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 21 at 10:22









                          nerdoc

                          14111




                          14111






























                               

                              draft saved


                              draft discarded



















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f973297%2frnetlink-answers-operation-not-supported-fresh-ubuntu-fresh-wireguard%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                              Mangá

                              Eduardo VII do Reino Unido