Ethernet interface automatically re-enables after disabling manually

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am trying to manually disable the eth0 interface, which should persist until the system is either rebooted or by manually enabling it. Unfortunately by either using



ip link set dev eth0 down


or



ifconfig eth0 down


the interface is down for a moment, around 2 to 15 seconds and than automatically starts enabling itself, giving the following message:



fec 2188000.ethernet eth0: Freescale FEC PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
[ 727.204693] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready


When plugging the ethernet cable out of the machine, the eth0 down does persist.



After trying to do it with the commandline method, I also tried to dig into the ethernet driver based on this link: http://www.6by9.net/using-linux-sys-to-disable-ethernet-hardware-devices/



But unfortunately there appears to be no "remove" file.










share|improve this question

























    up vote
    0
    down vote

    favorite












    I am trying to manually disable the eth0 interface, which should persist until the system is either rebooted or by manually enabling it. Unfortunately by either using



    ip link set dev eth0 down


    or



    ifconfig eth0 down


    the interface is down for a moment, around 2 to 15 seconds and than automatically starts enabling itself, giving the following message:



    fec 2188000.ethernet eth0: Freescale FEC PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
    [ 727.204693] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready


    When plugging the ethernet cable out of the machine, the eth0 down does persist.



    After trying to do it with the commandline method, I also tried to dig into the ethernet driver based on this link: http://www.6by9.net/using-linux-sys-to-disable-ethernet-hardware-devices/



    But unfortunately there appears to be no "remove" file.










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to manually disable the eth0 interface, which should persist until the system is either rebooted or by manually enabling it. Unfortunately by either using



      ip link set dev eth0 down


      or



      ifconfig eth0 down


      the interface is down for a moment, around 2 to 15 seconds and than automatically starts enabling itself, giving the following message:



      fec 2188000.ethernet eth0: Freescale FEC PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
      [ 727.204693] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready


      When plugging the ethernet cable out of the machine, the eth0 down does persist.



      After trying to do it with the commandline method, I also tried to dig into the ethernet driver based on this link: http://www.6by9.net/using-linux-sys-to-disable-ethernet-hardware-devices/



      But unfortunately there appears to be no "remove" file.










      share|improve this question













      I am trying to manually disable the eth0 interface, which should persist until the system is either rebooted or by manually enabling it. Unfortunately by either using



      ip link set dev eth0 down


      or



      ifconfig eth0 down


      the interface is down for a moment, around 2 to 15 seconds and than automatically starts enabling itself, giving the following message:



      fec 2188000.ethernet eth0: Freescale FEC PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
      [ 727.204693] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready


      When plugging the ethernet cable out of the machine, the eth0 down does persist.



      After trying to do it with the commandline method, I also tried to dig into the ethernet driver based on this link: http://www.6by9.net/using-linux-sys-to-disable-ethernet-hardware-devices/



      But unfortunately there appears to be no "remove" file.







      networking drivers ethernet interface






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 18 at 11:13









      questionaire

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I solved it by commenting out the following lines



          /etc/network/interfaces



          auto eth0
          iface eth0 inet dhcp





          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: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1026080%2fethernet-interface-automatically-re-enables-after-disabling-manually%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            I solved it by commenting out the following lines



            /etc/network/interfaces



            auto eth0
            iface eth0 inet dhcp





            share|improve this answer
























              up vote
              0
              down vote













              I solved it by commenting out the following lines



              /etc/network/interfaces



              auto eth0
              iface eth0 inet dhcp





              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                I solved it by commenting out the following lines



                /etc/network/interfaces



                auto eth0
                iface eth0 inet dhcp





                share|improve this answer












                I solved it by commenting out the following lines



                /etc/network/interfaces



                auto eth0
                iface eth0 inet dhcp






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 18 at 11:42









                questionaire

                1




                1



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026080%2fethernet-interface-automatically-re-enables-after-disabling-manually%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491