I’m playing around with Instances on Scale 25.04.1 and I’m looking for a way to pass through the wireless adapter on the motherboard to the VM. The GPU was passed through via the web UI options and seems to be working fine. When I attempt to add the wireless adapter, the VM refuses to start, citing some issue related to the aforementioned hardware. My Google-fu has proved insufficient to find a solution to this problem.
Neither I nor root can set a vfio override, and lspci lists neither a kernel driver nor kernel module in use for the wireless adapter.
Am I missing something? Some easy way to set this up in the web UI?
Truenas has 0 support for wifi so that seems about right, and correct me if I’m wrong but I read that they even specifically removed all wireless drivers and support from the kernel to keep people from using them. As far as passthrough I would also say yeah just wait for the return to classic virtualization and give it a shot there and see what happens.
TrueNAS itself doesn’t need to support WiFi, because PCIE passthrough is a lower level thing.
Check your IOMMU groups and ensure that the WiFi adapter is NOT inside a group with other devices. If the device is within a group with other devices, there can be many issues, like the one you described.
Here is a script I use to check the groups:
for g in /sys/kernel/iommu_groups/*; do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done
done
fwiw i just tried passing through both my onboard intel ax210 and realtek 8125 (which has suddenly refused to work for truenas for some reason and been a big headache) to my win10 vm, the 8125 worked right away and windows automatically grabbed the ax210 drivers and then it started working too.