! Cannot connect to internet in Ubuntu 17.04 (DNS Lookup fails)

Bug #1679535 reported by moma on 2017-04-04
This bug affects 15 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)

Bug Description

I think this is a bug in the WIFI-driver or kernel.
Ubuntu is connected to the WIFI (router) box, but it cannot find DNS server to get to the internet.

I have periodically *serious* problems with WIFI in Ubuntu 17.04.
The network icon shows "connected" to the router and internet, but browsers and other attempts to get data report DNS error / or not connected.

This happens in all flavours of Ubuntu 17.04 (Ubuntu, Ubuntu GNOME etc.).

Same laptop with Ubuntu 16.10 works flawlessly.

The connection works fine after I reboot (power off/on) the router box.
Then the bug may return (or may not return) after I turn on my laptop next time.

This laptop is Toshiba Stellite P50 C.
The laptop has Intel Corporation Wireless 3165 (rev 81).

$ lspci -nnk | grep -iA2 net; uname -r; ls /lib/firmware/ | grep 'iwlwifi-7265d'

0d:00.0 Network controller [0280]: Intel Corporation Wireless 3165 [8086:3165] (rev 81)
Subsystem: Intel Corporation Dual Band Wireless AC 3165 [8086:4010]
Kernel driver in use: iwlwifi
0e:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Toshiba America Info Systems RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1179:f840]
Kernel driver in use: r8169
Kernel modules: r8169

Ref: https://wiki.debian.org/iwlwifi

Restarting the network.manager does not help.
$ sudo service network-manager restart
Network manager connects (and sees) to the router, but cannot access internet.

Please see also:

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: network-manager 1.4.4-1ubuntu3
Uname: Linux 4.11.0-041100rc4-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Apr 4 08:22:23 2017
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2017-03-27 (8 days ago)
InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Beta amd64 (20170321)
 default via dev wlp13s0 proto static metric 600 dev wlp13s0 scope link metric 1000 dev wlp13s0 proto kernel scope link src metric 600

SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
 wlp13s0 wifi connected /org/freedesktop/NetworkManager/Devices/2 Ubuntu-Linux-Network dda6e4cf-5cd9-4e01-b638-418985262413 /org/freedesktop/NetworkManager/ActiveConnection/5
 enp14s0 ethernet unavailable /org/freedesktop/NetworkManager/Devices/1 -- -- --
 lo loopback unmanaged /org/freedesktop/NetworkManager/Devices/0 -- -- --
 running 1.4.4 connected started full enabled enabled enabled enabled enabled

moma (osmoma) wrote :
description: updated
description: updated
Goodwin (goodwin93sad2) wrote :

I have the same problem with Tenda W311i adapter.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
abraxys (abraxys) wrote :

I have the a similar issue. I cannot connect to the internet with a wired connection.

hrvooje (hrvooje-gmail) wrote :

I have a similar issue with the bcmwl-kernel-source for Broadcom BCM4359 802.11 Hybrid Wireless Controller (r58733). If I reset network service, the wifi network works for a few minutes:

sudo service network-manager restart

This is what dmesg says:

wl: loading out-of-tree module taints kernel.
[ 14.318743] wl: module license 'MIXED/Proprietary' taints kernel.
[ 14.318744] Disabling lock debugging due to kernel taint
[ 14.320217] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 14.393619] wlan0: Broadcom BCM4359 802.11 Hybrid Wireless Controller (r587334)

wlo1 Scan_results error (-22)
[ 502.407031] usb 3-3: USB disconnect, device number 2
[ 909.203000] ERROR @wl_cfg80211_scan :
[ 909.203002] WLC_SCAN error (-22)
[ 910.204637] ERROR @wl_cfg80211_scan :
[ 910.204640] WLC_SCAN error (-22)
[ 911.206039] ERROR @wl_cfg80211_scan :
[ 911.206043] WLC_SCAN error (-22)

Fred (fred843228) wrote :

I had the same issue with Lubuntu and Ubuntu 17.04 with a wired connection on a Dell Optiplex 780 desktop. Windows 10 on the same box has no problem. Seems to be a DNS lookup problem. Had to fall back to Lubuntu 16.04. I use this my primary computer so needed to restore my files and reinstall apps that I need. Would much prefer not to go back to Windows in the future if possible.

Michael Lynch (lynchm0965) wrote :

I am having a very similar problem on a Dell Inspiron desktop computer.
Had few connectivity issues with Ubuntu 16.10. Upgraded to 17.04, and connectivity has been an almost constant problem.
When the computer is connecting to my Wifi, the speeds are extremely slow (sometimes 1-60 MB/s), and I have to reboot the computer, disconnect then reconnect the WiFi, etc.
I have also noticed that I now have a perpetual "virbr0" that will not shut off, or allow itself to be deleted when editing the Network Connections.

Per Olausson (per-olauzzon-h) wrote :

Hi everyone. I suffered too, but here is my solution.

This bug appears to affect old RTL8111/8168/8411 devices.

To check if you are affected:

  # lshw -class network | grep product
  product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller # <--- you might be
  # lsmod | grep r8169
  r8169 81920 0 # <--- you are affected because r8169 should not be loaded, r8168 should be but appears to not come with Ubuntu 17.04...

To solve this problem you need to have DKMS installed:

  # dpkg -l | grep dkms
  ii dkms 2.3-3ubuntu1 all
  Dynamic Kernel Module Support Framework

You need to download https://packages.ubuntu.com/zesty/all/r8168-dkms/download and bring it across to the machine affected and then install it on there:

  # dpkg -i r8168-dkms_8.043.02-1_all.deb

I am saying this since it might be that you struggle to get anything useful out of apt install etc because of lack of proper routing via your local network gateway. Of course the alternative is to just do:

  # sudo apt install r8168-dkms

For those needing a bit more help, see a more detailed guide @

It also explains why this problem is happening.

Mitesh Nile (miteshnile) wrote :

I have a similar problem in Ubuntu Server 17.04 and I just can't find a way to work out..
I am connecting to a wired internet pppoe connection. It successfully gets connected to the internet but I cannot ping outside my network nor can get any ping from outside.

Kevin Ushey (kevinushey) wrote :

I can confirm that I'm also seeing this issue, with an RTL8111 Ethernet controller.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers