no internet connection

Asked by adom he on 2018-03-31

i recently upgraded to ubuntu 16.04, and after rebooting i have no internet connection (ethernet and wifi) can you please help me out/

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu evince Edit question
Assignee:
No assignee Edit question
Last query:
2018-05-16
Last reply:
2018-05-22

Which release did you upgrade from?
What method did you use?
Can you ping 8.8.8.8?

adom he (doobapooba1) said : #2

I upgraded from ubuntu 14.04 LTS
I upgraded from the pop-up box that said " there is a new version of ubuntu version 16.0, would you like to upgrade?

i just reinstalled ubuntu 12.04 from a CD on my laptop, i am going to wait for the dialog box to appear again to upgrade to 14.04, then upgrade again to 16.04 , then i will let you know if i can ping 8.8.8.8.8

I suggest you clean install Bionic. It is out soon and is LTS. It is supported until April 2023.

adom he (doobapooba1) said : #4

ok i will install Bionic when it comes out, thank you very much

Zoltán Süle (zoltan-sule) said : #5

same issue with me. I tried to upgrade my ubuntu 16.04 to 18.04 yesterday.

There is no internet after the upgrade (wifi, wired connection, tethered usb or bluetooth)

When the login page appears there is a status message saying that the computer connected to the internet. 2 seconds later there is another one saying that it is disconnected. After the login the computer is switched to airplane mode. I can switch on the wired network and the wifi, but there is no effect.

I disabled the IPv6, but it didn't help.

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

