New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support usb-ether in sys-net #2680

Closed
emdete opened this Issue Mar 6, 2017 · 6 comments

Comments

Projects
None yet
5 participants
@emdete

emdete commented Mar 6, 2017

Qubes OS version (e.g., R3.2):

3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

sys-usb

Expected behavior:

usb ether can be used as a network device from sys-net

Actual behavior:

usb ether is grabbed by sys-usb and can't be exported

Steps to reproduce the behavior:

attach a usb-ether device (for example usb tethering with a mobile capable of usb-ether)

General notes:

this is probably a feature request.

tethering via cable is good to increase security compared to a wlan for tethering.

Related issues:

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 6, 2017

Member

sys-usb is specifically created as NetVM to allow this scenario. If you want to use it, go to sys-usb settings, services tab, enable network-manager service and restart sys-usb. Then you will be able to switch any VM to use sys-usb instead of sys-firewall. If you want to route all of them, simply switch sys-firewall to use sys-usb as its netvm.

Alternatively qvm-usb could be used to connect such device to sys-net, but as you noted, many devices do not work in this mode.

Member

marmarek commented Mar 6, 2017

sys-usb is specifically created as NetVM to allow this scenario. If you want to use it, go to sys-usb settings, services tab, enable network-manager service and restart sys-usb. Then you will be able to switch any VM to use sys-usb instead of sys-firewall. If you want to route all of them, simply switch sys-firewall to use sys-usb as its netvm.

Alternatively qvm-usb could be used to connect such device to sys-net, but as you noted, many devices do not work in this mode.

@emdete

This comment has been minimized.

Show comment
Hide comment
@emdete

emdete Mar 7, 2017

this is not a desirable solution ;)

if you change networks from cable ether, wifi, usb, bt it's not a solution to change your current net vm each time you change your connection to the internet. you just want that network devices show up in one single net vm. automatically. no click needed.

emdete commented Mar 7, 2017

this is not a desirable solution ;)

if you change networks from cable ether, wifi, usb, bt it's not a solution to change your current net vm each time you change your connection to the internet. you just want that network devices show up in one single net vm. automatically. no click needed.

@grey-olli

This comment has been minimized.

Show comment
Hide comment
@grey-olli

grey-olli Mar 7, 2017

@unman

This comment has been minimized.

Show comment
Hide comment
@unman

unman Mar 7, 2017

Member

Marek gave an alternative solution - if that doesn't work, you could attach the usb controller you use for usb ether to sys-net, and use udev to restrict use to the ethernet device. Of course, this wont work if you only have 1 controller.

Member

unman commented Mar 7, 2017

Marek gave an alternative solution - if that doesn't work, you could attach the usb controller you use for usb ether to sys-net, and use udev to restrict use to the ethernet device. Of course, this wont work if you only have 1 controller.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Mar 8, 2017

Member

My 5 cent - this bug should be closed as won't FIX - already supported.

It has already been closed as notanissue.

Member

andrewdavidwong commented Mar 8, 2017

My 5 cent - this bug should be closed as won't FIX - already supported.

It has already been closed as notanissue.

@emdete

This comment has been minimized.

Show comment
Hide comment
@emdete

emdete Mar 10, 2017

it seems i have a different view on security and usability than qubes people have... no problem with that.

emdete commented Mar 10, 2017

it seems i have a different view on security and usability than qubes people have... no problem with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment