I am trying to, as the thread name suggests, pass a wlan interface to a KVM VM running Mikrotik RouterOS CHR.
CPU: 2x Intel Xeon e5-2620
MB: Asus Z9PE
WNIC: TP-Link TL-WN881ND (Realtek RTL8192EE)
OS: Debian 9.6, kernel 4.9.0-8
When I use a
virsh attach-interface --domain MkCHR --type direct --source wlp132s0 --target wlp132s0virt --model virtio
command, I get a wired ethernet interface in the VM, and it is not what I need. I want this VM to be a wireless CapsMan AP, so it must rule this interface completely.
Parsing the PCI-e device completely is reserved as the most complicated way Mikrotik support adviced not to use (they are not sure it would work as expected).
How can I do this?