Ok @abc,
All USB devices are connected to sys-usb, then you can say that an USB device should be dedicated to another VM. Here we want to say to sys-usb to dedicate the USB NIC to sys-net.
You can do this with the qvm-usb attach
or with the Qubes Device Manager.
Preconditions:
- sys-usb should detect the USB NIC when you plug it, is it OK ? Unplug the USB NIC, in sys-usb terminal launch the
sudo dmesg -Tw
command then plug the USB NIC. Do you see similar logs as in my previous post? If you are not sure, post the interesting output. - the Qubes Device Manager display the USB NIC. Is it OK? Should be like the step 2 on this screenshot
- sys-usb display the USB NIC. Is it OK? In sys-usb terminal launch the
lsusb
command, you should see a line with your USB NIC
Now the attach.
Solution 1: attach by Qubes Device Manager
Like in the step 2 of the screenshot, you should select your USB NIC, and in sub-menu choose sys-net.
You should see a Notification : Attaching to sys-net.
In sys-net terminal launch the lsusb
command, you should see a line with your USB NIC. And always in sys-net, ip a
should list a new network device (ex: eth0 or another name).