pc is connected but can't reach internet

Asked by Linda

On Thursday, My OS updated to 22.04.4, and the nightmare began. Everything worked fine until Friday morning when even the network settings on my PC disappeared. I received the "NetworkManager not active" error, so after one day and a half of following all the troubleshooting suggested in forums and downloading thousands of .deb files from the archives, I managed to get back my connection icons and settings, and the pc seems to be connected, both with wifi and ethernet, but it doesn't reach internet connection. I've also manually updated the kernel, as someone suggested, but still no internet.

up untill now I have:
Reinstalled NetworkManager and dependencies, passing .deb files via USB
Updated network's drivers (again download from intel's website and passed via USB)
Reinstalled the kernel (again via usb)

here's the output of the diagnosis suggested in: https://help.ubuntu.com/community/WirelessTroubleshootingProcedure

sudo apt-get update; sudo apt-get install debian-security-support usbutils pciutils hwinfo grep rfkill; sudo lshw -C network; rfkill list; sudo iwlist scan | grep -Ei 'chan|ssid'; cat /etc/network/interfaces; cat /etc/lsb-release; lspci -nnk | grep -iA2 net; lsusb; nmcli g; sudo lshw -short; uname -a; sudo updatedb; dmesg | grep -E '02:00|80211|acx|at76|ath|b43|bcm|brcm|CX|eth|ipw|ireless|irmware|isl|lbtf|orinoco|ndiswrapper|NPE|ound|p54|prism|rror|rtl|RTL|rt2|RT2|rt3|RT3|rt5|RT5|rt6|RT6|rt7|RT7|usb|witch|wl';sudo dmidecode|grep -E 'anufact|roduct|erial|elease'; iwconfig; grep -E '80211|acx|at76|ath|b43|bcm|brcm|CX|eth|ipw|irmware|isl|lbtf|orinoco|ndiswrapper|NPE|p54|prism|rtl|rt2|rt3|rt6|rt7|wmi|witch|wl' /etc/modprobe.d/*; cat /var/lib/NetworkManager/NetworkManager.state; sudo hwinfo --netcard ; ps -aux|grep -E 'wpa|icd|etwork'; netstat -rn ; cat /etc/resolv.conf; ls -lia /boot; grep tmpfs /etc/fstab; ubuntu-security-status; check-support-status ; sudo update-pciids; sudo lsmodlinda@NBDOTTI70:~$ sudo apt-get update; sudo apt-get install debian-security-support usbutils pciutils hwinfo grep rfkill; sudo lshw -C network; rfkill list; sudo iwlist scan | grep -Ei 'chan|ssid'; cat /etc/network/interfaces; cat /etc/lsb-release; lspci -nnk | grep -iA2 net; lsusb; nmcli g; sudo lshw -short; uname -a; sudo updatedb; dmesg | grep -E '02:00|80211|acx|at76|ath|b43|bcm|brcm|CX|eth|ipw|ireless|irmware|isl|lbtf|orinoco|ndiswrapper|NPE|ound|p54|prism|rror|rtl|RTL|rt2|RT2|rt3|RT3|rt5|RT5|rt6|RT6|rt7|RT7|usb|witch|wl';sudo dmidecode|grep -E 'anufact|roduct|erial|elease'; iwconfig; grep -E '80211|acx|at76|ath|b43|bcm|brcm|CX|eth|ipw|irmware|isl|lbtf|orinoco|ndiswrapper|NPE|p54|prism|rtl|rt2|rt3|rt6|rt7|wmi|witch|wl' /etc/modprobe.d/*; cat /var/lib/NetworkManager/NetworkManager.state; sudo hwinfo --netcard ; ps -aux|grep -E 'wpa|icd|etwork'; netstat -rn ; cat /etc/resolv.conf; ls -lia /boot; grep tmpfs /etc/fstab; ubuntu-security-status; check-support-status ; sudo update-pciids; sudo lsmod
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:3 http://oem.archive.canonical.com jammy InRelease
Ign:4 https://mirror.mwt.me/shiftkey-desktop/deb any InRelease
Ign:5 http://dell.archive.canonical.com jammy InRelease
Ign:6 https://apt.packages.shiftkey.dev/ubuntu any InRelease
Ign:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:9 http://archive.ubuntu.com/ubuntu jammy-proposed InRelease
Ign:10 https://linux.teamviewer.com/deb stable InRelease
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:5 http://dell.archive.canonical.com jammy InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:3 http://oem.archive.canonical.com jammy InRelease
Ign:4 https://mirror.mwt.me/shiftkey-desktop/deb any InRelease
Ign:6 https://apt.packages.shiftkey.dev/ubuntu any InRelease
Ign:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:10 https://linux.teamviewer.com/deb stable InRelease
Ign:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:9 http://archive.ubuntu.com/ubuntu jammy-proposed InRelease
Ign:3 http://oem.archive.canonical.com jammy InRelease
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:4 https://mirror.mwt.me/shiftkey-desktop/deb any InRelease
Ign:5 http://dell.archive.canonical.com jammy InRelease
Ign:6 https://apt.packages.shiftkey.dev/ubuntu any InRelease
Ign:10 https://linux.teamviewer.com/deb stable InRelease
Ign:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:9 http://archive.ubuntu.com/ubuntu jammy-proposed InRelease
Err:4 https://mirror.mwt.me/shiftkey-desktop/deb any InRelease
  Temporary failure resolving 'mirror.mwt.me'
Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
Err:3 http://oem.archive.canonical.com jammy InRelease
  Temporary failure resolving 'oem.archive.canonical.com'
Err:5 http://dell.archive.canonical.com jammy InRelease
  Temporary failure resolving 'dell.archive.canonical.com'
Err:6 https://apt.packages.shiftkey.dev/ubuntu any InRelease
  Temporary failure resolving 'apt.packages.shiftkey.dev'
Err:10 https://linux.teamviewer.com/deb stable InRelease
  Temporary failure resolving 'linux.teamviewer.com'
Err:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:9 http://archive.ubuntu.com/ubuntu jammy-proposed InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-proposed/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://oem.archive.canonical.com/dists/jammy/InRelease Temporary failure resolving 'oem.archive.canonical.com'
W: Failed to fetch https://mirror.mwt.me/shiftkey-desktop/deb/dists/any/InRelease Temporary failure resolving 'mirror.mwt.me'
W: Failed to fetch http://dell.archive.canonical.com/dists/jammy/InRelease Temporary failure resolving 'dell.archive.canonical.com'
W: Failed to fetch https://apt.packages.shiftkey.dev/ubuntu/dists/any/InRelease Temporary failure resolving 'apt.packages.shiftkey.dev'
W: Failed to fetch https://linux.teamviewer.com/deb/dists/stable/InRelease Temporary failure resolving 'linux.teamviewer.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
grep is already the newest version (3.7-1build1).
pciutils is already the newest version (1:3.7.0-6).
usbutils is already the newest version (1:014-1build1).
rfkill is already the newest version (2.37.2-4ubuntu3.4).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 hwinfo : Depends: libhd21 (>= 21.0) but it is not going to be installed
 linux-modules-nvidia-550-server-6.5.0-35-generic : Depends: nvidia-kernel-common-550-server (>= 550.54.15) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
  *-network:0
       description: Wireless interface
       product: Wi-Fi 6 AX201
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlp0s20f3
       version: 20
       serial: 2c:6d:c1:aa:11:03
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=6.5.0-35-generic firmware=77.2df8986f.0 QuZ-a0-hr-b0-77.u ip=192.168.1.118 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: iomemory:600-5ff irq:16 memory:6053194000-6053197fff
  *-network:1
       description: Ethernet interface
       product: Ethernet Connection (13) I219-LM
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 20
       serial: b4:45:06:4c:73:93
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=6.5.0-35-generic duplex=full firmware=0.8-4 ip=192.168.1.113 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:150 memory:a2300000-a231ffff
0: dell-wifi: Wireless LAN
 Soft blocked: no
 Hard blocked: no
1: dell-bluetooth: Bluetooth
 Soft blocked: no
 Hard blocked: no
2: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
4: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
lo Interface doesn't support scanning.

enp0s31f6 Interface doesn't support scanning.

                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    ESSID:"BenderKetiofender_EXT"
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    ESSID:"BenderKetiofender"
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    ESSID:"La tana di ALF"
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    ESSID:"DIRECT-dV-BRAVIA"
                    Channel:108
                    Frequency:5.54 GHz (Channel 108)
                    ESSID:"TIM-29697903"
                    Channel:36
                    Frequency:5.18 GHz (Channel 36)
                    ESSID:"BenderKetiofender"
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    ESSID:"TP-Link_A60C"
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    ESSID:"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
00:14.3 Network controller [0280]: Intel Corporation Wi-Fi 6 AX201 [8086:a0f0] (rev 20)
 Subsystem: Intel Corporation Wi-Fi 6 AX201 [8086:4070]
 Kernel driver in use: iwlwifi
--
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (13) I219-LM [8086:15fb] (rev 20)
 Subsystem: Dell Ethernet Connection (13) I219-LM [1028:0a21]
 Kernel driver in use: e1000e
 Kernel modules: e1000e
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 1bcf:28cc Sunplus Innovation Technology Inc. Integrated_Webcam_HD
Bus 003 Device 002: ID 0000:3825 USB OPTICAL MOUSE
Bus 003 Device 013: ID 054c:05ba Sony Corp. Storage Media
Bus 003 Device 009: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
connected (site only) limited enabled enabled enabled enabled
H/W path Device Class Description
===================================================================
                                         system Latitude 5520 (0A21)
/0 bus 0287X3
/0/0 memory 1MiB BIOS
/0/400 processor 11th Gen Intel(R) Core(T
/0/400/701 memory 128KiB L1 cache
/0/400/702 memory 5MiB L2 cache
/0/400/703 memory 12MiB L3 cache
/0/700 memory 192KiB L1 cache
/0/1000 memory 16GiB System Memory
/0/1000/0 memory 16GiB SODIMM DDR4 Synchr
/0/1000/1 memory [empty]
/0/100 bridge 11th Gen Core Processor
/0/100/2 /dev/fb0 display TigerLake-LP GT2 [Iris X
/0/100/4 generic TigerLake-LP Dynamic Tun
/0/100/7 bridge Tiger Lake-LP Thunderbol
/0/100/7.1 bridge Tiger Lake-LP Thunderbol
/0/100/d bus Tiger Lake-LP Thunderbol
/0/100/d/0 usb1 bus xHCI Host Controller
/0/100/d/1 usb2 bus xHCI Host Controller
/0/100/d.2 bus Tiger Lake-LP Thunderbol
/0/100/12 communication Tiger Lake-LP Integrated
/0/100/14 bus Tiger Lake-LP USB 3.2 Ge
/0/100/14/0 usb3 bus xHCI Host Controller
/0/100/14/0/3 scsi0 storage Storage Media
/0/100/14/0/3/0.0.0 /dev/sda disk 7801MB Storage Media
/0/100/14/0/3/0.0.0/0 /dev/sda disk 7801MB
/0/100/14/0/3/0.0.0/0/1 /dev/sda1 volume 7439MiB Windows FAT volu
/0/100/14/0/4 input10 input USB OPTICAL MOUSE
/0/100/14/0/6 multimedia Integrated_Webcam_HD
/0/100/14/0/a communication AX201 Bluetooth
/0/100/14/1 usb4 bus xHCI Host Controller
/0/100/14.2 memory RAM memory
/0/100/14.3 wlp0s20f3 network Wi-Fi 6 AX201
/0/100/15 bus Tiger Lake-LP Serial IO
/0/100/15.1 bus Tiger Lake-LP Serial IO
/0/100/16 communication Tiger Lake-LP Management
/0/100/16.3 communication Tiger Lake-LP Active Man
/0/100/1c bridge Intel Corporation
/0/100/1c/0 mmc0 bus RTS525A PCI Express Card
/0/100/1d bridge Tiger Lake-LP PCI Expres
/0/100/1d/0 /dev/nvme0 storage KBG40ZNS512G NVMe KIOXIA
/0/100/1d/0/0 hwmon2 disk NVMe disk
/0/100/1d/0/2 /dev/ng0n1 disk NVMe disk
/0/100/1d/0/1 /dev/nvme0n1 disk 512GB NVMe disk
/0/100/1d/0/1/1 volume 774MiB Windows FAT volum
/0/100/1d/0/1/2 /dev/nvme0n1p2 volume 8191MiB Windows FAT volu
/0/100/1d/0/1/3 /dev/nvme0n1p3 volume 468GiB EXT4 volume
/0/100/1f bridge Tiger Lake-LP LPC Contro
/0/100/1f/0 system PnP device PNP0c02
/0/100/1f/1 system PnP device PNP0b00
/0/100/1f/2 generic PnP device INT3f0d
/0/100/1f/3 input PnP device PNP0303
/0/100/1f/4 generic PnP device DLL0a21
/0/100/1f/5 system PnP device PNP0c02
/0/100/1f/6 system PnP device PNP0c02
/0/100/1f/7 system PnP device PNP0c02
/0/100/1f/8 system PnP device PNP0c02
/0/100/1f.3 card0 multimedia Tiger Lake-LP Smart Soun
/0/100/1f.3/0 input18 input HDA Intel PCH Headphone
/0/100/1f.3/1 input19 input HDA Intel PCH HDMI/DP,pc
/0/100/1f.3/2 input20 input HDA Intel PCH HDMI/DP,pc
/0/100/1f.3/3 input21 input HDA Intel PCH HDMI/DP,pc
/0/100/1f.3/4 input22 input HDA Intel PCH HDMI/DP,pc
/0/100/1f.4 bus Tiger Lake-LP SMBus Cont
/0/100/1f.5 bus Tiger Lake-LP SPI Contro
/0/100/1f.6 enp0s31f6 network Ethernet Connection (13)
/1 power DELL M033W1A
/2 power
/3 input0 input Lid Switch
/4 input1 input Power Button
/5 input11 input Intel HID events
/6 input12 input Intel HID 5 button array
/7 input13 input Dell Privacy Driver
/8 input14 input Dell WMI hotkeys
/9 input15 input DELL0A21:00 0488:1024 Mo
/a input16 input DELL0A21:00 0488:1024 To
/b input2 input Sleep Button
/c input3 input AT Translated Set 2 keyb
/d input5 input PS/2 Generic Mouse
/e input9 input Video Bus
Linux NBDOTTI70 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
sudo: updatedb: command not found
dmesg: read kernel buffer failed: Operation not permitted
 Release Date: 03/22/2024
  Serial services are supported (int 14h)
 Manufacturer: Dell Inc.
 Product Name: Latitude 5520
 Serial Number: FTZCTG3
 Manufacturer: Dell Inc.
 Product Name: 0287X3
 Serial Number: /FTZCTG3/CNWSC001C21DVB/
 Manufacturer: Dell Inc.
 Serial Number: FTZCTG3
 Manufacturer: Intel(R) Corporation
 Serial Number:
 Manufacturer: 80AD000080AD
 Serial Number: 2524E846
 Module Manufacturer ID: Bank 1, Hex 0xAD
 Module Product ID: Unknown
 Memory Subsystem Controller Manufacturer ID: Unknown
 Memory Subsystem Controller Product ID: Unknown
 Manufacturer: Not Specified
 Serial Number: Not Specified
 Module Manufacturer ID: Unknown
 Module Product ID: Unknown
 Memory Subsystem Controller Manufacturer ID: Unknown
 Memory Subsystem Controller Product ID: Unknown
 Manufacturer: BYD
 Manufacture Date: 10/26/2021
 Serial Number: 1206
 Manufacturer:
 Serial Number:
 Description: TPM 2.0, ManufacturerID: STM , Firmware Version: 0x00010102.0x0
  Debug Use USB(Disabled:Serial)
lo no wireless extensions.

enp0s31f6 no wireless extensions.

wlp0s20f3 IEEE 802.11 ESSID:"BenderKetiofender"
          Mode:Managed Frequency:5.18 GHz Access Point: B0:A7:B9:DA:F2:1C
          Bit Rate=234 Mb/s Tx-Power=22 dBm
          Retry short limit:7 RTS thr:off Fragment thr:off
          Power Management:on
          Link Quality=70/70 Signal level=-31 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:99 Missed beacon:0

/etc/modprobe.d/alsa-base.conf:install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
/etc/modprobe.d/blacklist-ath_pci.conf:# which ath5k cannot recover. To prevent this condition, stop
/etc/modprobe.d/blacklist-ath_pci.conf:blacklist ath_pci
/etc/modprobe.d/blacklist.conf:blacklist eth1394
/etc/modprobe.d/blacklist.conf:# replaced by p54pci
/etc/modprobe.d/blacklist.conf:blacklist prism54
/etc/modprobe.d/blacklist.conf:# replaced by b43 and ssb.
/etc/modprobe.d/blacklist.conf:blacklist bcm43xx
/etc/modprobe.d/blacklist-oss.conf:blacklist uart6850
/etc/modprobe.d/iwlwifi.conf:# /etc/modprobe.d/iwlwifi.conf
/etc/modprobe.d/iwlwifi.conf:# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
/etc/modprobe.d/iwlwifi.conf:# microcode file installed on the system. When removing iwlwifi, first
/etc/modprobe.d/iwlwifi.conf:# remove the iwl?vm module and then iwlwifi.
/etc/modprobe.d/iwlwifi.conf:remove iwlwifi \
/etc/modprobe.d/iwlwifi.conf:(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
/etc/modprobe.d/iwlwifi.conf:&& /sbin/modprobe -r mac80211
/etc/modprobe.d/mdadm.conf:# set start_ro=1 to make newly assembled arrays read-only initially,
cat: /var/lib/NetworkManager/NetworkManager.state: Permission denied
sudo: hwinfo: command not found
root 1134 0.0 0.1 41048 21120 ? Ss 13:26 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
root 1212 0.0 0.0 17820 11136 ? Ss 13:26 0:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
linda 8311 0.0 0.0 388752 8832 ? Sl 15:42 0:00 /usr/libexec/gvfsd-network --spawner :1.15 /org/gtk/gvfs/exec_spaw/1
root 11743 0.1 0.1 409488 19556 ? Ssl 17:39 0:00 /usr/sbin/NetworkManager --no-daemon
linda 12111 0.0 0.0 9220 2560 pts/0 S+ 17:44 0:00 grep -E wpa|icd|etwork
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 enp0s31f6
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlp0s20f3
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s31f6
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlp0s20f3
cat: /etc/resolv.conf: No such file or directory
total 905340
14942209 drwxr-xr-x 4 root root 4096 mag 19 11:39 .
       2 drwxr-xr-x 22 root root 4096 mag 18 12:00 ..
14942233 -rw-r--r-- 1 root root 261990 apr 26 13:35 config-5.15.0-107-generic
14942236 -rw-r--r-- 1 root root 280648 apr 4 15:18 config-6.5.0-28-generic
14942213 -rw-r--r-- 1 root root 280745 mag 6 17:02 config-6.5.0-35-generic
       1 drwx------ 5 root root 4096 gen 1 1970 efi
14942211 drwxr-xr-x 5 root root 4096 mag 19 11:58 grub
14942229 lrwxrwxrwx 1 root root 29 mag 16 10:00 initrd.img -> initrd.img-5.15.0-107-generic
14942230 -rw-r--r-- 1 root root 204497824 mag 16 10:00 initrd.img-5.15.0-107-generic
14942221 -rw-r--r-- 1 root root 219481949 mag 8 12:23 initrd.img-6.5.0-28-generic
14942506 -rw-r--r-- 1 root root 219283199 mag 19 11:39 initrd.img-6.5.0-35-generic
14942215 -rw-r--r-- 1 root root 219387938 mag 16 09:59 initrd.img-6.5.0-35-generic.dpkg-bak
14942220 lrwxrwxrwx 1 root root 27 mag 16 10:00 initrd.img.old -> initrd.img-6.5.0-35-generic
14942217 -rw-r--r-- 1 root root 182800 feb 6 2022 memtest86+.bin
14942218 -rw-r--r-- 1 root root 184476 feb 6 2022 memtest86+.elf
14942232 -rw-r--r-- 1 root root 184980 feb 6 2022 memtest86+_multiboot.bin
14942231 -rw------- 1 root root 6284305 apr 26 13:35 System.map-5.15.0-107-generic
14942235 -rw------- 1 root root 8262430 apr 4 15:18 System.map-6.5.0-28-generic
14942212 -rw------- 1 root root 8263020 mag 6 17:02 System.map-6.5.0-35-generic
14942228 lrwxrwxrwx 1 root root 26 mag 16 10:00 vmlinuz -> vmlinuz-5.15.0-107-generic
14942234 -rw------- 1 root root 11686952 apr 26 14:18 vmlinuz-5.15.0-107-generic
14942237 -rw------- 1 root root 14234280 apr 4 15:19 vmlinuz-6.5.0-28-generic
14942214 -rw------- 1 root root 14246568 mag 6 17:15 vmlinuz-6.5.0-35-generic
14942238 lrwxrwxrwx 1 root root 24 mag 16 10:00 vmlinuz.old -> vmlinuz-6.5.0-35-generic
This command has been replaced with 'pro security-status'.
2240 packages installed:
     1988 packages from Ubuntu Main/Restricted repository
     236 packages from Ubuntu Universe/Multiverse repository
     5 packages from third parties
     11 packages no longer available for download

To get more information about the packages, run
    pro security-status --help
for a list of available options.

The system apt information was updated 3 day(s) ago. Make sure to run
    sudo apt update
to get the latest package information from apt.

This machine is receiving security patching for Ubuntu Main/Restricted
repository until 2027.
This machine is NOT attached to an Ubuntu Pro subscription.

Ubuntu Pro with 'esm-infra' enabled provides security updates for
Main/Restricted packages until 2032.

Ubuntu Pro with 'esm-apps' enabled provides security updates for
Universe/Multiverse packages until 2032. There is 1 pending security update.

Try Ubuntu Pro with a free personal subscription on up to 5 machines.
Learn more at https://ubuntu.com/pro

[info] A new version is available: 31.2.3~22.04
Please run:
    sudo apt install ubuntu-pro-client
to get the latest bug fixes and new features.
Command 'check-support-status' not found, but can be installed with:
sudo apt install debian-security-support
--2024-05-19 17:44:17-- https://pci-ids.ucw.cz/v2.2/pci.ids.bz2
Resolving pci-ids.ucw.cz (pci-ids.ucw.cz)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘pci-ids.ucw.cz’
update-pciids: download failed
Module Size Used by
uas 28672 0
usb_storage 86016 2 uas
xfrm_user 61440 2
l2tp_ppp 24576 0
xfrm_algo 20480 1 xfrm_user
l2tp_netlink 24576 1 l2tp_ppp
l2tp_core 69632 2 l2tp_ppp,l2tp_netlink
ip6_udp_tunnel 12288 1 l2tp_core
udp_tunnel 28672 1 l2tp_core
pppox 16384 1 l2tp_ppp
ccm 20480 6
rfcomm 98304 4
cmac 12288 3
algif_hash 12288 1
algif_skcipher 12288 1
af_alg 32768 6 algif_hash,algif_skcipher
bnep 32768 2
btusb 73728 0
btrtl 32768 1 btusb
btbcm 24576 1 btusb
btintel 53248 1 btusb
btmtk 12288 1 btusb
bluetooth 1081344 34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
uvcvideo 135168 0
videobuf2_vmalloc 20480 1 uvcvideo
uvc 12288 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 40960 1 uvcvideo
ecdh_generic 16384 2 bluetooth
videodev 364544 2 videobuf2_v4l2,uvcvideo
ecc 45056 1 ecdh_generic
videobuf2_common 86016 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
mc 86016 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_sof_pci_intel_tgl 12288 0
snd_sof_intel_hda_common 200704 1 snd_sof_pci_intel_tgl
soundwire_intel 65536 1 snd_sof_intel_hda_common
snd_sof_intel_hda_mlink 45056 2 soundwire_intel,snd_sof_intel_hda_common
soundwire_cadence 40960 1 soundwire_intel
snd_sof_intel_hda 24576 1 snd_sof_intel_hda_common
snd_hda_codec_hdmi 94208 1
snd_sof_pci 24576 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp 12288 1 snd_sof_intel_hda_common
snd_sof 360448 3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda
snd_sof_utils 16384 1 snd_sof
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
snd_hda_ext_core 36864 4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
snd_soc_acpi_intel_match 94208 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi 12288 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
soundwire_generic_allocation 12288 1 soundwire_intel
snd_ctl_led 24576 0
x86_pkg_temp_thermal 20480 0
soundwire_bus 110592 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
intel_powerclamp 24576 0
coretemp 24576 0
snd_soc_core 446464 4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
kvm_intel 487424 0
snd_hda_codec_realtek 192512 1
snd_compress 28672 1 snd_soc_core
ac97_bus 12288 1 snd_soc_core
dell_rbtn 20480 0
snd_hda_codec_generic 122880 1 snd_hda_codec_realtek
snd_pcm_dmaengine 16384 1 snd_soc_core
kvm 1409024 1 kvm_intel
snd_hda_intel 61440 3
mei_pxp 16384 0
snd_intel_dspcfg 32768 3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
mei_hdcp 28672 0
irqbypass 12288 1 kvm
crct10dif_pclmul 12288 1
snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg
polyval_clmulni 12288 0
snd_hda_codec 212992 6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
polyval_generic 12288 1 polyval_clmulni
joydev 32768 0
intel_rapl_msr 20480 0
ghash_clmulni_intel 16384 0
sha256_ssse3 32768 0
snd_hda_core 147456 9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
sha1_ssse3 32768 0
aesni_intel 356352 8
snd_hwdep 20480 1 snd_hda_codec
dell_laptop 32768 0
crypto_simd 16384 1 aesni_intel
cryptd 24576 3 crypto_simd,ghash_clmulni_intel
binfmt_misc 24576 1
snd_pcm 196608 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
iwlmvm 843776 0
rapl 20480 0
snd_seq_midi 24576 0
nls_iso8859_1 12288 2
snd_seq_midi_event 16384 1 snd_seq_midi
intel_cstate 20480 0
dell_wmi 28672 1 dell_laptop
mac80211 1720320 1 iwlmvm
input_leds 12288 0
snd_rawmidi 57344 1 snd_seq_midi
dell_smbios 32768 2 dell_wmi,dell_laptop
ledtrig_audio 12288 4 snd_ctl_led,snd_hda_codec_generic,dell_wmi,dell_laptop
dcdbas 20480 1 dell_smbios
serio_raw 20480 0
dell_wmi_sysman 49152 0
firmware_attributes_class 12288 1 dell_wmi_sysman
processor_thermal_device_pci_legacy 12288 0
libarc4 12288 1 mac80211
processor_thermal_device 20480 1 processor_thermal_device_pci_legacy
snd_seq 118784 2 snd_seq_midi,snd_seq_midi_event
cmdlinepart 12288 0
dell_wmi_descriptor 20480 2 dell_wmi,dell_smbios
spi_nor 135168 0
processor_thermal_rfim 32768 1 processor_thermal_device
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
wmi_bmof 12288 0
ee1004 16384 0
iwlwifi 598016 1 iwlmvm
snd_timer 49152 2 snd_seq,snd_pcm
processor_thermal_mbox 16384 2 processor_thermal_rfim,processor_thermal_device
mei_me 53248 2
mtd 106496 3 spi_nor,cmdlinepart
processor_thermal_rapl 16384 1 processor_thermal_device
hid_multitouch 36864 0
snd 143360 21 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
cfg80211 1323008 3 iwlmvm,iwlwifi,mac80211
mei 167936 5 mei_hdcp,mei_pxp,mei_me
soundcore 16384 2 snd_ctl_led,snd
intel_rapl_common 40960 2 intel_rapl_msr,processor_thermal_rapl
intel_soc_dts_iosf 20480 1 processor_thermal_device_pci_legacy
igen6_edac 24576 0
int3403_thermal 16384 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
mac_hid 12288 0
intel_hid 28672 0
int3400_thermal 24576 0
acpi_thermal_rel 20480 1 int3400_thermal
sparse_keymap 12288 2 intel_hid,dell_wmi
acpi_pad 184320 0
acpi_tad 20480 0
sch_fq_codel 24576 2
msr 12288 0
parport_pc 53248 0
ppdev 24576 0
lp 28672 0
parport 77824 3 parport_pc,lp,ppdev
efi_pstore 12288 0
ip_tables 36864 0
x_tables 69632 1 ip_tables
autofs4 57344 2
raid10 77824 0
raid456 196608 0
async_raid6_recov 20480 1 raid456
async_memcpy 16384 2 raid456,async_raid6_recov
async_pq 20480 2 raid456,async_raid6_recov
async_xor 16384 3 async_pq,raid456,async_raid6_recov
async_tx 16384 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 20480 1 async_xor
raid6_pq 126976 3 async_pq,raid456,async_raid6_recov
libcrc32c 12288 1 raid456
raid1 57344 0
raid0 24576 0
multipath 16384 0
linear 16384 0
usbhid 77824 0
hid_sensor_custom 28672 0
hid_sensor_hub 28672 1 hid_sensor_custom
intel_ishtp_hid 32768 0
i915 4157440 11
drm_buddy 20480 1 i915
i2c_algo_bit 16384 1 i915
ttm 110592 1 i915
drm_display_helper 241664 1 i915
cec 94208 2 drm_display_helper,i915
hid_generic 12288 0
rc_core 77824 1 cec
drm_kms_helper 274432 2 drm_display_helper,i915
nvme 57344 2
rtsx_pci_sdmmc 36864 0
intel_lpss_pci 24576 0
crc32_pclmul 12288 0
i2c_i801 36864 0
nvme_core 212992 3 nvme
ucsi_acpi 12288 0
intel_lpss 16384 1 intel_lpss_pci
intel_ish_ipc 32768 0
drm 765952 9 drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm
e1000e 352256 0
psmouse 212992 0
thunderbolt 483328 0
rtsx_pci 131072 1 rtsx_pci_sdmmc
spi_intel_pci 12288 0
xhci_pci 24576 0
i2c_smbus 16384 1 i2c_i801
typec_ucsi 53248 1 ucsi_acpi
nvme_common 28672 1 nvme_core
idma64 20480 0
intel_ishtp 69632 2 intel_ishtp_hid,intel_ish_ipc
spi_intel 32768 1 spi_intel_pci
xhci_pci_renesas 20480 1 xhci_pci
i2c_hid_acpi 12288 0
typec 110592 1 typec_ucsi
i2c_hid 40960 1 i2c_hid_acpi
video 73728 3 dell_wmi,dell_laptop,i915
hid 180224 6 i2c_hid,usbhid,hid_multitouch,hid_sensor_hub,intel_ishtp_hid,hid_generic
wmi 40960 6 dell_wmi_sysman,video,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
pinctrl_tigerlake 28672 0

and here's my pc data:

    product: Latitude 5520 (0A21)
       product: 0287X3
          product: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
             product: HMAA2GS6CJR8N-XN
          product: 11th Gen Core Processor Host Bridge/DRAM Registers
             product: TigerLake-LP GT2 [Iris Xe Graphics]
             product: TigerLake-LP Dynamic Tuning Processor Participant
             product: Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #0
             product: Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1
             product: Tiger Lake-LP Thunderbolt 4 USB Controller
                product: xHCI Host Controller
                product: xHCI Host Controller
             product: Tiger Lake-LP Thunderbolt 4 NHI #0
             product: Tiger Lake-LP Integrated Sensor Hub
             product: Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller
                product: xHCI Host Controller
                   product: Storage Media
                      product: Storage Media
                   product: USB OPTICAL MOUSE
                   product: Integrated_Webcam_HD
                   product: AX201 Bluetooth
                product: xHCI Host Controller
             product: Tiger Lake-LP Shared SRAM
             product: Wi-Fi 6 AX201
             product: Tiger Lake-LP Serial IO I2C Controller #0
             product: Tiger Lake-LP Serial IO I2C Controller #1
             product: Tiger Lake-LP Management Engine Interface
             product: Tiger Lake-LP Active Management Technology - SOL
             product: Intel Corporation
                product: RTS525A PCI Express Card Reader
             product: Tiger Lake-LP PCI Express Root Port #9
                product: KBG40ZNS512G NVMe KIOXIA 512GB
             product: Tiger Lake-LP LPC Controller
                product: PnP device PNP0c02
                product: PnP device PNP0b00
                product: PnP device INT3f0d
                product: PnP device PNP0303
                product: PnP device DLL0a21
                product: PnP device PNP0c02
                product: PnP device PNP0c02
                product: PnP device PNP0c02
                product: PnP device PNP0c02
             product: Tiger Lake-LP Smart Sound Technology Audio Controller
                product: HDA Intel PCH Headphone Mic
                product: HDA Intel PCH HDMI/DP,pcm=3
                product: HDA Intel PCH HDMI/DP,pcm=7
                product: HDA Intel PCH HDMI/DP,pcm=8
                product: HDA Intel PCH HDMI/DP,pcm=9
             product: Tiger Lake-LP SMBus Controller
             product: Tiger Lake-LP SPI Controller
             product: Ethernet Connection (13) I219-LM
       product: DELL M033W1A
       product: Lid Switch
       product: Power Button
       product: Intel HID events
       product: Intel HID 5 button array
       product: Dell Privacy Driver
       product: Dell WMI hotkeys
       product: DELL0A21:00 0488:1024 Mouse
       product: DELL0A21:00 0488:1024 Touchpad
       product: Sleep Button
       product: AT Translated Set 2 keyboard
       product: PS/2 Generic Mouse
       product: Video Bus

       00:00.0 Host bridge [0600]: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers [8086:9a14] (rev 01)
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01)
00:04.0 Signal processing controller [1180]: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant [8086:9a03] (rev 01)
00:07.0 PCI bridge [0604]: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #0 [8086:9a23] (rev 01)
00:07.1 PCI bridge [0604]: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1 [8086:9a25] (rev 01)
00:0d.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller [8086:9a13] (rev 01)
00:0d.2 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 [8086:9a1b] (rev 01)
00:12.0 Serial controller [0700]: Intel Corporation Tiger Lake-LP Integrated Sensor Hub [8086:a0fc] (rev 20)
00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller [8086:a0ed] (rev 20)
00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-LP Shared SRAM [8086:a0ef] (rev 20)
00:14.3 Network controller [0280]: Intel Corporation Wi-Fi 6 AX201 [8086:a0f0] (rev 20)
00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 [8086:a0e8] (rev 20)
00:15.1 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #1 [8086:a0e9] (rev 20)
00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-LP Management Engine Interface [8086:a0e0] (rev 20)
00:16.3 Serial controller [0700]: Intel Corporation Tiger Lake-LP Active Management Technology - SOL [8086:a0e3] (rev 20)
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a0be] (rev 20)
00:1d.0 PCI bridge [0604]: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 [8086:a0b0] (rev 20)
00:1f.0 ISA bridge [0601]: Intel Corporation Tiger Lake-LP LPC Controller [8086:a082] (rev 20)
00:1f.3 Audio device [0403]: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 20)
00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-LP SMBus Controller [8086:a0a3] (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller [8086:a0a4] (rev 20)
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (13) I219-LM [8086:15fb] (rev 20)
71:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
72:00.0 Non-Volatile memory controller [0108]: KIOXIA Corporation Device [1e0f:0001]

Please, help. I really don't know what to do

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
Linda
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

What output do you receive for the following commands (to be executed in a terminal window)

ping -c 3 8.8.8.8
ping -c 3 google.com

Revision history for this message
Linda (lindapiguz) said :
#2

ping -c 3 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=116 time=12.1 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=20.2 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=116 time=18.7 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 12.094/16.990/20.186/3.515 ms

ping -c 3 google.com
ping: google.com: Temporary failure in name resolution

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Try:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null

sudo apt update

sudo apt full-upgrade

You can connect to the Web but DNS is bad. Using web based DNS to get updates may help here.

Revision history for this message
Linda (lindapiguz) said :
#4

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
Returns:
Tee /etc/resolv.conf: No such file or directory

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

OK, run:

sudo gedit /etc/resolv.conf

Then add the text below, save the new file and reboot

nameserver 8.8.8.8

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Obviously change "gedit" for your favourite text editor if you don't use gedit, or even a command line based one like vi or nano.

Revision history for this message
Linda (lindapiguz) said :
#7

It still say that there's /etc/resolv.conf doesn't exist, so I opened /etc/ to check and the file is there, but the icon has an x, a lock and an arrow on it and when try to open gives the error: This link cannot be used because it's target "/runresolvconf/resolv.conf don't exists. What should I do?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

OK run:

file /etc/resolv.conf

What is the output please? Sounds like the file is missing so you have no DNS

Revision history for this message
Linda (lindapiguz) said :
#9

Yes, that was precisely the issue.
I solved it by recreating the file and setting it per your suggestion, and the PC went back online.
This nightmare had a happy ending overall.

Thank you so much for your support