there is an extra line in this file in my debian server:
source /etc/network/interfaces.d/*

if I don't restart the network it looks like:

$ sudo nmcli d

    DEVICE TYPE STATE CONNECTION
    wlp2s0 wifi connected UPC95F5DE2
    br-eb13c31fadea bridge unmanaged --
    br-f5de9617f602 bridge unmanaged --
    docker0 bridge unmanaged --
    virbr0 bridge unmanaged --
    eno1 ethernet unmanaged --
    lo loopback unmanaged --
    virbr0-nic tun unmanaged --

after the restart

$ sudo nmcli d

    DEVICE TYPE STATE CONNECTION
    eno1 ethernet connected eno1
    wlp2s0 wifi connected UPCXXXXXXX
    br-eb13c31fadea bridge connected br-eb13c31fadea
    br-f5de9617f602 bridge connected br-f5de9617f602
    docker0 bridge connected docker0
    virbr0 bridge connected virbr0
    lo loopback unmanaged --
    virbr0-nic tun unmanaged --

$ sudo ifconfig -a

 br-eb13c31fadea Link encap:Ethernet HWaddr 02:42:cb:f0:35:ab
    inet addr:172.19.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
    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:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

 br-f5de9617f602 Link encap:Ethernet HWaddr 02:42:9e:06:c9:20
    inet addr:172.18.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
    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:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

 docker0 Link encap:Ethernet HWaddr 02:42:d5:68:0c:03
    inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
    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:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

 eno1 Link encap:Ethernet HWaddr ec:f4:bb:59:f2:f1
    inet addr:192.168.0.157 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::eef4:bbff:fe59:f2f1/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:126 errors:0 dropped:0 overruns:0 frame:0
    TX packets:241 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:9124 (9.1 KB) TX bytes:29641 (29.6 KB)
    Interrupt:20 Memory:f7400000-f7420000

 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:2036 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2036 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1
    RX bytes:152676 (152.6 KB) TX bytes:152676 (152.6 KB)

 virbr0 Link encap:Ethernet HWaddr 52:54:00:fd:f3:56
    inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
    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)

 virbr0-nic Link encap:Ethernet HWaddr 52:54:00:fd:f3:56
    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)

 wlp2s0 Link encap:Ethernet HWaddr f8:16:54:4f:55:1a
    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)

adom he (doobapooba1) said : #7

I tried upgrading once again, this time i used the terminal to upgrade (sudo do-release-upgrade)
and i have connection (ethernet & WiFi).
thanks everyone for all the help

adom he (doobapooba1) said : #8

i just tried to do an upgrade from ubuntu 17.10 to ubuntu Bionic from the terminal using (do-release-upgrade) and i get this message :

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://mirror.math.ucdavis.edu/ubuntu artful InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu artful-updates InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu artful-backports InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu artful-security InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu artful-proposed InRelease
Ign http://archive.canonical.com/ubuntu precise InRelease
Get:1 http://archive.canonical.com/ubuntu precise Release [8,180 B]
Get:2 http://archive.canonical.com/ubuntu precise Release.gpg [181 B]
Ign http://archive.canonical.com/ubuntu precise Release.gpg
Fetched 8,361 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done

Updating repository information

Third party sources disabled

Some third party entries in your sources.list were disabled. You can
re-enable them after the upgrade with the 'software-properties' tool
or your package manager.

To continue please press [ENTER]

Hit http://mirror.math.ucdavis.edu/ubuntu bionic InRelease
Get:1 http://mirror.math.ucdavis.edu/ubuntu bionic-updates InRelease [83.2 kB]
Hit http://mirror.math.ucdavis.edu/ubuntu bionic-backports InRelease
Get:2 http://mirror.math.ucdavis.edu/ubuntu bionic-security InRelease [83.2 kB]
Ign http://archive.canonical.com/ubuntu precise InRelease
Get:3 http://mirror.math.ucdavis.edu/ubuntu bionic-proposed InRelease [242 kB]
Get:4 http://archive.canonical.com/ubuntu precise Release [8,180 B]
Get:5 http://mirror.math.ucdavis.edu/ubuntu bionic-updates/main i386 DEP-11 Metadata [6,132 B]
Get:6 http://mirror.math.ucdavis.edu/ubuntu bionic-updates/universe i386 DEP-11 Metadata [2,452 B]
Get:7 http://mirror.math.ucdavis.edu/ubuntu bionic-updates/multiverse i386 Packages [1,640 B]
Get:8 http://archive.canonical.com/ubuntu precise Release.gpg [181 B]
Get:9 http://mirror.math.ucdavis.edu/ubuntu bionic-security/main i386 DEP-11 Metadata [204 B]
Get:10 http://mirror.math.ucdavis.edu/ubuntu bionic-security/universe i386 DEP-11 Metadata [2,452 B]
Get:11 http://mirror.math.ucdavis.edu/ubuntu bionic-proposed/main i386 DEP-11 Metadata [12.1 kB]
Get:12 http://mirror.math.ucdavis.edu/ubuntu bionic-proposed/universe i386 DEP-11 Metadata [3,724 B]
Ign http://archive.canonical.com/ubuntu precise Release.gpg
Fetched 446 kB in 0s (0 B/s)
Hit http://mirror.math.ucdavis.edu/ubuntu bionic InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu bionic-updates InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu bionic-backports InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu bionic-security InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu bionic-proposed InRelease
Ign http://archive.canonical.com/ubuntu precise InRelease
Get:1 http://archive.canonical.com/ubuntu precise Release [8,180 B]
Get:2 http://archive.canonical.com/ubuntu precise Release.gpg [181 B]
Ign http://archive.canonical.com/ubuntu precise Release.gpg
Fetched 8,361 B in 0s (0 B/s)
Hit http://mirror.math.ucdavis.edu/ubuntu bionic InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu bionic-updates InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu bionic-backports InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu bionic-security InRelease
Hit http://mirror.math.ucdavis.edu/ubuntu bionic-proposed InRelease
Ign http://archive.canonical.com/ubuntu precise InRelease
Get:1 http://archive.canonical.com/ubuntu precise Release [8,180 B]
Get:2 http://archive.canonical.com/ubuntu precise Release.gpg [181 B]
Ign http://archive.canonical.com/ubuntu precise Release.gpg
Fetched 8,361 B in 0s (0 B/s)

Error during update

A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.

W:GPG error: http://archive.canonical.com/ubuntu precise Release: The
following signatures couldn't be verified because the public key is
not available: NO_PUBKEY 40976EAF437D05B5, E:The repository
'http://archive.canonical.com/ubuntu precise Release' is not signed.

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done

What is the output of:

grep -R precise /etc/apt/*

Thanks

adom he (doobapooba1) said : #10

grep -R precise /etc/apt/*

q@q-Latitude-D630:~$ grep -R precise /etc/apt/*
/etc/apt/sources.list:# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted
/etc/apt/sources.list:deb http://archive.canonical.com/ubuntu precise partner
/etc/apt/sources.list:deb-src http://archive.canonical.com/ubuntu precise partner
/etc/apt/sources.list.distUpgrade:# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted
/etc/apt/sources.list.distUpgrade:deb http://archive.canonical.com/ubuntu precise partner
/etc/apt/sources.list.distUpgrade:deb-src http://archive.canonical.com/ubuntu precise partner
/etc/apt/sources.list.save:# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted
/etc/apt/sources.list.save:deb http://archive.canonical.com/ubuntu precise partner
/etc/apt/sources.list.save:deb-src http://archive.canonical.com/ubuntu precise partner

ok, run:

sudo cp /etc/apt/sources.list /etc/apt/sources.list-20180514
sudo sed -i -e "s/precise/bionic/g" /etc/apt/sources.list
sudo apt-get update

What is the full output please?

adom he (doobapooba1) said : #12

q@q-Latitude-D630:~$ sudo cp /etc/apt/sources.list /etc/apt/sources.list-20180514
[sudo] password for q:
q@q-Latitude-D630:~$ sudo sed -i -e "s/precise/bionic/g" /etc/apt/sources.list
q@q-Latitude-D630:~$ sudo apt-get update
Get:1 http://mirror.math.ucdavis.edu/ubuntu artful InRelease [237 kB]
Get:2 http://archive.canonical.com/ubuntu bionic InRelease [10.2 kB]
Get:3 http://mirror.math.ucdavis.edu/ubuntu artful-updates InRelease [88.7 kB]
Get:4 http://mirror.math.ucdavis.edu/ubuntu artful-backports InRelease [74.6 kB]
Get:5 http://archive.canonical.com/ubuntu bionic/partner Sources [1,400 B]
Get:6 http://mirror.math.ucdavis.edu/ubuntu artful-security InRelease [83.2 kB]
Get:7 http://archive.canonical.com/ubuntu bionic/partner i386 Packages [1,588 B]
Get:8 http://archive.canonical.com/ubuntu bionic/partner Translation-en [708 B]
Get:9 http://mirror.math.ucdavis.edu/ubuntu artful-proposed InRelease [240 kB]
Get:10 http://mirror.math.ucdavis.edu/ubuntu artful/multiverse Sources [182 kB]
Get:11 http://mirror.math.ucdavis.edu/ubuntu artful/restricted Sources [5,392 B]
Get:12 http://mirror.math.ucdavis.edu/ubuntu artful/universe Sources [8,721 kB]
Get:13 http://mirror.math.ucdavis.edu/ubuntu artful/main Sources [849 kB]
Get:14 http://mirror.math.ucdavis.edu/ubuntu artful/main i386 Packages [1,067 kB]
Get:15 http://mirror.math.ucdavis.edu/ubuntu artful/main Translation-en [542 kB]
Get:16 http://mirror.math.ucdavis.edu/ubuntu artful/main i386 DEP-11 Metadata [472 kB]
Get:17 http://mirror.math.ucdavis.edu/ubuntu artful/main DEP-11 64x64 Icons [263 kB]
Get:18 http://mirror.math.ucdavis.edu/ubuntu artful/restricted i386 Packages [8,876 B]
Get:19 http://mirror.math.ucdavis.edu/ubuntu artful/restricted Translation-en [2,788 B]
Get:20 http://mirror.math.ucdavis.edu/ubuntu artful/universe i386 Packages [8,066 kB]
Get:21 http://mirror.math.ucdavis.edu/ubuntu artful/universe Translation-en [4,789 kB]
Get:22 http://mirror.math.ucdavis.edu/ubuntu artful/universe i386 DEP-11 Metadata [2,938 kB]
Get:23 http://mirror.math.ucdavis.edu/ubuntu artful/universe DEP-11 64x64 Icons [7,915 kB]
Get:24 http://mirror.math.ucdavis.edu/ubuntu artful/multiverse i386 Packages [143 kB]
Get:25 http://mirror.math.ucdavis.edu/ubuntu artful/multiverse Translation-en [108 kB]
Get:26 http://mirror.math.ucdavis.edu/ubuntu artful/multiverse i386 DEP-11 Metadata [44.8 kB]
Get:27 http://mirror.math.ucdavis.edu/ubuntu artful/multiverse DEP-11 64x64 Icons [207 kB]
Get:28 http://mirror.math.ucdavis.edu/ubuntu artful-updates/multiverse Sources [2,892 B]
Get:29 http://mirror.math.ucdavis.edu/ubuntu artful-updates/main Sources [101 kB]
Get:30 http://mirror.math.ucdavis.edu/ubuntu artful-updates/universe Sources [36.6 kB]
Get:31 http://mirror.math.ucdavis.edu/ubuntu artful-updates/restricted Sources [960 B]
Get:32 http://mirror.math.ucdavis.edu/ubuntu artful-updates/main i386 Packages [252 kB]
Get:33 http://mirror.math.ucdavis.edu/ubuntu artful-updates/main Translation-en [114 kB]
Get:34 http://mirror.math.ucdavis.edu/ubuntu artful-updates/main i386 DEP-11 Metadata [97.1 kB]
Get:35 http://mirror.math.ucdavis.edu/ubuntu artful-updates/main DEP-11 64x64 Icons [44.8 kB]
Get:36 http://mirror.math.ucdavis.edu/ubuntu artful-updates/restricted i386 Packages [2,180 B]
Get:37 http://mirror.math.ucdavis.edu/ubuntu artful-updates/restricted Translation-en [1,284 B]
Get:38 http://mirror.math.ucdavis.edu/ubuntu artful-updates/universe i386 Packages [111 kB]
Get:39 http://mirror.math.ucdavis.edu/ubuntu artful-updates/universe Translation-en [62.9 kB]
Get:40 http://mirror.math.ucdavis.edu/ubuntu artful-updates/universe i386 DEP-11 Metadata [105 kB]
Get:41 http://mirror.math.ucdavis.edu/ubuntu artful-updates/universe DEP-11 64x64 Icons [106 kB]
Get:42 http://mirror.math.ucdavis.edu/ubuntu artful-updates/multiverse i386 Packages [4,280 B]
Get:43 http://mirror.math.ucdavis.edu/ubuntu artful-updates/multiverse Translation-en [2,264 B]
Get:44 http://mirror.math.ucdavis.edu/ubuntu artful-updates/multiverse i386 DEP-11 Metadata [2,468 B]
Get:45 http://mirror.math.ucdavis.edu/ubuntu artful-updates/multiverse DEP-11 64x64 Icons [2,638 B]
Get:46 http://mirror.math.ucdavis.edu/ubuntu artful-backports/main Sources [1,192 B]
Get:47 http://mirror.math.ucdavis.edu/ubuntu artful-backports/universe Sources [2,480 B]
Get:48 http://mirror.math.ucdavis.edu/ubuntu artful-backports/main i386 Packages [1,512 B]
Get:49 http://mirror.math.ucdavis.edu/ubuntu artful-backports/main Translation-en [668 B]
Get:50 http://mirror.math.ucdavis.edu/ubuntu artful-backports/universe i386 Packages [3,848 B]
Get:51 http://mirror.math.ucdavis.edu/ubuntu artful-backports/universe Translation-en [2,116 B]
Get:52 http://mirror.math.ucdavis.edu/ubuntu artful-backports/universe i386 DEP-11 Metadata [5,092 B]
Get:53 http://mirror.math.ucdavis.edu/ubuntu artful-backports/universe DEP-11 64x64 Icons [2,717 B]
Get:54 http://mirror.math.ucdavis.edu/ubuntu artful-security/restricted Sources [960 B]
Get:55 http://mirror.math.ucdavis.edu/ubuntu artful-security/universe Sources [18.4 kB]
Get:56 http://mirror.math.ucdavis.edu/ubuntu artful-security/multiverse Sources [1,172 B]
Get:57 http://mirror.math.ucdavis.edu/ubuntu artful-security/main Sources [52.5 kB]
Get:58 http://mirror.math.ucdavis.edu/ubuntu artful-security/main i386 Packages [158 kB]
Get:59 http://mirror.math.ucdavis.edu/ubuntu artful-security/main Translation-en [70.7 kB]
Get:60 http://mirror.math.ucdavis.edu/ubuntu artful-security/main i386 DEP-11 Metadata [27.8 kB]
Get:61 http://mirror.math.ucdavis.edu/ubuntu artful-security/main DEP-11 64x64 Icons [31.8 kB]
Get:62 http://mirror.math.ucdavis.edu/ubuntu artful-security/restricted i386 Packages [2,180 B]
Get:63 http://mirror.math.ucdavis.edu/ubuntu artful-security/restricted Translation-en [1,284 B]
Get:64 http://mirror.math.ucdavis.edu/ubuntu artful-security/universe i386 Packages [62.9 kB]
Get:65 http://mirror.math.ucdavis.edu/ubuntu artful-security/universe Translation-en [37.7 kB]
Get:66 http://mirror.math.ucdavis.edu/ubuntu artful-security/universe i386 DEP-11 Metadata [61.9 kB]
Get:67 http://mirror.math.ucdavis.edu/ubuntu artful-security/universe DEP-11 64x64 Icons [39.7 kB]
Get:68 http://mirror.math.ucdavis.edu/ubuntu artful-security/multiverse i386 Packages [1,988 B]
Get:69 http://mirror.math.ucdavis.edu/ubuntu artful-security/multiverse Translation-en [1,124 B]
Get:70 http://mirror.math.ucdavis.edu/ubuntu artful-proposed/multiverse i386 DEP-11 Metadata [2,468 B]
Get:71 http://mirror.math.ucdavis.edu/ubuntu artful-proposed/multiverse DEP-11 64x64 Icons [2,638 B]
Get:72 http://mirror.math.ucdavis.edu/ubuntu artful-proposed/main i386 Packages [21.9 kB]
Get:73 http://mirror.math.ucdavis.edu/ubuntu artful-proposed/main Translation-en [11.1 kB]
Get:74 http://mirror.math.ucdavis.edu/ubuntu artful-proposed/main i386 DEP-11 Metadata [6,272 B]
Get:75 http://mirror.math.ucdavis.edu/ubuntu artful-proposed/main DEP-11 64x64 Icons [6,118 B]
Get:76 http://mirror.math.ucdavis.edu/ubuntu artful-proposed/universe i386 Packages [13.3 kB]
Get:77 http://mirror.math.ucdavis.edu/ubuntu artful-proposed/universe Translation-en [8,744 B]
Get:78 http://mirror.math.ucdavis.edu/ubuntu artful-proposed/universe i386 DEP-11 Metadata [7,484 B]
Get:79 http://mirror.math.ucdavis.edu/ubuntu artful-proposed/universe DEP-11 64x64 Icons [5,187 B]
Fetched 38.8 MB in 17s (2,261 kB/s)
Reading package lists... Done

Great. Try the upgrade

adom he (doobapooba1) said : #14

cool thanks, i did the upgrade I get this error message now

Error calling StartServiceByName for org.freedesktop.fwupd: Timeout was reached

Have you looked online to see what that means?

adom he (doobapooba1) said : #16

yes i looked online, but i still dont understand what it means

Can you help with this problem?

Provide an answer of your own, or ask adom he for more information if necessary.

To post a message you must log in.