Hi all!
I had everything up and running for almost a year when I decided to update the nvidia drivers (huge mistake). Wanted to update because I was unable to connect an external display, or rather the monitor was working during login screen, but after login, only internal laptop display was working and no external display detected (HDMI).
I used the "Additional drivers" setting and selected a newer driver than I was using before and KABOOM, after reboot I have only x-org drivers and ofcourse, wifi and network stopped working as well, so I cant revert my changes (due to download not possible).
I tried to install using nvidia installer, but it complained about missing linux headers (and it also informed me that it would be better to use the dists own drivers)
What I dont understand is why wifi and eth stopped working.
The wifi is internal and eth is USB-C dongle (I borrowed an USB-A dongle as well but no luck).
lsusb/lspci shows that the system at least detects the devices.
Here are some outputs from relevant commands that I know of (I'm by no means an expert.)
~$ uname -a
Linux 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
~$ sudo lshw -c network
*-network UNCLAIMED
description: Network controller
product: Wi-Fi 6 AX201
vendor: Intel Corporation
physical id: 14.3
bus info: pci@0000:00:14.3
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix cap_list
configuration: latency=0
resources: iomemory:600-5ff memory:601411c000-601411ffff
~$ iwconfig
lo no wireless extensions.
~$ lspci
00:00.0 Host bridge: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 02)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 05)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201
00:15.0 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #0
00:15.2 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #2
00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
00:1b.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #21 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)
00:1e.0 Communication controller: Intel Corporation Comet Lake PCH Serial IO UART Host Controller #0
00:1f.0 ISA bridge: Intel Corporation Comet Lake LPC Controller
00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller
01:00.0 VGA compatible controller: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU116 [GeForce GTX 1650 SUPER] (rev a1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
~$ lsusb
Bus 002 Device 006: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 005: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1532:0268 Razer USA, Ltd Razer Blade
Bus 001 Device 003: ID 04f2:b65a Chicony Electronics Co., Ltd HD Webcam
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 006: ID 8087:0aaa Intel Corp.
Bus 001 Device 016: ID 2109:8888 VIA Labs, Inc.
Bus 001 Device 015: ID 05e3:0751 Genesys Logic, Inc. microSD Card Reader
Bus 001 Device 014: ID 2109:0102 VIA Labs, Inc.
Bus 001 Device 013: ID 1a40:0801 Terminus Technology Inc.
Bus 001 Device 012: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
~$ systemctl status NetworkManager
● NetworkManager.service - Network Manager
Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-08-19 11:17:52 CEST; 1min 27s ago
Docs: man:NetworkManager(8)
Main PID: 1102 (NetworkManager)
Tasks: 3 (limit: 18815)
Memory: 10.6M
CGroup: /system.slice/NetworkManager.service
└─1102 /usr/sbin/NetworkManager --no-daemon
aug 19 11:17:52 shuttle NetworkManager[1102]: <info> [1660900672.5897] settings: Loaded settings plugin: ifupdown ("/usr/lib/x86_64-linux-gnu/NetworkManager/1.22.10/libnm-settings-plugin-ifupdown.so")
aug 19 11:17:52 shuttle NetworkManager[1102]: <info> [1660900672.5897] settings: Loaded settings plugin: keyfile (internal)
aug 19 11:17:52 shuttle NetworkManager[1102]: <info> [1660900672.5898] ifupdown: management mode: unmanaged
aug 19 11:17:52 shuttle NetworkManager[1102]: <warn> [1660900672.5899] ifupdown: interfaces file /etc/network/interfaces doesn't exist
aug 19 11:17:52 shuttle NetworkManager[1102]: <info> [1660900672.5959] device (lo): carrier: link connected
aug 19 11:17:52 shuttle NetworkManager[1102]: <info> [1660900672.5961] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
aug 19 11:17:52 shuttle NetworkManager[1102]: <warn> [1660900672.5972] Error: failed to open /run/network/ifstate
aug 19 11:17:52 shuttle NetworkManager[1102]: <info> [1660900672.6002] modem-manager: ModemManager available
aug 19 11:17:52 shuttle NetworkManager[1102]: <info> [1660900672.6008] manager: startup complete
aug 19 11:18:43 shuttle NetworkManager[1102]: <info> [1660900723.0456] agent-manager: agent[07114c0c1c8220c2,:1.124/org.gnome.Shell.NetworkAgent/1000]: agent registered
~
~$ lsmod
Module Size Used by
ip6table_filter 16384 0
ip6_tables 32768 1 ip6table_filter
iptable_filter 16384 0
bpfilter 16384 0
nls_iso8859_1 16384 1
joydev 32768 0
input_leds 16384 0
kvm_intel 376832 0
kvm 1011712 1 kvm_intel
efi_pstore 16384 0
video 57344 0
acpi_pad 184320 0
acpi_tad 16384 0
sch_fq_codel 24576 1
msr 16384 0
parport_pc 53248 0
ppdev 24576 0
drm 618496 0
lp 28672 0
parport 69632 3 parport_pc,lp,ppdev
ip_tables 32768 1 iptable_filter
x_tables 53248 4 ip6table_filter,iptable_filter,ip6_tables,ip_tables
autofs4 49152 2
uas 28672 0
usb_storage 77824 1 uas
dm_crypt 53248 1
hid_generic 16384 0
usbhid 65536 0
hid 147456 2 usbhid,hid_generic
crct10dif_pclmul 16384 1
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
aesni_intel 376832 2
nvme 49152 3
xhci_pci 24576 0
crypto_simd 16384 1 aesni_intel
cryptd 24576 3 crypto_simd,ghash_clmulni_intel
nvme_core 131072 4 nvme
xhci_pci_renesas 20480 1 xhci_pci
I'm grateful for any help