Have to rmmod and modprobe every time I start up












1















I have got a raspberry pi and I've installed it correctly the 8821cu module for my Wi-Fi Dongle and it works ok.



But every time I reboot the pi I have to sudo rmmod 8821cu && modprobe 8821cu to connect to my access point.



Before that the nm-applet says the device is not ready.



Output of dmesg before rmmod and mmodprobe



[    5.087767] 8821cu: loading out-of-tree module taints kernel.
[ 154.347730] rtl8821cu 1-1.2:1.0 wlx000f007d127a: renamed from wlan0
[ 198.536962] IPv6: ADDRCONF(NETDEV_UP): wlx000f007d127a: link is not ready









share|improve this question





























    1















    I have got a raspberry pi and I've installed it correctly the 8821cu module for my Wi-Fi Dongle and it works ok.



    But every time I reboot the pi I have to sudo rmmod 8821cu && modprobe 8821cu to connect to my access point.



    Before that the nm-applet says the device is not ready.



    Output of dmesg before rmmod and mmodprobe



    [    5.087767] 8821cu: loading out-of-tree module taints kernel.
    [ 154.347730] rtl8821cu 1-1.2:1.0 wlx000f007d127a: renamed from wlan0
    [ 198.536962] IPv6: ADDRCONF(NETDEV_UP): wlx000f007d127a: link is not ready









    share|improve this question



























      1












      1








      1








      I have got a raspberry pi and I've installed it correctly the 8821cu module for my Wi-Fi Dongle and it works ok.



      But every time I reboot the pi I have to sudo rmmod 8821cu && modprobe 8821cu to connect to my access point.



      Before that the nm-applet says the device is not ready.



      Output of dmesg before rmmod and mmodprobe



      [    5.087767] 8821cu: loading out-of-tree module taints kernel.
      [ 154.347730] rtl8821cu 1-1.2:1.0 wlx000f007d127a: renamed from wlan0
      [ 198.536962] IPv6: ADDRCONF(NETDEV_UP): wlx000f007d127a: link is not ready









      share|improve this question
















      I have got a raspberry pi and I've installed it correctly the 8821cu module for my Wi-Fi Dongle and it works ok.



      But every time I reboot the pi I have to sudo rmmod 8821cu && modprobe 8821cu to connect to my access point.



      Before that the nm-applet says the device is not ready.



      Output of dmesg before rmmod and mmodprobe



      [    5.087767] 8821cu: loading out-of-tree module taints kernel.
      [ 154.347730] rtl8821cu 1-1.2:1.0 wlx000f007d127a: renamed from wlan0
      [ 198.536962] IPv6: ADDRCONF(NETDEV_UP): wlx000f007d127a: link is not ready






      kernel wifi realtek modprobe module






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 5 at 14:06







      Raúl Ulises Martín Hernández

















      asked Jan 5 at 13:55









      Raúl Ulises Martín HernándezRaúl Ulises Martín Hernández

      163




      163






















          1 Answer
          1






          active

          oldest

          votes


















          0















          • A tainted kernel just means that the kernel is no longer in a state supported by the community. This is because you installed a previously not included/unsupported driver into the kernel (not an error).


          • The renaming of the device (not necessarily an error).


          • IPv6: ADDRCONF(NETDEV_UP): wlx000f007d127a: link is not ready (not an error). Tells part of the story though.



          This could be the result of a router either not supporting IPv6 or has it turned off.



          However, I think what you are experiencing is a result of the onboard Ethernet and or Wifi being preconfigured in the kernel and the fact that the usb-wifi was not.




          • I would ifconfig/iwconfig, get the device name and setup a /etc/network/interfaces entry for it. You might also consider blacklisting the other device/devices if you don't intend on using them. If ifconfig/iwconfig are not installed, sudo apt-get install net-tools.


          Try just adding the following to /etc/networking/interfaces for that card:



          auto nameofinterface
          iface nameofinterface inet dhcp


          You could also try the following:



          sudo apt-get autoremove
          sudo apt-get autoclean
          sudo apt-get clean


          Referanced from here: https://askubuntu.com/a/862185/894044



          I know it is not Raspbian, but it is a Debian derivative of Linux.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f492661%2fhave-to-rmmod-and-modprobe-every-time-i-start-up%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0















            • A tainted kernel just means that the kernel is no longer in a state supported by the community. This is because you installed a previously not included/unsupported driver into the kernel (not an error).


            • The renaming of the device (not necessarily an error).


            • IPv6: ADDRCONF(NETDEV_UP): wlx000f007d127a: link is not ready (not an error). Tells part of the story though.



            This could be the result of a router either not supporting IPv6 or has it turned off.



            However, I think what you are experiencing is a result of the onboard Ethernet and or Wifi being preconfigured in the kernel and the fact that the usb-wifi was not.




            • I would ifconfig/iwconfig, get the device name and setup a /etc/network/interfaces entry for it. You might also consider blacklisting the other device/devices if you don't intend on using them. If ifconfig/iwconfig are not installed, sudo apt-get install net-tools.


            Try just adding the following to /etc/networking/interfaces for that card:



            auto nameofinterface
            iface nameofinterface inet dhcp


            You could also try the following:



            sudo apt-get autoremove
            sudo apt-get autoclean
            sudo apt-get clean


            Referanced from here: https://askubuntu.com/a/862185/894044



            I know it is not Raspbian, but it is a Debian derivative of Linux.






            share|improve this answer






























              0















              • A tainted kernel just means that the kernel is no longer in a state supported by the community. This is because you installed a previously not included/unsupported driver into the kernel (not an error).


              • The renaming of the device (not necessarily an error).


              • IPv6: ADDRCONF(NETDEV_UP): wlx000f007d127a: link is not ready (not an error). Tells part of the story though.



              This could be the result of a router either not supporting IPv6 or has it turned off.



              However, I think what you are experiencing is a result of the onboard Ethernet and or Wifi being preconfigured in the kernel and the fact that the usb-wifi was not.




              • I would ifconfig/iwconfig, get the device name and setup a /etc/network/interfaces entry for it. You might also consider blacklisting the other device/devices if you don't intend on using them. If ifconfig/iwconfig are not installed, sudo apt-get install net-tools.


              Try just adding the following to /etc/networking/interfaces for that card:



              auto nameofinterface
              iface nameofinterface inet dhcp


              You could also try the following:



              sudo apt-get autoremove
              sudo apt-get autoclean
              sudo apt-get clean


              Referanced from here: https://askubuntu.com/a/862185/894044



              I know it is not Raspbian, but it is a Debian derivative of Linux.






              share|improve this answer




























                0












                0








                0








                • A tainted kernel just means that the kernel is no longer in a state supported by the community. This is because you installed a previously not included/unsupported driver into the kernel (not an error).


                • The renaming of the device (not necessarily an error).


                • IPv6: ADDRCONF(NETDEV_UP): wlx000f007d127a: link is not ready (not an error). Tells part of the story though.



                This could be the result of a router either not supporting IPv6 or has it turned off.



                However, I think what you are experiencing is a result of the onboard Ethernet and or Wifi being preconfigured in the kernel and the fact that the usb-wifi was not.




                • I would ifconfig/iwconfig, get the device name and setup a /etc/network/interfaces entry for it. You might also consider blacklisting the other device/devices if you don't intend on using them. If ifconfig/iwconfig are not installed, sudo apt-get install net-tools.


                Try just adding the following to /etc/networking/interfaces for that card:



                auto nameofinterface
                iface nameofinterface inet dhcp


                You could also try the following:



                sudo apt-get autoremove
                sudo apt-get autoclean
                sudo apt-get clean


                Referanced from here: https://askubuntu.com/a/862185/894044



                I know it is not Raspbian, but it is a Debian derivative of Linux.






                share|improve this answer
















                • A tainted kernel just means that the kernel is no longer in a state supported by the community. This is because you installed a previously not included/unsupported driver into the kernel (not an error).


                • The renaming of the device (not necessarily an error).


                • IPv6: ADDRCONF(NETDEV_UP): wlx000f007d127a: link is not ready (not an error). Tells part of the story though.



                This could be the result of a router either not supporting IPv6 or has it turned off.



                However, I think what you are experiencing is a result of the onboard Ethernet and or Wifi being preconfigured in the kernel and the fact that the usb-wifi was not.




                • I would ifconfig/iwconfig, get the device name and setup a /etc/network/interfaces entry for it. You might also consider blacklisting the other device/devices if you don't intend on using them. If ifconfig/iwconfig are not installed, sudo apt-get install net-tools.


                Try just adding the following to /etc/networking/interfaces for that card:



                auto nameofinterface
                iface nameofinterface inet dhcp


                You could also try the following:



                sudo apt-get autoremove
                sudo apt-get autoclean
                sudo apt-get clean


                Referanced from here: https://askubuntu.com/a/862185/894044



                I know it is not Raspbian, but it is a Debian derivative of Linux.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 2 mins ago

























                answered Jan 5 at 18:08









                Michael ProkopecMichael Prokopec

                1,216218




                1,216218






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492661%2fhave-to-rmmod-and-modprobe-every-time-i-start-up%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

                    Histoire des bourses de valeurs

                    Why is there Russian traffic in my log files?

                    Rename multiple files to decrement number in file name?