How to disable network-connectivity-check on linux mint? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionhow to disable auto login in linux mintlinux mint: waiting for network configurationNVidia drivers on Macbook Pro (2008) Linux Mint?disable service linux mint 17PPTP VPN not working with Linux routerNetwork Manager re-installation in Linux Mint (KDE version)Unable to ping router but broadcast ping returns response from itWhat is the recommended way to set a global DNS server override on a system using systemd-resolved?Cannot disable network time control (NTP)Wireless adapter is detected, but no options to create a wireless network

Using et al. for a last / senior author rather than for a first author

Do wooden building fires get hotter than 600°C?

Why didn't Eitri join the fight?

For a new assistant professor in CS, how to build/manage a publication pipeline

Why do we bend a book to keep it straight?

Why aren't air breathing engines used as small first stages

Is it common practice to audition new musicians one-on-one before rehearsing with the entire band?

Amount of permutations on an NxNxN Rubik's Cube

Fantasy story; one type of magic grows in power with use, but the more powerful they are, they more they are drawn to travel to their source

Is it a good idea to use CNN to classify 1D signal?

Crossing US/Canada Border for less than 24 hours

Wu formula for manifolds with boundary

Closed form of recurrent arithmetic series summation

If my PI received research grants from a company to be able to pay my postdoc salary, did I have a potential conflict interest too?

Do square wave exist?

Is the Standard Deduction better than Itemized when both are the same amount?

Do I really need recursive chmod to restrict access to a folder?

Is CEO the profession with the most psychopaths?

What do you call the main part of a joke?

What do you call a floor made of glass so you can see through the floor?

What does this Jacques Hadamard quote mean?

Why are both D and D# fitting into my E minor key?

How can I use the Python library networkx from Mathematica?

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?



How to disable network-connectivity-check on linux mint?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionhow to disable auto login in linux mintlinux mint: waiting for network configurationNVidia drivers on Macbook Pro (2008) Linux Mint?disable service linux mint 17PPTP VPN not working with Linux routerNetwork Manager re-installation in Linux Mint (KDE version)Unable to ping router but broadcast ping returns response from itWhat is the recommended way to set a global DNS server override on a system using systemd-resolved?Cannot disable network time control (NTP)Wireless adapter is detected, but no options to create a wireless network



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















(Virtualbox OS: Linux Mint 19.1 Tessa)



I am trying to disable the network-connectivity-check on Linux Mint.
This website shows how to disable it in the GUI for Ubuntu 17.10.
Unfortunately in Mint the path
Settings > Privacy > Turn off "network connectivity checking"
does not exist.
According to this post the GUI just changes a line entry in the file /var/lib/NetworkManager/NetworkManager-intern.conf to false:



[connectivity] 
.set.enabled=false


By using cat I saw that these two lines didn't even exist, therefore I inserted them and tried the following procedure again:



1. network-tray-icon > Wired_connection_1 > Disconnect
2. wireshark start packet capturing for interface "enp0s3"
3. network-tray-icon > Wired_connection_1 > Connect
4. wireshark stop packet capturing


By applying the display-filter (dns.qry.name == "connectivity-check.ubuntu.com"), inside wireshark, there are exactly 100 DNS-queries and their corresponding responses.
So the insertion of those two lines didn't work.



I also did overwrite the following file as described here:



sudo touch /etc/NetworkManager/conf.d/20-connectivity-ubuntu.conf


Still exact 100 DNS-messages.



How do I disable the network-connectivity-check on Linux Mint,
by using the terminal?










share|improve this question






























    0















    (Virtualbox OS: Linux Mint 19.1 Tessa)



    I am trying to disable the network-connectivity-check on Linux Mint.
    This website shows how to disable it in the GUI for Ubuntu 17.10.
    Unfortunately in Mint the path
    Settings > Privacy > Turn off "network connectivity checking"
    does not exist.
    According to this post the GUI just changes a line entry in the file /var/lib/NetworkManager/NetworkManager-intern.conf to false:



    [connectivity] 
    .set.enabled=false


    By using cat I saw that these two lines didn't even exist, therefore I inserted them and tried the following procedure again:



    1. network-tray-icon > Wired_connection_1 > Disconnect
    2. wireshark start packet capturing for interface "enp0s3"
    3. network-tray-icon > Wired_connection_1 > Connect
    4. wireshark stop packet capturing


    By applying the display-filter (dns.qry.name == "connectivity-check.ubuntu.com"), inside wireshark, there are exactly 100 DNS-queries and their corresponding responses.
    So the insertion of those two lines didn't work.



    I also did overwrite the following file as described here:



    sudo touch /etc/NetworkManager/conf.d/20-connectivity-ubuntu.conf


    Still exact 100 DNS-messages.



    How do I disable the network-connectivity-check on Linux Mint,
    by using the terminal?










    share|improve this question


























      0












      0








      0








      (Virtualbox OS: Linux Mint 19.1 Tessa)



      I am trying to disable the network-connectivity-check on Linux Mint.
      This website shows how to disable it in the GUI for Ubuntu 17.10.
      Unfortunately in Mint the path
      Settings > Privacy > Turn off "network connectivity checking"
      does not exist.
      According to this post the GUI just changes a line entry in the file /var/lib/NetworkManager/NetworkManager-intern.conf to false:



      [connectivity] 
      .set.enabled=false


      By using cat I saw that these two lines didn't even exist, therefore I inserted them and tried the following procedure again:



      1. network-tray-icon > Wired_connection_1 > Disconnect
      2. wireshark start packet capturing for interface "enp0s3"
      3. network-tray-icon > Wired_connection_1 > Connect
      4. wireshark stop packet capturing


      By applying the display-filter (dns.qry.name == "connectivity-check.ubuntu.com"), inside wireshark, there are exactly 100 DNS-queries and their corresponding responses.
      So the insertion of those two lines didn't work.



      I also did overwrite the following file as described here:



      sudo touch /etc/NetworkManager/conf.d/20-connectivity-ubuntu.conf


      Still exact 100 DNS-messages.



      How do I disable the network-connectivity-check on Linux Mint,
      by using the terminal?










      share|improve this question
















      (Virtualbox OS: Linux Mint 19.1 Tessa)



      I am trying to disable the network-connectivity-check on Linux Mint.
      This website shows how to disable it in the GUI for Ubuntu 17.10.
      Unfortunately in Mint the path
      Settings > Privacy > Turn off "network connectivity checking"
      does not exist.
      According to this post the GUI just changes a line entry in the file /var/lib/NetworkManager/NetworkManager-intern.conf to false:



      [connectivity] 
      .set.enabled=false


      By using cat I saw that these two lines didn't even exist, therefore I inserted them and tried the following procedure again:



      1. network-tray-icon > Wired_connection_1 > Disconnect
      2. wireshark start packet capturing for interface "enp0s3"
      3. network-tray-icon > Wired_connection_1 > Connect
      4. wireshark stop packet capturing


      By applying the display-filter (dns.qry.name == "connectivity-check.ubuntu.com"), inside wireshark, there are exactly 100 DNS-queries and their corresponding responses.
      So the insertion of those two lines didn't work.



      I also did overwrite the following file as described here:



      sudo touch /etc/NetworkManager/conf.d/20-connectivity-ubuntu.conf


      Still exact 100 DNS-messages.



      How do I disable the network-connectivity-check on Linux Mint,
      by using the terminal?







      linux-mint dns wireshark






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 10 hours ago







      PatrickSteiner

















      asked 10 hours ago









      PatrickSteinerPatrickSteiner

      9512




      9512




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Based on the connectivity section in gnome docs:




          Note that your distribution might set /proc/sys/net/ipv4/conf/*/rp_filter to strict filtering. That works badly with per-device connectivity checking, which uses SO_BINDDEVICE to send requests on all devices. A strict rp_filter setting will reject any response and the connectivity check on all but the best route will fail.




          command lines (as root):



          sysctl -w net.ipv4.conf.all.rp_filter=0
          sysctl -w net.ipv4.conf.default.rp_filter=0
          sysctl -w net.ipv4.conf.<NET_INTERFACE_HERE>.rp_filter=0
          sysctl -p


          You can also remove the package network-manager-config-connectivity-ubuntu:



          apt purge network-manager-config-connectivity-ubuntu





          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%2f513043%2fhow-to-disable-network-connectivity-check-on-linux-mint%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














            Based on the connectivity section in gnome docs:




            Note that your distribution might set /proc/sys/net/ipv4/conf/*/rp_filter to strict filtering. That works badly with per-device connectivity checking, which uses SO_BINDDEVICE to send requests on all devices. A strict rp_filter setting will reject any response and the connectivity check on all but the best route will fail.




            command lines (as root):



            sysctl -w net.ipv4.conf.all.rp_filter=0
            sysctl -w net.ipv4.conf.default.rp_filter=0
            sysctl -w net.ipv4.conf.<NET_INTERFACE_HERE>.rp_filter=0
            sysctl -p


            You can also remove the package network-manager-config-connectivity-ubuntu:



            apt purge network-manager-config-connectivity-ubuntu





            share|improve this answer



























              0














              Based on the connectivity section in gnome docs:




              Note that your distribution might set /proc/sys/net/ipv4/conf/*/rp_filter to strict filtering. That works badly with per-device connectivity checking, which uses SO_BINDDEVICE to send requests on all devices. A strict rp_filter setting will reject any response and the connectivity check on all but the best route will fail.




              command lines (as root):



              sysctl -w net.ipv4.conf.all.rp_filter=0
              sysctl -w net.ipv4.conf.default.rp_filter=0
              sysctl -w net.ipv4.conf.<NET_INTERFACE_HERE>.rp_filter=0
              sysctl -p


              You can also remove the package network-manager-config-connectivity-ubuntu:



              apt purge network-manager-config-connectivity-ubuntu





              share|improve this answer

























                0












                0








                0







                Based on the connectivity section in gnome docs:




                Note that your distribution might set /proc/sys/net/ipv4/conf/*/rp_filter to strict filtering. That works badly with per-device connectivity checking, which uses SO_BINDDEVICE to send requests on all devices. A strict rp_filter setting will reject any response and the connectivity check on all but the best route will fail.




                command lines (as root):



                sysctl -w net.ipv4.conf.all.rp_filter=0
                sysctl -w net.ipv4.conf.default.rp_filter=0
                sysctl -w net.ipv4.conf.<NET_INTERFACE_HERE>.rp_filter=0
                sysctl -p


                You can also remove the package network-manager-config-connectivity-ubuntu:



                apt purge network-manager-config-connectivity-ubuntu





                share|improve this answer













                Based on the connectivity section in gnome docs:




                Note that your distribution might set /proc/sys/net/ipv4/conf/*/rp_filter to strict filtering. That works badly with per-device connectivity checking, which uses SO_BINDDEVICE to send requests on all devices. A strict rp_filter setting will reject any response and the connectivity check on all but the best route will fail.




                command lines (as root):



                sysctl -w net.ipv4.conf.all.rp_filter=0
                sysctl -w net.ipv4.conf.default.rp_filter=0
                sysctl -w net.ipv4.conf.<NET_INTERFACE_HERE>.rp_filter=0
                sysctl -p


                You can also remove the package network-manager-config-connectivity-ubuntu:



                apt purge network-manager-config-connectivity-ubuntu






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 8 hours ago









                GAD3RGAD3R

                28.3k1958114




                28.3k1958114



























                    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%2f513043%2fhow-to-disable-network-connectivity-check-on-linux-mint%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







                    -dns, linux-mint, wireshark

                    Popular posts from this blog

                    Frič See also Navigation menuinternal link

                    Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

                    fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox