Cannot Connect to Internet after first Disconnect












1














I have been running Ubuntu 18.04 on a Lenovo Thinkpad T580 for the last ~3 months with no issues. Installed an update a few days ago, rebooted, and started having very odd issues for both wired and wireless connections.



I boot up the laptop and it connects to my home network successfully and I can access the internet. I disconnect from the network (close the lid or just turn off the connection) then reconnect. I am still on my home network and can see other devices, but no request resolves when I try to browse the internet, except if I go to www.google.com, that works! The only way to get back to normal is to reboot the laptop again.



Things I've tried:




  • Pinging a well known IP address (8.8.8.8) to prove it is not a DNS issue, this fails.

  • Run a service network-manager restart. This does not seem to have an effect.

  • As above, I tested this on both wired and wireless and the same behavior occurs.

  • I also tested this on my wireless hotspot which also behaved the same.

  • Per other answers, looked at the dmsg logs and didn't see much.

  • Tried Internet through different wifi does not work after sleep happens after Upgrade to 18.04 , did not seem to help either.


Here is my wireless info, but the problem feels more like a general network configuration.



~$ sudo lshw -class network
*-network
description: Wireless interface
product: Wireless 8265 / 8275
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlp4s0
version: 78
serial: 04:d3:b0:7a:96:d0
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-43-generic firmware=34.0.1 ip=192.168.1.147 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:147 memory:ec000000-ec001fff
*-network
description: Ethernet interface
product: Ethernet Connection (4) I219-V
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: enp0s31f6
version: 21
serial: 48:2a:e3:0f:9b:41
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.1-3 latency=0 link=no multicast=yes port=twisted pair
resources: irq:145 memory:ec100000-ec11ffff


Thanks for any help.










share|improve this question







New contributor




heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1














    I have been running Ubuntu 18.04 on a Lenovo Thinkpad T580 for the last ~3 months with no issues. Installed an update a few days ago, rebooted, and started having very odd issues for both wired and wireless connections.



    I boot up the laptop and it connects to my home network successfully and I can access the internet. I disconnect from the network (close the lid or just turn off the connection) then reconnect. I am still on my home network and can see other devices, but no request resolves when I try to browse the internet, except if I go to www.google.com, that works! The only way to get back to normal is to reboot the laptop again.



    Things I've tried:




    • Pinging a well known IP address (8.8.8.8) to prove it is not a DNS issue, this fails.

    • Run a service network-manager restart. This does not seem to have an effect.

    • As above, I tested this on both wired and wireless and the same behavior occurs.

    • I also tested this on my wireless hotspot which also behaved the same.

    • Per other answers, looked at the dmsg logs and didn't see much.

    • Tried Internet through different wifi does not work after sleep happens after Upgrade to 18.04 , did not seem to help either.


    Here is my wireless info, but the problem feels more like a general network configuration.



    ~$ sudo lshw -class network
    *-network
    description: Wireless interface
    product: Wireless 8265 / 8275
    vendor: Intel Corporation
    physical id: 0
    bus info: pci@0000:04:00.0
    logical name: wlp4s0
    version: 78
    serial: 04:d3:b0:7a:96:d0
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-43-generic firmware=34.0.1 ip=192.168.1.147 latency=0 link=yes multicast=yes wireless=IEEE 802.11
    resources: irq:147 memory:ec000000-ec001fff
    *-network
    description: Ethernet interface
    product: Ethernet Connection (4) I219-V
    vendor: Intel Corporation
    physical id: 1f.6
    bus info: pci@0000:00:1f.6
    logical name: enp0s31f6
    version: 21
    serial: 48:2a:e3:0f:9b:41
    capacity: 1Gbit/s
    width: 32 bits
    clock: 33MHz
    capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.1-3 latency=0 link=no multicast=yes port=twisted pair
    resources: irq:145 memory:ec100000-ec11ffff


    Thanks for any help.










    share|improve this question







    New contributor




    heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1







      I have been running Ubuntu 18.04 on a Lenovo Thinkpad T580 for the last ~3 months with no issues. Installed an update a few days ago, rebooted, and started having very odd issues for both wired and wireless connections.



      I boot up the laptop and it connects to my home network successfully and I can access the internet. I disconnect from the network (close the lid or just turn off the connection) then reconnect. I am still on my home network and can see other devices, but no request resolves when I try to browse the internet, except if I go to www.google.com, that works! The only way to get back to normal is to reboot the laptop again.



      Things I've tried:




      • Pinging a well known IP address (8.8.8.8) to prove it is not a DNS issue, this fails.

      • Run a service network-manager restart. This does not seem to have an effect.

      • As above, I tested this on both wired and wireless and the same behavior occurs.

      • I also tested this on my wireless hotspot which also behaved the same.

      • Per other answers, looked at the dmsg logs and didn't see much.

      • Tried Internet through different wifi does not work after sleep happens after Upgrade to 18.04 , did not seem to help either.


      Here is my wireless info, but the problem feels more like a general network configuration.



      ~$ sudo lshw -class network
      *-network
      description: Wireless interface
      product: Wireless 8265 / 8275
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:04:00.0
      logical name: wlp4s0
      version: 78
      serial: 04:d3:b0:7a:96:d0
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-43-generic firmware=34.0.1 ip=192.168.1.147 latency=0 link=yes multicast=yes wireless=IEEE 802.11
      resources: irq:147 memory:ec000000-ec001fff
      *-network
      description: Ethernet interface
      product: Ethernet Connection (4) I219-V
      vendor: Intel Corporation
      physical id: 1f.6
      bus info: pci@0000:00:1f.6
      logical name: enp0s31f6
      version: 21
      serial: 48:2a:e3:0f:9b:41
      capacity: 1Gbit/s
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.1-3 latency=0 link=no multicast=yes port=twisted pair
      resources: irq:145 memory:ec100000-ec11ffff


      Thanks for any help.










      share|improve this question







      New contributor




      heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have been running Ubuntu 18.04 on a Lenovo Thinkpad T580 for the last ~3 months with no issues. Installed an update a few days ago, rebooted, and started having very odd issues for both wired and wireless connections.



      I boot up the laptop and it connects to my home network successfully and I can access the internet. I disconnect from the network (close the lid or just turn off the connection) then reconnect. I am still on my home network and can see other devices, but no request resolves when I try to browse the internet, except if I go to www.google.com, that works! The only way to get back to normal is to reboot the laptop again.



      Things I've tried:




      • Pinging a well known IP address (8.8.8.8) to prove it is not a DNS issue, this fails.

      • Run a service network-manager restart. This does not seem to have an effect.

      • As above, I tested this on both wired and wireless and the same behavior occurs.

      • I also tested this on my wireless hotspot which also behaved the same.

      • Per other answers, looked at the dmsg logs and didn't see much.

      • Tried Internet through different wifi does not work after sleep happens after Upgrade to 18.04 , did not seem to help either.


      Here is my wireless info, but the problem feels more like a general network configuration.



      ~$ sudo lshw -class network
      *-network
      description: Wireless interface
      product: Wireless 8265 / 8275
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:04:00.0
      logical name: wlp4s0
      version: 78
      serial: 04:d3:b0:7a:96:d0
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-43-generic firmware=34.0.1 ip=192.168.1.147 latency=0 link=yes multicast=yes wireless=IEEE 802.11
      resources: irq:147 memory:ec000000-ec001fff
      *-network
      description: Ethernet interface
      product: Ethernet Connection (4) I219-V
      vendor: Intel Corporation
      physical id: 1f.6
      bus info: pci@0000:00:1f.6
      logical name: enp0s31f6
      version: 21
      serial: 48:2a:e3:0f:9b:41
      capacity: 1Gbit/s
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.1-3 latency=0 link=no multicast=yes port=twisted pair
      resources: irq:145 memory:ec100000-ec11ffff


      Thanks for any help.







      networking wireless 18.04 connection wired






      share|improve this question







      New contributor




      heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Jan 5 at 18:08









      heytomorrowheytomorrow

      61




      61




      New contributor




      heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I finally figured it out. A few days prior to the issues, I had configured a VPN using OpenVpn. I realized I had only been using it interactively through the terminal, but when I rebooted my laptop, it ran in the background as a daemon. The first time I disconnected, it never recovered and I was left in the state that I described.



          I just turned the autoconnect in init.d to false, restarted, and everything works now.






          share|improve this answer








          New contributor




          heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















            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',
            autoActivateHeartbeat: false,
            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
            });


            }
            });






            heytomorrow is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1107232%2fcannot-connect-to-internet-after-first-disconnect%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














            I finally figured it out. A few days prior to the issues, I had configured a VPN using OpenVpn. I realized I had only been using it interactively through the terminal, but when I rebooted my laptop, it ran in the background as a daemon. The first time I disconnected, it never recovered and I was left in the state that I described.



            I just turned the autoconnect in init.d to false, restarted, and everything works now.






            share|improve this answer








            New contributor




            heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.























              0














              I finally figured it out. A few days prior to the issues, I had configured a VPN using OpenVpn. I realized I had only been using it interactively through the terminal, but when I rebooted my laptop, it ran in the background as a daemon. The first time I disconnected, it never recovered and I was left in the state that I described.



              I just turned the autoconnect in init.d to false, restarted, and everything works now.






              share|improve this answer








              New contributor




              heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.





















                0












                0








                0






                I finally figured it out. A few days prior to the issues, I had configured a VPN using OpenVpn. I realized I had only been using it interactively through the terminal, but when I rebooted my laptop, it ran in the background as a daemon. The first time I disconnected, it never recovered and I was left in the state that I described.



                I just turned the autoconnect in init.d to false, restarted, and everything works now.






                share|improve this answer








                New contributor




                heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                I finally figured it out. A few days prior to the issues, I had configured a VPN using OpenVpn. I realized I had only been using it interactively through the terminal, but when I rebooted my laptop, it ran in the background as a daemon. The first time I disconnected, it never recovered and I was left in the state that I described.



                I just turned the autoconnect in init.d to false, restarted, and everything works now.







                share|improve this answer








                New contributor




                heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 2 days ago









                heytomorrowheytomorrow

                61




                61




                New contributor




                heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                heytomorrow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






















                    heytomorrow is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    heytomorrow is a new contributor. Be nice, and check out our Code of Conduct.













                    heytomorrow is a new contributor. Be nice, and check out our Code of Conduct.












                    heytomorrow is a new contributor. Be nice, and check out our Code of Conduct.
















                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2faskubuntu.com%2fquestions%2f1107232%2fcannot-connect-to-internet-after-first-disconnect%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

                    How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

                    is 'sed' thread safe

                    How to make a Squid Proxy server?