Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Ubuntu 16.04 No Internet Connection After Update

  1. #1
    Join Date
    Nov 2018
    Beans
    8

    Ubuntu 16.04 No Internet Connection After Update

    Hello to all Ubuntu users.

    I run an MSI GP62 Leopard Pro laptop.

    Its dual boot with Windows10 and Ubuntu 16.04.

    I LOVE Ubuntu and i rarely use W10.

    Ubuntu is my main OS..so when i totally lost internet connectivity i was dumbfounded..i mean the internet has all but gone. I can't update..nothing.

    I have read so many posts, tried to connect with an ethernet cable and simply cannot connect. I've tried to restore to an earlier back up and still no luck.

    Windows10 works perfectly which is how I'm writing this now.

    When it comes to editing commands with Gedit, etc I'm not very confident but i have tried.

    I'm very close to a re-install and have backed up all my data and files, but would rather try and fix this problem in the case this happens again.

    In regards to the update.it was a weird one for the update gave no details of what was going to be updated, it was a blank window and only showed the file size which was very small. I ignored it the first time but when it showed itself again i agreed to the update and then after that my internet was gone.

    Device manager shows i am still connected, restarting that didn't work.

    Has anyone had this happen to them recently?
    It happened 3 days ago..for 3 days i have tried what i can but still no luck which has brought me here.

    Any help would be greatly appreciated thank you.

    EDIT-Just wanted to add i can't ping google which I've tried, i get no responses back.
    If anyone wants any data from terminal please let me know, i will have to log into Ubuntu and copy and paste any terminal read outs and then log back into windows and then here to reply.
    Last edited by jdmtimemachine; November 13th, 2018 at 10:30 AM.

  2. #2
    Join Date
    Nov 2018
    Location
    Lucknow, India
    Beans
    88
    Distro
    Lubuntu

    Re: Ubuntu 16.04 No Internet Connection After Update

    Hi,

    In regards to the update.it was a weird one for the update gave no details of what was going to be updated, it was a blank window and only showed the file size which was very small. I ignored it the first time but when it showed itself again i agreed to the update and then after that my internet was gone.
    This is weird, normally any Ubuntu/Linux user should ignore such updates but i feel it became to irritating to ignore.

    please paste the output of ping 8.8.8.8 and ping www.google.com
    Learning...... Little odd way for here, read as much as you can before trying anything....
    and get confused enough to forget the actual task.........

  3. #3
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    3,010
    Distro
    Xubuntu

    Re: Ubuntu 16.04 No Internet Connection After Update

    I'm very close to a re-install and have backed up all my data and files, but would rather try and fix this problem in the case this happens again.

    I have been running some form of Ubuntu for the past 10+ years. The one thing that I learned long time ago (and again several times since) is that upgrading from one release to another rarely works well, if at all. I just do clean installs. Doing that saves me time and lots of headaches.

  4. #4
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Ubuntu 16.04 No Internet Connection After Update

    Thread moved to Networking & Wireless for a better fit

  5. #5
    Join Date
    Nov 2018
    Beans
    8

    Re: Ubuntu 16.04 No Internet Connection After Update Merge Posts

    Quote Originally Posted by mitesh.agrwl View Post
    Hi,



    This is weird, normally any Ubuntu/Linux user should ignore such updates but i feel it became to irritating to ignore.

    please paste the output of ping 8.8.8.8 and ping www.google.com
    Hi thanks for your reply.

    Here is the output of first command-
    Code:
    keanu@keanu-GP62-6QF:~$ ping 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_seq=1 ttl=120 time=40.3 ms
    64 bytes from 8.8.8.8: icmp_seq=2 ttl=120 time=38.2 ms
    64 bytes from 8.8.8.8: icmp_seq=3 ttl=120 time=39.0 ms
    64 bytes from 8.8.8.8: icmp_seq=4 ttl=120 time=39.9 ms
    64 bytes from 8.8.8.8: icmp_seq=5 ttl=120 time=38.4 ms
    64 bytes from 8.8.8.8: icmp_seq=6 ttl=120 time=38.1 ms
    64 bytes from 8.8.8.8: icmp_seq=7 ttl=120 time=39.1 ms
    64 bytes from 8.8.8.8: icmp_seq=8 ttl=120 time=38.5 ms
    64 bytes from 8.8.8.8: icmp_seq=9 ttl=120 time=37.9 ms
    64 bytes from 8.8.8.8: icmp_seq=10 ttl=120 time=38.3 ms
    64 bytes from 8.8.8.8: icmp_seq=11 ttl=120 time=37.9 ms
    64 bytes from 8.8.8.8: icmp_seq=12 ttl=120 time=37.7 ms
    64 bytes from 8.8.8.8: icmp_seq=13 ttl=120 time=37.5 ms
    64 bytes from 8.8.8.8: icmp_seq=14 ttl=120 time=38.1 ms
    64 bytes from 8.8.8.8: icmp_seq=15 ttl=120 time=37.2 ms
    64 bytes from 8.8.8.8: icmp_seq=16 ttl=120 time=37.2 ms
    64 bytes from 8.8.8.8: icmp_seq=17 ttl=120 time=37.2 ms
    64 bytes from 8.8.8.8: icmp_seq=18 ttl=120 time=38.3 ms
    64 bytes from 8.8.8.8: icmp_seq=19 ttl=120 time=38.9 ms
    64 bytes from 8.8.8.8: icmp_seq=20 ttl=120 time=38.1 ms
    64 bytes from 8.8.8.8: icmp_seq=21 ttl=120 time=37.1 ms
    64 bytes from 8.8.8.8: icmp_seq=22 ttl=120 time=38.0 ms
    64 bytes from 8.8.8.8: icmp_seq=23 ttl=120 time=37.3 ms
    64 bytes from 8.8.8.8: icmp_seq=24 ttl=120 time=37.4 ms
    64 bytes from 8.8.8.8: icmp_seq=25 ttl=120 time=38.0 ms
    64 bytes from 8.8.8.8: icmp_seq=26 ttl=120 time=38.2 ms
    64 bytes from 8.8.8.8: icmp_seq=27 ttl=120 time=37.2 ms
    64 bytes from 8.8.8.8: icmp_seq=28 ttl=120 time=36.9 ms
    64 bytes from 8.8.8.8: icmp_seq=29 ttl=120 time=37.1 ms
    64 bytes from 8.8.8.8: icmp_seq=30 ttl=120 time=37.5 ms
    64 bytes from 8.8.8.8: icmp_seq=31 ttl=120 time=37.8 ms
    64 bytes from 8.8.8.8: icmp_seq=32 ttl=120 time=37.7 ms
    64 bytes from 8.8.8.8: icmp_seq=33 ttl=120 time=41.4 m
    Here is the output of second command, but it resulted in saying "Unknown Host"

    Code:
    keanu@keanu-GP62-6QF:~$ ping www.google.com
    ping: unknown host www.google.com
    Quote Originally Posted by Autodave View Post
    I'm very close to a re-install and have backed up all my data and files, but would rather try and fix this problem in the case this happens again.

    I have been running some form of Ubuntu for the past 10+ years. The one thing that I learned long time ago (and again several times since) is that upgrading from one release to another rarely works well, if at all. I just do clean installs. Doing that saves me time and lots of headaches.
    Yep same here also.

    16.04 is my third Ubuntu install, always a fresh clean install.


    EDIT-I'm in Australia so apologies for my late replies.
    Thanks again.
    Last edited by howefield; November 15th, 2018 at 07:58 PM. Reason: posts merged.

  6. #6
    Join Date
    Nov 2018
    Location
    Lucknow, India
    Beans
    88
    Distro
    Lubuntu

    Re: Ubuntu 16.04 No Internet Connection After Update

    Code:
    keanu@keanu-GP62-6QF:~$ ping www.google.com
    ping: unknown host www.google.com
    The output from first command shows that internet connection is good, you are able to access the internet but the problem is with DNS resolution.

    Please paste the output of the following command
    Code:
    nmcli device show <interfacename> | grep IP4.DNS
    Last edited by slickymaster; November 15th, 2018 at 12:30 PM. Reason: code tags
    Learning...... Little odd way for here, read as much as you can before trying anything....
    and get confused enough to forget the actual task.........

  7. #7
    Join Date
    Nov 2018
    Beans
    8

    Re: Ubuntu 16.04 No Internet Connection After Update Merge Posts

    Quote Originally Posted by mitesh.agrwl View Post
    The output from first command shows that internet connection is good, you are able to access the internet but the problem is with DNS resolution.

    Please paste the output of the following command nmcli device show <interfacename> | grep IP4.DNS
    Will do thank you...back soon!

    Hi here is the output..doesn't look good I'm afraid...

    Code:
    keanu@keanu-GP62-6QF:~$ nmcli device show <interfacename> | grep IP4.DNS
    [COLOR=#ff0000]bash: syntax error near unexpected token `|'
    I tried a few more things on my end which gave no result..here are the 3 different commands i entered and the outputs that followed-

    Code:
    keanu@keanu-GP62-6QF:~$ sudo gedit /etc/resolvconf/resolv.conf.d/tail
    
    (gedit:2838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
    
    ** (gedit:2838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
    COMMAND#2
    Code:
    sudo mkdir -p /run/resolvconf/interface
    sudo resolvconf -u
    sudo service resolvconf restart
    
    keanu@keanu-GP62-6QF:~$ sudo mkdir -p /run/resolvconf/interface
    keanu@keanu-GP62-6QF:~$ sudo resolvconf -u
    /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf
    keanu@keanu-GP62-6QF:~$ sudo service resolvconf restart
    keanu@keanu-GP62-6QF:~$
    COMMAND#3

    Code:
    /etc/NetworkManager/NetworkManager.conf
    Delete (or comment out with a hash #) the line that reads dns=dnsmasq.
    Restart NetworkManager via sudo service NetworkManager restart
    
    keanu@keanu-GP62-6QF:~$ sudo gedit /etc/NetworkManager/NetworkManager.conf
    [sudo] password for keanu: 
    
    (gedit:2726): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
    
    ** (gedit:2726): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
    
    ** (gedit:2726): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
    Everything i try seems to hit a wall.

    Has something been damaged to the point where i will need to do a complete re-install?

    Or is there still an option for me to have this problem fixed?

    I hope there is..looking forward to your reply tomorrow!
    Last edited by howefield; November 15th, 2018 at 07:58 PM. Reason: posts merged.

  8. #8
    Join Date
    Nov 2018
    Location
    Lucknow, India
    Beans
    88
    Distro
    Lubuntu

    Re: Ubuntu 16.04 No Internet Connection After Update Merge Posts

    Hi here is the output..doesn't look good I'm afraid...

    Code:
    keanu@keanu-GP62-6QF:~$ nmcli device show <interfacename> | grep IP4.DNS
    bash: syntax error near unexpected token `|'
    The <interface> in the command above hsould have been replaced by the 'name of network interface interface'. If you are not sure about it, then do the following:

    Code:
    Command : ifconfig
    
    enp3s0    Link encap:Ethernet  HWaddr 88:ae:1d:d5:40:04  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    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:7939 errors:0 dropped:0 overruns:0 frame:0
              TX packets:7939 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1 
              RX bytes:986272 (986.2 KB)  TX bytes:986272 (986.2 KB)
    
    wlp2s0b1  Link encap:Ethernet  HWaddr 00:26:82:da:ee:50  
              inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::226:82ff:feda:ee50/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:437880 errors:0 dropped:0 overruns:0 frame:0
              TX packets:285973 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:583226427 (583.2 MB)  TX bytes:39348181 (39.3 MB)
    In above example the interface card used is wlp2s0b1. Hence, will replace <interfacename> with wlp2s0b1.

    Quote Originally Posted by jdmtimemachine View Post
    I tried a few more things on my end which gave no result..here are the 3 different commands i entered and the outputs that followed-

    keanu@keanu-GP62-6QF:~$ sudo gedit /etc/resolvconf/resolv.conf.d/tail

    OUTPUT-
    (gedit:2838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported

    ** (gedit:2838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported

    COMMAND#2
    sudo mkdir -p /run/resolvconf/interface
    sudo resolvconf -u
    sudo service resolvconf restart

    OUTPUT-
    keanu@keanu-GP62-6QF:~$ sudo mkdir -p /run/resolvconf/interface
    keanu@keanu-GP62-6QF:~$ sudo resolvconf -u
    /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf
    keanu@keanu-GP62-6QF:~$ sudo service resolvconf restart
    keanu@keanu-GP62-6QF:~$

    COMMAND#3

    /etc/NetworkManager/NetworkManager.conf
    Delete (or comment out with a hash #) the line that reads dns=dnsmasq.
    Restart NetworkManager via sudo service NetworkManager restart
    RESULT-
    keanu@keanu-GP62-6QF:~$ sudo gedit /etc/NetworkManager/NetworkManager.conf
    [sudo] password for keanu:

    (gedit:2726): Gtk-WARNING **: Calling Inhibit failed: GDBus.Errorrg.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

    ** (gedit:2726): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported

    ** (gedit:2726): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported

    Everything i try seems to hit a wall.

    Has something been damaged to the point where i will need to do a complete re-install?

    Or is there still an option for me to have this problem fixed?

    I hope there is..looking forward to your reply tomorrow!
    Hopefully there was no damage done by first and third command (s set), if no editing was done in gedit or gedit did not responded. The second command set has updated the resolvconf. Please paste the reference link which mentioned the solution. Also paste the outputs of following command, run each command individually.

    Code:
    $ ls /etc/resolvconf/
    $ ls /etc/resolvconf/interfaces
    Last edited by howefield; November 15th, 2018 at 08:00 PM. Reason: posts merged.
    Learning...... Little odd way for here, read as much as you can before trying anything....
    and get confused enough to forget the actual task.........

  9. #9
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Ubuntu 16.04 No Internet Connection After Update

    @jdmtimemachine @mitesh.agrwl:

    I've already edited several posts in this thread due to an improper posting of output. Please take in consideration that output posted as plain text loses its formatting and parts of it sometimes turn into smileys making it difficult to read and understand. Please always use code tags when doing it

  10. #10
    Join Date
    Nov 2018
    Location
    Lucknow, India
    Beans
    88
    Distro
    Lubuntu

    Re: Ubuntu 16.04 No Internet Connection After Update

    @slickymaster:

    Thanks for the correction and information.
    Learning...... Little odd way for here, read as much as you can before trying anything....
    and get confused enough to forget the actual task.........

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •