I have a Windows 7 virtual machine running on the closed-source edition of Virtualbox, which has USB support. I want the VM to directly access a USB wireless adaptor, but can't attach the adaptor because it is in use. In this case I do need Windows to directly access the card and configure the wireless settings; configuring it in Ubuntu and bridging it will not suffice.
As soon as I plug in the USB stick, Network Manager is a bit too keen and grabs hold of it. Adding the below to
/etc/NetworkManager/nm-system-settings.conf does cause Network Manger to not automatically manage the adaptor yet it remains inaccessible to VirtualBox.
How can prevent anything from using the adaptor, so that I can attach it to the VM?