Wi-Fi, ethernet, and Bluetooth suddenly stopped working
https://askubuntu.com/questions/1564733/wi-fi-ethernet-and-bluetooth-suddenly-stopped-workingThe situation is as the titles says. I have been using this computer running Ubuntu 24.04 for some time now, yet the Wi-Fi, ethernet, and Bluetooth suddenly stopped working. The Wi-Fi/Bluetooth is built into the motherboard. I don't think there was any update installed just before this occurred, but I could be misremembering.
I have noticed it still registers an ethernet connection, and it can ping devices on the same LAN, but there is no internet access. Strangely enough, my VPN still seems to connect, despite no internet usability either in or outside of it.
Wi-Fi is no longer even displayed as a setting.

I'll try to include the information that I'm seen asked for in in response to questions similar to this one.
Output of uname -r is 6.17.0-14-generic.
Output of lspci -nnk | grep -iA3 net is:
29:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
DeviceName: RTL8111E Giga LAN
Subsystem: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
Kernel modules: mt7921e
2a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7c95]
Kernel driver in use: r8169
Kernel modules: r8169
2b:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2d05] (rev a1)
Output of lshw -class network is:
WARNING: you should run this program as super-user.
*-network UNCLAIMED
description: Network controller
product: MT7922 802.11ax PCI Express Wireless Network Adapter
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:29:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: cap_list
configuration: latency=0
resources: iomemory:7e0-7df memory:7e02100000-7e021fffff memory:fc300000-fc307fff
*-network
description: Ethernet interface
product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:2a:00.0
logical name: enp42s0
version: 15
serial: 34:5a:60:a1:a5:e5
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.14.0-37-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.151 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:34 ioport:f000(size=256) memory:fc204000-fc204fff memory:fc200000-fc203fff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
Something that seems strange is that the output of sudo lshw -class network is different. The configuration on the first*-network and the capabilities on the second display different parameters:
*-network
description: Network controller
product: MT7922 802.11ax PCI Express Wireless Network Adapter
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:29:00.0
logical name: /dev/fb0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm cap_list fb
configuration: depth=32 latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
resources: iomemory:7e0-7df memory:7e02100000-7e021fffff memory:fc300000-fc307fff
*-network
description: Ethernet interface
product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:2a:00.0
logical name: enp42s0
version: 15
serial: 34:5a:60:a1:a5:e5
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.17.0-14-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.151 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:34 ioport:f000(size=256) memory:fc204000-fc204fff memory:fc200000-fc203fff
The first line of this output shows *-network UNCLAIMED if I run the command without sudo. I'm unsure why that is.
Output of nmcli device is:
DEVICE TYPE STATE CONNECTION
lo loopback connected (externally) lo
enp42s0 ethernet unavailable --
I have attempted to boot into an earlier version of the kernal (6.14.0-37-generic), but I was met with the same issue. I am unsure where to begin trying to solve this.
I could also just be imagining this, but it seems that the computer takes a strangely long time to boot up after this problem showed up.








