Wi-Fi dropping constantly

Figures out my Wi-Fi connection problems are unrelated to the new release:

My Wi-Fi adapter is Mediatek:

Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169
  IF: eno1 state: down mac: <filter>
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
  IF: wlp13s0 state: up mac: <filter>

Prior to disabling MAC Randomization, it was doing this at random:

Nov 28 06:24:46 XXXX NetworkManager[921]: <info>  [1732796686.2121] device (wlp13s0): set-hw-addr: set MAC address to B2:B2:BC:34:5F:C1 (scanning)
Nov 28 06:24:49 XXXX NetworkManager[921]: <info>  [1732796689.0995] device (wlp13s0): set-hw-addr: reset MAC address to 4C:82:A9:40:FA:8D (preserve)
Nov 28 08:40:20 XXXX NetworkManager[921]: <info>  [1732804820.9120] device (wlp13s0): set-hw-addr: set MAC address to 3E:F2:8B:A1:1F:FD (scanning)
Nov 28 08:40:21 XXXX NetworkManager[921]: <info>  [1732804821.1847] device (wlp13s0): set-hw-addr: reset MAC address to 4C:82:A9:40:FA:8D (unmanage)

I checked the Install log and nothing was upgraded at the time this started. That got me thinking to check my router, and sure enough my Asus router (ZenWifi) got a firmware update, and the problem has been happening since then.

The fix was to turn off MAC Randomization in grub by creating:

/etc/NetworkManager/conf.d/wifi_rand_mac.conf

and including the following lines:

   [device]
   wifi.scan-rand-mac-address=no

Then update-grub and reboot

I think I’ll go back and test after the next firmware update.