Q: USB tethering

45 views
Skip to first unread message

Ulrich Windl

unread,
Mar 31, 2020, 7:04:30 PM3/31/20
to qubes...@googlegroups.com
Hi!

I had been asking this before: How hard will it be to use USB tethering
in Qubes OS?

Dom0 seems to recognize the interface, but I cannot assign it to any VM:

Mar 31 22:55:57 dom0 kernel: usb 2-10.2: new high-speed USB device
number 8 using xhci_hcd
Mar 31 22:55:57 dom0 kernel: usb 2-10.2: New USB device found,
idVendor=12d1, idProduct=108a, bcdDevice= 2.99
Mar 31 22:55:57 dom0 kernel: usb 2-10.2: New USB device strings: Mfr=1,
Product=2, SerialNumber=3
Mar 31 22:55:57 dom0 kernel: usb 2-10.2: Product: WAS-LX1A
Mar 31 22:55:57 dom0 kernel: usb 2-10.2: Manufacturer: HUAWEI
Mar 31 22:55:57 dom0 kernel: usb 2-10.2: SerialNumber: 2345678987
Mar 31 22:55:57 dom0 kernel: usbcore: registered new interface driver
cdc_ether
Mar 31 22:55:57 dom0 kernel: rndis_host 2-10.2:1.0 usb0: register
'rndis_host' at usb-0000:00:14.0-10.2, RNDIS device, 06:69:31:77:66:aa
Mar 31 22:55:57 dom0 kernel: usbcore: registered new interface driver
rndis_host
Mar 31 22:55:57 dom0 kernel: rndis_host 2-10.2:1.0 enp0s20u10u2: renamed
from usb0

Regards,
Ulrich

Sven Semmler

unread,
Mar 31, 2020, 8:25:03 PM3/31/20
to Ulrich Windl, qubes...@googlegroups.com
On Wed, Apr 01, 2020 at 12:04:00AM +0200, Ulrich Windl wrote:
> I had been asking this before: How hard will it be to use USB tethering in
> Qubes OS?

As in: use the USB connection to your phone as network interface? The
(standard) way I do it is to assign the USB controller to sys-net. The
rest kind of happened automatically after installing the respective
tools (I use an iDevice).

Unless you are using a desktop PC with a USB keyboard, this is also the
much safer approach (instead of having USB directly handled in dom0). If
you however use a USB keyboard things could get ugly and more planning
is needed.

> Mar 31 22:55:57 dom0 kernel: usb 2-10.2: Manufacturer: HUAWEI

Yep, wouldn't want this anywhere near dom0. Not that I trust my iDevice
substancially more, but I think you get the idea.

/Sven

--
public key: https://www.svensemmler.org/0x8F541FB6.asc
fingerprint: D7CA F2DB 658D 89BC 08D6 A7AA DA6E 167B 8F54 1FB6

signature.asc

Ulrich Windl

unread,
Apr 9, 2020, 7:06:18 PM4/9/20
to sv...@svensemmler.org, qubes...@googlegroups.com
>>> Sven Semmler <sv...@svensemmler.org> schrieb am 01.04.2020 um 02:24 in Nachricht
<17386_1585700702_5E83DF5C_17386_420_1_20200401002455.GC1128@app-email-private>:

> On Wed, Apr 01, 2020 at 12:04:00AM +0200, Ulrich Windl wrote:
>> I had been asking this before: How hard will it be to use USB tethering in
>> Qubes OS?
>
> As in: use the USB connection to your phone as network interface? The
> (standard) way I do it is to assign the USB controller to sys-net. The
> rest kind of happened automatically after installing the respective
> tools (I use an iDevice).
>
> Unless you are using a desktop PC with a USB keyboard, this is also the
> much safer approach (instead of having USB directly handled in dom0). If
> you however use a USB keyboard things could get ugly and more planning
> is needed.
>
>> Mar 31 22:55:57 dom0 kernel: usb 2-10.2: Manufacturer: HUAWEI
>
> Yep, wouldn't want this anywhere near dom0. Not that I trust my iDevice
> substancially more, but I think you get the idea.

Well, you have no guarantee that no Huawei device is somewhere in your network path, and actually: I bought it because I would get more for less (as compared to Samsung for example)...

>
> /Sven
>
> --
> public key: https://www.svensemmler.org/0x8F541FB6.asc
> fingerprint: D7CA F2DB 658D 89BC 08D6 A7AA DA6E 167B 8F54 1FB6
>
> --
> You received this message because you are subscribed to the Google Groups
> "qubes-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to qubes-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qubes-users/20200401002455.GC1128%40app-ema
> il-private.




Eloy Beltran

unread,
Apr 9, 2020, 8:08:43 PM4/9/20
to qubes-users
Necesitas activar y añadir reconocimiento de dispositivos USB a la VM en Opciones.
Reply all
Reply to author
Forward
0 new messages