Wireless/ethernet work but no internet after recent system update

Hello! Apologies in advance for my English and general lack of Bash and networking skill. So, both of my Lenovo laptops are experiencing this issue after running

sudo pacman -Syu

earlier this week. I was in a hurry so I just reinstalled manjaro on one of them so I could get back to work, but the other is still having problems and I would like to troubleshoot it. These same symptoms (wireless/ethernet connectivity but no internet) have occurred several times this year; I did not troubleshoot but simply reinstalled.

All my mobile devices work, as does my partner's Apple laptop. I have restarted my modem and router, with no updates to their firmware or settings to explain the issue.

I'm currently away from home with access to both laptops and wifi, but no ethernet.

Thank you very much!

The output of inxi -Fxxxz --no-host on the problem laptop is:

System:
  Kernel: 4.19.81-1-MANJARO x86_64 bits: 64 
  compiler: gcc v: 9.2.0 
  Desktop: KDE Plasma 5.17.2 tk: Qt 5.13.1 
  wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:
  Type: Convertible System: LENOVO 
  product: 20GAS01M00 
  v: ThinkPad Yoga 11e 3rd Gen 
  serial: <filter> Chassis: type: 31 
  serial: <filter> 
  Mobo: LENOVO 
  model: Intel powered classmate PC 
  v: SDK0J40700 WIN serial: <filter> 
  UEFI: LENOVO v: R0AET35W (1.18) 
  date: 08/04/2017 
Battery:
  ID-1: BAT1 charge: 30.6 Wh 
  condition: 35.5/42.0 Wh (85%) 
  volts: 12.0/11.4 model: LGC LNV-00HW043 
  type: Li-poly serial: <filter> 
  status: Discharging 
CPU:
  Topology: Quad Core 
  model: Intel Celeron N3150 bits: 64 
  type: MCP arch: Airmont rev: 3 
  L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 
  ssse3 vmx 
  bogomips: 12805 
  Speed: 499 MHz min/max: 480/2080 MHz 
  Core speeds (MHz): 1: 524 2: 480 3: 480 
  4: 499 
Graphics:
  Device-1: Intel Atom/Celeron/Pentium 
  Processor x5-E8000/J3xxx/N3xxx Integrated 
  Graphics 
  vendor: Lenovo driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:22b1 
  Display: x11 server: X.Org 1.20.5 
  driver: intel unloaded: modesetting 
  alternate: fbdev,vesa compositor: kwin_x11 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 
  400 (Braswell) 
  v: 4.5 Mesa 19.2.2 compat-v: 3.0 
  direct render: Yes 
Audio:
  Device-1: Intel Atom/Celeron/Pentium 
  Processor x5-E8000/J3xxx/N3xxx Series High 
  Definition Audio 
  vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 00:1b.0 chip ID: 8086:2284 
  Sound Server: ALSA v: k4.19.81-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI 
  Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel 
  port: 1000 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: enp2s0 state: down mac: <filter> 
  Device-2: Intel Wireless 7265 
  driver: iwlwifi v: kernel port: 1000 
  bus ID: 03:00.0 chip ID: 8086:095b 
  IF: wlp3s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 136.04 GiB 
  used: 35.68 GiB (26.2%) 
  ID-1: /dev/sda vendor: Samsung 
  model: MZNTY128HDHP-000L1 size: 119.24 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 3L0Q 
  scheme: GPT 
  ID-2: /dev/sdb type: USB vendor: Generic 
  model: SD MMC MS PRO size: 1.89 GiB 
  serial: <filter> rev: 1.00 scheme: MBR 
  ID-3: /dev/sdc type: USB vendor: SanDisk 
  model: Cruzer Blade size: 14.91 GiB 
  serial: <filter> rev: 1.27 
Partition:
  ID-1: / size: 66.30 GiB 
  used: 30.84 GiB (46.5%) fs: ext4 
  dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 65.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 4114 
Info:
  Processes: 192 Uptime: 4d 3h 12m 
  Memory: 3.68 GiB used: 863.9 MiB (22.9%) 
  Init: systemd v: 242 Compilers: gcc: 9.2.0 
  Shell: bash v: 5.0.11 running in: alacritty 
  inxi: 3.0.36 

