41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
|
= Wireless USB =
|
||
|
|
||
|
Provided a usb device over a network for another device
|
||
|
Best done with a [[raspberry_pi|Raspberry pi]]
|
||
|
|
||
|
== Steps ==
|
||
|
|
||
|
First you'll want a working pi with an internet connection. Be sure its
|
||
|
updated
|
||
|
|
||
|
1) sudo apt-get install usbip
|
||
|
- This is the actual kernel module that will be doing the heavy lifting
|
||
|
2) sudo modprobe usbip_host
|
||
|
- load the module into the kernel
|
||
|
3) now edit your modules file to add usbip on boot
|
||
|
{{{
|
||
|
#file: /etc/modules
|
||
|
usbip_host
|
||
|
}}}
|
||
|
4) Find the device you want to share (lsusb). Keep this in mind
|
||
|
5) usbip list -p -l
|
||
|
- This will list all the usb devices in a way usbip can understand. Find the
|
||
|
matching busid from above for your device
|
||
|
6) usbip bind --busid=<BUSID>
|
||
|
- Will bind the usb device to usbip
|
||
|
7) sudo usbipd
|
||
|
- Starts the usbip daemon. Will display what it is listening on
|
||
|
8) On the client machine, install usbip as well.
|
||
|
9) sudo modprobe vhci-hcd
|
||
|
- Load the module for networked usb
|
||
|
- Be sure that you have USB/IP support enabled compiled into your kernel
|
||
|
10) (Optional) /etc/modules
|
||
|
- Same as the pi
|
||
|
11) sudo usbip attach -r <PI_IP> -b <BUSID>
|
||
|
- Binds the usb device
|
||
|
|
||
|
And thats it! It should work now. This doesn't have to be with a raspberry pi
|
||
|
it can be with any device
|
||
|
|
||
|
[[index]]
|