Ubuntu 16.04 internet not working but SSH works after upgrade












0














I just upgraded from 14.04 to 16.04 but now the internet does not work.



I am able to SSH into the box.



I can ping 8.8.8.8



I have tried sudo dpkg-reconfigure resolvconf and sudo reboot but that didn't resolve it.



I have also tried

sudo rm /etc/resolv.conf
sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf
sudo resolvconf -u

And still nothing



EDIT:



ip addr show outputs



1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:26:6c:f7:b2:b8 brd ff:ff:ff:ff:ff:ff
inet 209.123.74.69/27 brd 209.123.74.95 scope global em1
valid_lft forever preferred_lft forever
inet6 fe80::226:6cff:fef7:b2b8/64 scope link
valid_lft forever preferred_lft forever
3: em2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:26:6c:f7:b2:b9 brd ff:ff:ff:ff:ff:ff


ifconfig outputs



em1       Link encap:Ethernet  HWaddr 00:26:6c:f7:b2:b8  
inet addr:209.123.74.69 Bcast:209.123.74.95 Mask:255.255.255.224
inet6 addr: fe80::226:6cff:fef7:b2b8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12013 errors:0 dropped:10 overruns:0 frame:0
TX packets:7250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2076402 (2.0 MB) TX bytes:1061991 (1.0 MB)
Memory:c0000000-c001ffff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:13464 errors:0 dropped:0 overruns:0 frame:0
TX packets:13464 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1003144 (1.0 MB) TX bytes:1003144 (1.0 MB)


and the /etc/resolv.conf is empty










share|improve this question
























  • What is the content of /etc/resolv.conf? What does "ip addr show" give? And just to be sure, you are not able to resolve domain names right? (e.g., ping google.com)
    – Eric Mintz
    2 days ago










  • @EricMintz went ahead and updated answer with the outputs
    – nadermx
    2 days ago
















0














I just upgraded from 14.04 to 16.04 but now the internet does not work.



I am able to SSH into the box.



I can ping 8.8.8.8



I have tried sudo dpkg-reconfigure resolvconf and sudo reboot but that didn't resolve it.



I have also tried

sudo rm /etc/resolv.conf
sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf
sudo resolvconf -u

And still nothing



EDIT:



ip addr show outputs



1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:26:6c:f7:b2:b8 brd ff:ff:ff:ff:ff:ff
inet 209.123.74.69/27 brd 209.123.74.95 scope global em1
valid_lft forever preferred_lft forever
inet6 fe80::226:6cff:fef7:b2b8/64 scope link
valid_lft forever preferred_lft forever
3: em2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:26:6c:f7:b2:b9 brd ff:ff:ff:ff:ff:ff


ifconfig outputs



em1       Link encap:Ethernet  HWaddr 00:26:6c:f7:b2:b8  
inet addr:209.123.74.69 Bcast:209.123.74.95 Mask:255.255.255.224
inet6 addr: fe80::226:6cff:fef7:b2b8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12013 errors:0 dropped:10 overruns:0 frame:0
TX packets:7250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2076402 (2.0 MB) TX bytes:1061991 (1.0 MB)
Memory:c0000000-c001ffff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:13464 errors:0 dropped:0 overruns:0 frame:0
TX packets:13464 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1003144 (1.0 MB) TX bytes:1003144 (1.0 MB)


and the /etc/resolv.conf is empty










share|improve this question
























  • What is the content of /etc/resolv.conf? What does "ip addr show" give? And just to be sure, you are not able to resolve domain names right? (e.g., ping google.com)
    – Eric Mintz
    2 days ago










  • @EricMintz went ahead and updated answer with the outputs
    – nadermx
    2 days ago














0












0








0







I just upgraded from 14.04 to 16.04 but now the internet does not work.



I am able to SSH into the box.



I can ping 8.8.8.8



I have tried sudo dpkg-reconfigure resolvconf and sudo reboot but that didn't resolve it.



I have also tried

sudo rm /etc/resolv.conf
sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf
sudo resolvconf -u

And still nothing



EDIT:



ip addr show outputs



1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:26:6c:f7:b2:b8 brd ff:ff:ff:ff:ff:ff
inet 209.123.74.69/27 brd 209.123.74.95 scope global em1
valid_lft forever preferred_lft forever
inet6 fe80::226:6cff:fef7:b2b8/64 scope link
valid_lft forever preferred_lft forever
3: em2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:26:6c:f7:b2:b9 brd ff:ff:ff:ff:ff:ff


ifconfig outputs



em1       Link encap:Ethernet  HWaddr 00:26:6c:f7:b2:b8  
inet addr:209.123.74.69 Bcast:209.123.74.95 Mask:255.255.255.224
inet6 addr: fe80::226:6cff:fef7:b2b8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12013 errors:0 dropped:10 overruns:0 frame:0
TX packets:7250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2076402 (2.0 MB) TX bytes:1061991 (1.0 MB)
Memory:c0000000-c001ffff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:13464 errors:0 dropped:0 overruns:0 frame:0
TX packets:13464 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1003144 (1.0 MB) TX bytes:1003144 (1.0 MB)


and the /etc/resolv.conf is empty










