bulwarkid / virtual-fido

A Virtual FIDO2 USB Device
MIT License
1.21k stars 55 forks source link

usbip command not found issue and how to resolve #11

Open jeanbritz opened 2 years ago

jeanbritz commented 2 years ago

Hi!

Not an issue, just a suggestion to add to the README.

First of all, I like your project! Just had some issue when starting up on Linux OS. It seems that usbip is not always installed and doing apt-get install usbip does not work.

Here is some instructions on how to get usbip installed:

sudo apt install linux-tools-virtual hwdata
sudo update-alternatives --install /usr/local/bin/usbip usbip `ls /usr/lib/linux-tools/*/usbip | tail -n1` 20

Got it from this page: https://github.com/dorssel/usbipd-win/wiki/WSL-support

cmdli commented 2 years ago

Hmm, is this for Windows Subsystem for Linux? I haven't tried that system yet; right now I've only tested on Windows and Pop!_OS. I can take a look at supporting that, but I'm not sure when I will get to it.

jeanbritz commented 2 years ago

I have ran this project on my Ubuntu OS. Seems that usbip is not installed by default always. Therefore I have provided instructions if someone else faced the same issue. It could also work for WSL, but have not tried it yet. The link was just a reference to the commands to install usbip

cmdli commented 2 years ago

Ah, gotcha. Yeah, I do agree that the installation instructions are a bit lacking on the Linux side, let me take a look at improving them.

pepa65 commented 1 year ago

Those are useful instructions, otherwise usbip is just not there...