I've got a Mediatek MT7921 for bt/wifi that's given me some problems in the past. It had been working for both BT+wifi but now only works for wifi.
I'm using Ubuntu 22.10 with kernel 6.0.9
lshw -C network
gives the following:
*-network
description: Wireless interface
product: MT7921 802.11ax PCI Express Wireless Network Adapter
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:05:00.0
logical name: wlp5s0
version: 00
serial:
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=mt7921e driverversion=6.0.9-060009-generic firmware=____010000-20220608210922 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: iomemory:7c0-7bf iomemory:7c0-7bf iomemory:7c0-7bf irq:109 memory:7c10100000-7c101fffff memory:7c10200000-7c10203fff memory:7c10204000-7c10204fff
nmcli d
shows that the wifi is 'unavailable'
DEVICE TYPE STATE CONNECTION
enp6s0 ethernet connected Wired connection 1
bt disconnected --
wlp5s0 wifi unavailable --
lo loopback unmanaged --
I've tried restarting wpa_supplicant.service and then restarting NetworkManager, same issue.
Any ideas for what to try next?
You may find this useful though: -initially bt+wifi only worked from a completely cold (power supply shutoff) boot -there was a brief time where that issue was resolved and bt+wifi worked flawlessly -now bt works great, wifi doesn't
So at some point, the issue was resolved. I'm not sure what changed. I tried moving up to newer kernels and going back to older, no luck. I suspect it's likely something related to the driver, but perhaps since the kernel didn't affect it maybe not the driver itself?
– wunderbard Dec 20 '22 at 04:32So it seems that the adapter/driver are likely okay, maybe something at the OS level?
And mine is unfortunately not a pci card, it's built onto the motherboard so I'm unable to change the slot
– wunderbard Apr 14 '23 at 22:45Once associated, I can do ip link set wlp5s0 down and then ip link set wlp5s0 up and it will re-associate, but not getting an IP or internet. The OS UI for WIFI is still just showing a spinner. There's definitely something up with my wifi/networking but at this point still no idea what the issue is or how it was caused.
– wunderbard Apr 15 '23 at 00:51I can get an IP and wifi works. So now how to fix the ui?
– wunderbard Apr 15 '23 at 00:52