share|improve this question















I just upgraded from 14.04 to 16.04 but now the internet does not work.



I am able to SSH into the box.



I can ping 8.8.8.8



I have tried sudo dpkg-reconfigure resolvconf and sudo reboot but that didn't resolve it.



I have also tried

sudo rm /etc/resolv.conf
sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf
sudo resolvconf -u

And still nothing



EDIT:



ip addr show outputs



1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:26:6c:f7:b2:b8 brd ff:ff:ff:ff:ff:ff
inet 209.123.74.69/27 brd 209.123.74.95 scope global em1
valid_lft forever preferred_lft forever
inet6 fe80::226:6cff:fef7:b2b8/64 scope link
valid_lft forever preferred_lft forever
3: em2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:26:6c:f7:b2:b9 brd ff:ff:ff:ff:ff:ff


ifconfig outputs



em1       Link encap:Ethernet  HWaddr 00:26:6c:f7:b2:b8  
inet addr:209.123.74.69 Bcast:209.123.74.95 Mask:255.255.255.224
inet6 addr: fe80::226:6cff:fef7:b2b8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12013 errors:0 dropped:10 overruns:0 frame:0
TX packets:7250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2076402 (2.0 MB) TX bytes:1061991 (1.0 MB)
Memory:c0000000-c001ffff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:13464 errors:0 dropped:0 overruns:0 frame:0
TX packets:13464 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1003144 (1.0 MB) TX bytes:1003144 (1.0 MB)


and the /etc/resolv.conf is empty







16.04 upgrade dns






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago

























asked 2 days ago









nadermx

1256




1256












  • What is the content of /etc/resolv.conf? What does "ip addr show" give? And just to be sure, you are not able to resolve domain names right? (e.g., ping google.com)
    – Eric Mintz
    2 days ago










  • @EricMintz went ahead and updated answer with the outputs
    – nadermx
    2 days ago


















  • What is the content of /etc/resolv.conf? What does "ip addr show" give? And just to be sure, you are not able to resolve domain names right? (e.g., ping google.com)
    – Eric Mintz
    2 days ago










  • @EricMintz went ahead and updated answer with the outputs
    – nadermx
    2 days ago
















What is the content of /etc/resolv.conf? What does "ip addr show" give? And just to be sure, you are not able to resolve domain names right? (e.g., ping google.com)
– Eric Mintz
2 days ago




What is the content of /etc/resolv.conf? What does "ip addr show" give? And just to be sure, you are not able to resolve domain names right? (e.g., ping google.com)
– Eric Mintz
2 days ago












@EricMintz went ahead and updated answer with the outputs
– nadermx
2 days ago




@EricMintz went ahead and updated answer with the outputs
– nadermx
2 days ago










1 Answer
1






active

oldest

votes


















0














The empty /etc/resolv.conf file looks like issue - that's where you should see something like



nameserver 8.8.8.8
nameserver 8.8.4.4


Add those into it and see if that resolves the internet connectivity issue. If it does, you can make the change permanent by changing it in the Network Manager settings.



Also you can add ones for IPv6:



nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844





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


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104770%2fubuntu-16-04-internet-not-working-but-ssh-works-after-upgrade%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














    The empty /etc/resolv.conf file looks like issue - that's where you should see something like



    nameserver 8.8.8.8
    nameserver 8.8.4.4


    Add those into it and see if that resolves the internet connectivity issue. If it does, you can make the change permanent by changing it in the Network Manager settings.



    Also you can add ones for IPv6:



    nameserver 2001:4860:4860::8888
    nameserver 2001:4860:4860::8844





    share|improve this answer


























      0














      The empty /etc/resolv.conf file looks like issue - that's where you should see something like



      nameserver 8.8.8.8
      nameserver 8.8.4.4


      Add those into it and see if that resolves the internet connectivity issue. If it does, you can make the change permanent by changing it in the Network Manager settings.



      Also you can add ones for IPv6:



      nameserver 2001:4860:4860::8888
      nameserver 2001:4860:4860::8844





      share|improve this answer
























        0












        0








        0






        The empty /etc/resolv.conf file looks like issue - that's where you should see something like



        nameserver 8.8.8.8
        nameserver 8.8.4.4


        Add those into it and see if that resolves the internet connectivity issue. If it does, you can make the change permanent by changing it in the Network Manager settings.



        Also you can add ones for IPv6:



        nameserver 2001:4860:4860::8888
        nameserver 2001:4860:4860::8844





        share|improve this answer












        The empty /etc/resolv.conf file looks like issue - that's where you should see something like



        nameserver 8.8.8.8
        nameserver 8.8.4.4


        Add those into it and see if that resolves the internet connectivity issue. If it does, you can make the change permanent by changing it in the Network Manager settings.



        Also you can add ones for IPv6:



        nameserver 2001:4860:4860::8888
        nameserver 2001:4860:4860::8844






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 days ago









        Eric Mintz

        1619




        1619






























            draft saved

            draft discarded




















































            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%2f1104770%2fubuntu-16-04-internet-not-working-but-ssh-works-after-upgrade%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

            Questions related to Moebius Transform of Characteristic Function of the Primes

            List of scandals in India

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?