Have you tested other kernels?

Are you dual booting with Windows?

Sorry for the delay and thank you for the response. On the laptop whose details are listed above, I have only tried 4.19 because I hadn’t installed others (sigh). Earlier in the year I had tried 5.3, 4.19, and 4.14. On the laptop that I have recently reformatted, 5.3, 4.19, and 4.14 were all installed and none worked. Both laptops were running 4.19 when the problems arose last week.

I am not dual-booting either laptop with windows, though each has dual-booted several Linux distros this year.

Are both of these laptops using Intel adapters?

Was the output from inxi from the computer that internet is currently not working. That is the one that we require outputs from and we need to troubleshoot.

You can use USB Android phone tethering to get a connection on the laptop that is not working.

The first two things I would try is to "disable MAC Address randomization" and "disable IPv6". If you search both those terms you should easily find directions on the forum.

It would be good to know if an Ethernet connection is still working, or are both connections "up", but unable to connect. Performing ping operations would help to narrow this down.

Have you tried pinging various addresses.

ping -c5 8.8.8.8                                                                                

ping -c5 google.com 

ping -c5 127.0.0.1

ping -c5 localhost

Please post the inputs and outputs of those commands.

All troubleshooting needs to be performed on the non-functional laptop.

Yes, they both use Intel wireless adapters and Realtek ethernet adapters.

Yes, the inxi output was from the laptop I'd like help troubleshooting.

Neither ethernet nor wireless work:

[mendizale@manjaroo ~]$ ping -c5 google.com
ping: google.com: Name or service not known
[mendizale@manjaroo ~]$ ping -c5 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=54 time=20.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=23.2 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=54 time=17.7 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=54 time=18.4 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=54 time=16.9 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4008ms
rtt min/avg/max/mdev = 16.852/19.217/23.191/2.239 ms
[mendizale@manjaroo ~]$ ping -c5 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.052 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.116 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.115 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.130 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.081 ms

--- 127.0.0.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4041ms
rtt min/avg/max/mdev = 0.052/0.098/0.130/0.028 ms
[mendizale@manjaroo ~]$ ping -c5 localhost
PING localhost(localhost (::1)) 56 data bytes
64 bytes from localhost (::1): icmp_seq=1 ttl=64 time=0.080 ms
64 bytes from localhost (::1): icmp_seq=2 ttl=64 time=0.131 ms
64 bytes from localhost (::1): icmp_seq=3 ttl=64 time=0.083 ms
64 bytes from localhost (::1): icmp_seq=4 ttl=64 time=0.149 ms
64 bytes from localhost (::1): icmp_seq=5 ttl=64 time=0.147 ms

--- localhost ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4065ms
rtt min/avg/max/mdev = 0.080/0.118/0.149/0.030 ms

I just tried this:

[mendizale@manjaroo ~]$ echo -e "[device]\nwifi.scan-rand-mac-address=no" | sudo tee /etc/NetworkManager/conf.d/disable-random-mac.conf
[sudo] password for mendizale:
[device]
wifi.scan-rand-mac-address=no

and rebooted the laptop and the router. No change.

It's taking a while to find good instructions on how to disable IPv6 system-wide (I'll keep looking), and how/whether to do it on my openWRT router. For now I've set IPv6 to "Ignore" in Manjaro Network Manager for the wireless network and rebooted the laptop. Still no change.

1 Like

On the contrary: this shows networking does work, name resolution (dns) seems to be the problem.
Are you using systemd-resolved? There was another case recently with name resolution problems caused by systemd-resolved:

1 Like

Here's the state of resolve.conf:

[mendizale@biggiemanjaro ~]$ cat /etc/systemd/resolved.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details

[Resolve]
#DNS=
#FallbackDNS=1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10 2001:4860:4860::8888
#Domains=
#LLMNR=yes
#MulticastDNS=yes
#DNSSEC=allow-downgrade
#DNSOverTLS=no
#Cache=yes
#DNSStubListener=yes
#ReadEtcHosts=yes

The file referred to in that thread doesn't exist on my computer:

[mendizale@biggiemanjaro ~]$ cat /etc/NetworkManager/conf.d/99_mymain.conf
cat: /etc/NetworkManager/conf.d/99_mymain.conf: No such file or directory

I don't know how to interpret this.

/etc/systemd/resolved.conf belongs to systemd package and looks unchanged.

To check if systemd-resolved is enabled on your system:

$ systemctl status systemd-resolved.service

Please also post output of

$ cat /etc/resolv.conf
1 Like
[mendizale@manjaroo ~]$ systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
   Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:systemd-resolved.service(8)
           https://www.freedesktop.org/wiki/Software/systemd/resolved
           https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
           https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
[mendizale@manjaroo ~]$ cat /etc/resolv.conf
# Generated by resolvconf
nameserver 8.8.8.8
nameserver 8.8.4.4

According to this systemd-resolved is not enabled.
8.8.8.8 is listed as a nameserver to use which you were able to reach (ping) before.
The comment

# Generated by resolvconf

looks different to my setup (I'm using NetworkManager)

# Generated by NetworkManager

Do you remember (re)configuring anything dns related?
Please post output of

$ cat /etc/resolvconf.conf

I don't think I've ever messed with DNS configurations (manually) at the computer level, though I have at the router level. I have occasionally run NordVPN on each of these machines and I know that it changes DNS configurations, but I haven't run or installed a VPN since the last reformat in July/August.

[mendizale@manjaroo ~]$ cat /etc/resolvconf.conf 
# Configuration for resolvconf(8)
# See resolvconf.conf(5) for details

resolv_conf=/etc/resolv.conf
# If you run a local name server, you should uncomment the below line and
# configure your subscribers configuration files below.
#name_servers=127.0.0.1

I'm at a loss as to how to diagnose this any further :white_flag:
Hopefully someone more knowledgable has an idea.

Well, I really appreciate the time you have taken so far.

I've reinstalled everything again (sigh) and the internet is working; I'm likely to experience this again so I'm going to post the results of all the above on the newly-working laptop.

[mendizale@manjaroo ~]$  inxi -Fxxxz --no-host
System:    Kernel: 4.19.85-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.0 Desktop: KDE Plasma 5.17.3 tk: Qt 5.13.2 
           wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Convertible System: LENOVO product: 20GAS01M00 v: ThinkPad Yoga 11e 3rd Gen serial: <filter> Chassis: 
           type: 31 serial: <filter> 
           Mobo: LENOVO model: Intel powered classmate PC v: SDK0J40700 WIN serial: <filter> UEFI: LENOVO v: R0AET35W (1.18) 
           date: 08/04/2017 
Battery:   ID-1: BAT1 charge: 25.6 Wh condition: 35.5/42.0 Wh (85%) volts: 11.6/11.4 model: LGC LNV-00HW043 type: Li-poly 
           serial: <filter> status: Discharging 
CPU:       Topology: Quad Core model: Intel Celeron N3150 bits: 64 type: MCP arch: Airmont rev: 3 L2 cache: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 12805 
           Speed: 2080 MHz min/max: 480/2080 MHz Core speeds (MHz): 1: 2080 2: 2080 3: 480 4: 480 
Graphics:  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics vendor: Lenovo driver: i915 
           v: kernel bus ID: 00:02.0 chip ID: 8086:22b1 
           Display: x11 server: X.Org 1.20.5 driver: intel unloaded: modesetting alternate: fbdev,vesa compositor: kwin_x11 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 400 (Braswell) v: 4.5 Mesa 19.2.6 compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:2284 
           Sound Server: ALSA v: k4.19.85-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 1000 
           bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: enp2s0 state: down mac: <filter> 
           Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel port: 1000 bus ID: 03:00.0 chip ID: 8086:095b 
           IF: wlp3s0 state: up mac: <filter> 
Drives:    Local Storage: total: 121.14 GiB used: 13.92 GiB (11.5%) 
           ID-1: /dev/sda vendor: Samsung model: MZNTY128HDHP-000L1 size: 119.24 GiB speed: 6.0 Gb/s serial: <filter> 
           rev: 3L0Q scheme: GPT 
           ID-2: /dev/sdb type: USB vendor: Generic model: SD MMC MS PRO size: 1.89 GiB serial: <filter> rev: 1.00 scheme: MBR 
Partition: ID-1: / size: 108.62 GiB used: 13.89 GiB (12.8%) fs: ext4 dev: /dev/sda2 
           ID-2: swap-1 size: 8.09 GiB used: 27.0 MiB (0.3%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 44.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 3809 
Info:      Processes: 205 Uptime: 1h 36m Memory: 3.68 GiB used: 2.35 GiB (63.9%) Init: systemd v: 242 Compilers: gcc: 9.2.0 
           Shell: bash v: 5.0.11 running in: konsole inxi: 3.0.36 
[mendizale@manjaroo ~]$ ping -c5 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=57 time=103 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=37.5 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=99.3 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=57 time=20.8 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=57 time=24.2 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 20.827/57.027/103.373/36.615 ms
[mendizale@manjaroo ~]$ ping -c5 google.com
PING google.com (216.58.193.78) 56(84) bytes of data.
64 bytes from sea15s07-in-f14.1e100.net (216.58.193.78): icmp_seq=1 ttl=57 time=31.1 ms
64 bytes from sea15s07-in-f14.1e100.net (216.58.193.78): icmp_seq=2 ttl=57 time=22.7 ms
64 bytes from sea15s07-in-f14.1e100.net (216.58.193.78): icmp_seq=3 ttl=57 time=23.7 ms
64 bytes from sea15s07-in-f14.1e100.net (216.58.193.78): icmp_seq=4 ttl=57 time=76.5 ms
64 bytes from sea15s07-in-f14.1e100.net (216.58.193.78): icmp_seq=5 ttl=57 time=26.8 ms

--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 22.670/36.138/76.479/20.380 ms
[mendizale@manjaroo ~]$ ping -c5 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.049 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.065 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.093 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.066 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.067 ms

--- 127.0.0.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4052ms
rtt min/avg/max/mdev = 0.049/0.068/0.093/0.014 ms
[mendizale@manjaroo ~]$ ping -c5 localhost
PING localhost(localhost (::1)) 56 data bytes
64 bytes from localhost (::1): icmp_seq=1 ttl=64 time=0.062 ms
64 bytes from localhost (::1): icmp_seq=2 ttl=64 time=0.084 ms
64 bytes from localhost (::1): icmp_seq=3 ttl=64 time=0.079 ms
64 bytes from localhost (::1): icmp_seq=4 ttl=64 time=0.098 ms
64 bytes from localhost (::1): icmp_seq=5 ttl=64 time=0.081 ms

--- localhost ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4054ms
rtt min/avg/max/mdev = 0.062/0.080/0.098/0.011 ms
[mendizale@manjaroo ~]$ cat /etc/systemd/resolved.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details

[Resolve]
#DNS=
#FallbackDNS=1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10 2001:4860:4860::8888
#Domains=
#LLMNR=yes
#MulticastDNS=yes
#DNSSEC=allow-downgrade
#DNSOverTLS=no
#Cache=yes
#DNSStubListener=yes
#ReadEtcHosts=yes
[mendizale@manjaroo ~]$ cat /etc/NetworkManager/conf.d/99_mymain.conf
cat: /etc/NetworkManager/conf.d/99_mymain.conf: No such file or directory
[mendizale@manjaroo ~]$ systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
   Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:systemd-resolved.service(8)
           https://www.freedesktop.org/wiki/Software/systemd/resolved
           https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
           https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
[mendizale@manjaroo ~]$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 24.116.0.53
nameserver 24.116.2.50
[mendizale@manjaroo ~]$ cat /etc/resolvconf.conf
# Configuration for resolvconf(8)
# See resolvconf.conf(5) for details

resolv_conf=/etc/resolv.conf
# If you run a local name server, you should uncomment the below line and
# configure your subscribers configuration files below.
#name_servers=127.0.0.1

Glad it's working again, sorry it had to be a reinstall.

This is clearly different/better now: nameservers are known to your system and NetworkManager instead of resolvconf seems to be responsible.

Hopefully I'll be able to figure out how to fix it when it happens again, instead of reinstalling everything...

Thanks again for all your attention!

Forum kindly sponsored by