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

Documentation on qubes-usb-proxy #3171

Closed
niccokunzmann opened this Issue Oct 13, 2017 · 5 comments

Comments

Projects
None yet
3 participants
@niccokunzmann
Contributor

niccokunzmann commented Oct 13, 2017

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

Affected TemplateVMs: debian-8


Steps to reproduce the behavior:

$ qvm-usb -l
$ qvm-usb -a debian-8 sys-usb:4-2
ERROR: qubes-usb-proxy not installed in the VM

Expected behavior:

The usb device is attached to debian-8
OR
I find documentation on how to attach it or install the qubes-usb-proxy.

Actual behavior:

The usb device is not attached.

General notes:

Possible solution:

Add documentation on how to install the qubes-usb-proxy to a debian vm or maybe to a vm in general.

I will try out and see what I find with the https://github.com/QubesOS/qubes-app-linux-usb-proxy


Related issues:

@niccokunzmann

This comment has been minimized.

Show comment
Hide comment
@niccokunzmann

niccokunzmann Oct 13, 2017

Contributor

Once those pull-requests are merged, this can be closed.

Contributor

niccokunzmann commented Oct 13, 2017

Once those pull-requests are merged, this can be closed.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 13, 2017

Member

Well, the error says you need to install qubes-usb-proxy. Documentation also already include that information:

To use this feature, you need to install qubes-usb-proxy package in the templates used for USB qube and qubes you want to connect USB devices to.

Do you think this is not sufficient? Not sure if duplicating basic distribution usage guides ("how to install package?" apt-get usage, dnf usage, etc) is needed...

cc @andrewdavidwong

Member

marmarek commented Oct 13, 2017

Well, the error says you need to install qubes-usb-proxy. Documentation also already include that information:

To use this feature, you need to install qubes-usb-proxy package in the templates used for USB qube and qubes you want to connect USB devices to.

Do you think this is not sufficient? Not sure if duplicating basic distribution usage guides ("how to install package?" apt-get usage, dnf usage, etc) is needed...

cc @andrewdavidwong

@niccokunzmann

This comment has been minimized.

Show comment
Hide comment
@niccokunzmann

niccokunzmann Oct 14, 2017

Contributor

@marmarek Thanks for your questions.
I could not install qubes-usb-proxy in the Template VM.
Now, I see the error was a deactivated network.

However, out of some reasons, I installed it from the tar.gz file. I guess, you do not want this path.
Let's add documentation on how I am supposed to install the qubes-usb-proxy, so others do not do that.

I suppose, I could get another pull-request closed where I put work in so I will ask here: Where do you think this installation should be added?
I think, it should be added here:

To use this feature, you need to install the qubes-usb-proxy system package in the templates used for the USB qube and qubes you want to connect USB devices to. Under debain, do sudo apt-get install qubes-usb-proxy and under Fedora yum install qubes-usb-proxy. If you are in a Template VM, also activate your Internet connection.

I think, duplicating the information how to install it, is needed: I did it wrong. I think, I know how to install packages (Thinking you know something is sometimes in the way of seeing the truth). We can also add a subsection on how to securely install it. It can not hurt, I think. Also, I can add a link to the repository for people who would like to know more about how it works and like to contribute.

Contributor

niccokunzmann commented Oct 14, 2017

@marmarek Thanks for your questions.
I could not install qubes-usb-proxy in the Template VM.
Now, I see the error was a deactivated network.

However, out of some reasons, I installed it from the tar.gz file. I guess, you do not want this path.
Let's add documentation on how I am supposed to install the qubes-usb-proxy, so others do not do that.

I suppose, I could get another pull-request closed where I put work in so I will ask here: Where do you think this installation should be added?
I think, it should be added here:

To use this feature, you need to install the qubes-usb-proxy system package in the templates used for the USB qube and qubes you want to connect USB devices to. Under debain, do sudo apt-get install qubes-usb-proxy and under Fedora yum install qubes-usb-proxy. If you are in a Template VM, also activate your Internet connection.

I think, duplicating the information how to install it, is needed: I did it wrong. I think, I know how to install packages (Thinking you know something is sometimes in the way of seeing the truth). We can also add a subsection on how to securely install it. It can not hurt, I think. Also, I can add a link to the repository for people who would like to know more about how it works and like to contribute.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 14, 2017

Member

Not sure if duplicating basic distribution usage guides ("how to install package?" apt-get usage, dnf usage, etc) is needed...

To use this feature, you need to install the qubes-usb-proxy system package in the templates used for the USB qube and qubes you want to connect USB devices to. Under debain, do sudo apt-get install qubes-usb-proxy and under Fedora yum install qubes-usb-proxy.

Yes, I think we should say something like this.

(I would exclude the "activate your internet connection" part, since it shouldn't be necessary to say that. Templates should already be have access to updates proxies. If not, it's a separate bug. Also note that it's dnf instead of yum under Fedora now.)

Member

andrewdavidwong commented Oct 14, 2017

Not sure if duplicating basic distribution usage guides ("how to install package?" apt-get usage, dnf usage, etc) is needed...

To use this feature, you need to install the qubes-usb-proxy system package in the templates used for the USB qube and qubes you want to connect USB devices to. Under debain, do sudo apt-get install qubes-usb-proxy and under Fedora yum install qubes-usb-proxy.

Yes, I think we should say something like this.

(I would exclude the "activate your internet connection" part, since it shouldn't be necessary to say that. Templates should already be have access to updates proxies. If not, it's a separate bug. Also note that it's dnf instead of yum under Fedora now.)

@andrewdavidwong andrewdavidwong added this to the Documentation/website milestone Oct 14, 2017

@niccokunzmann niccokunzmann referenced this issue in QubesOS/qubes-app-linux-usb-proxy Oct 16, 2017

Open

[WIP] Clarify how to install this package securely #4

1 of 1 task complete
@andrewdavidwong

This comment has been minimized.

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