Today I was finally able to realize my plan to use the MT7922
wireless NIC on my my Gigabyte Aorus x670 Elite motherboard as
access point. From there I could bridge the traffic to my OpnSense VM running on Proxmox 8.1. Throughout this journey I had some
insights that I want to share with the internet.
Firstly I learned that at least on this board it's much easier to pass the wireless card to a LXC instead of passing it through
to a virtual machine. I tried the latter first and the vfio-pci
driver was just loaded fine for the wifi card but for some reason
also for the 2.5Gb realtek NIC, so that I didn't have ethernet on proxmox anymore. So, given that the correct drivers for the MT7922
were loaded on proxmox I just set up an unpriviliged LXC with Debian 12 + the following lines in its config (/etc/pve/lxc/{ID}.conf
):