I'm at the network connection page of sys-net where I need help of how to configure the network.
There's not any material related to qubes USB tethering elsewhere.
qvm-pci -a sys-net 08:00.3
which is the address of my usb bus, it shows error regarding 'sys-net'
Also,
Under dom0, when I execute commmand
qvm-block
With tethered usb it doesn't show any device and without tethered usb, it shows
dom0:sr0 File-Stor_Gadget (CDROM)
which means once I start tethering, the USB connection somehow dissappears.
Thanks Stuart
unman, there's no difference in both responses tethered and untethered here. I executed qvm-usb and qvm-device ls
Got
BACKEND:DEVID DESCRIPTION USED BY
&
Got empty response from qubesd. See journalctl in dom0 for details
respectively. Why don't I connect devices to sys-net? Again quoting the Joanna article above.
I found out that sys-net already has USB 2.0 assigned in it(Bus 001). lsusb under sys-net gives them. I plugged my wifi adapter in 2.0 USB (Bus 001) still I don't get any connection.
I tried making sys-wifi assuming sys-net will have some incorrect settings but when I try to attach the USB device to it, it shows
backend vm 'dom0' doesn't expose device 'PCIaddressOfUsb'
I really don't know how to proceed. It should atleast show the device. Why aren't any USB devices not linked to storage recognized?
Is my device there? Do I need to install it's drivers?
*not recognized
I found Bus 001 Device 002 is RaLink ... under dom0 and
ID 0627:0001 Adomax Technology Co., Ltd under sys-net
Stuart pointed the solution out but I used it after understanding a few things. Tethering is automatically configured by the qube in which the USB bus exists. So, we just have to make sure that the USB exists in that VM. I made sys-usb because I didn't think sys-net was preconfigured well. Maybe it was, I didn't try.
Go to dom0. In terminal use lsusb and figure out the bus on which your usb device(tethering mobile connection) is. My was on bus 1. I made sys-usb, shut it down, under it's settings, went to advanced changed it to HVM, went to devices, located the PCI address of my USB port (shown in https://www.qubes-os.org/doc/assigning-devices/ ), selected it, pressed the greater than sign. Goes to right side. Reset PCI Device(selected one). Restart VM. Assign it as sys-firewall's NetVM. Tethering switch. Boom! Tethering done!
I'll do the adapter configuring soon.