From 53d118dfa059c13227f0d3372939474f95d764c7 Mon Sep 17 00:00:00 2001 From: GRabbit Date: Tue, 14 Sep 2021 21:15:33 +0800 Subject: [PATCH] docs: create private/asiaircrack/usbip --- private/asiaircrack/usbip.md | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 private/asiaircrack/usbip.md diff --git a/private/asiaircrack/usbip.md b/private/asiaircrack/usbip.md new file mode 100644 index 0000000..0d621f0 --- /dev/null +++ b/private/asiaircrack/usbip.md @@ -0,0 +1,45 @@ +--- +title: USB/IP +description: +published: true +date: 2021-09-14T13:15:26.610Z +tags: +editor: markdown +dateCreated: 2021-09-14T13:15:26.610Z +--- + +# USB/IP +[USB/IP](http://usbip.sourceforge.net/)是一个将usb设备通过tcp/ip协议共享至其它主机的开源项目。希望基于这个项目可以将远程主机分享的相机、赤道仪、滤镜轮、调焦器等设备共享至远程,作为远程天文台。 +优点: +- 一机可以多用,可以作为远程台,可以作为类似asi的打野装备 + +缺点: +- 相较于远程桌面需要的带宽更大 +- 受限于网速 +- 驱动稳定性 + +## 安装 +### Linux服务端 +https://developer.ridgerun.com/wiki/index.php?title=How_to_setup_and_use_USB/IP +Install USBIP: +`sudo apt-get install usbip` + +Load the kernel module with modprobe: +`sudo modprobe usbip-host` + +List available usb devices: +`sudo usbip list -l` +(my device shows up with an ID of 1-1.3) + +Bind it to USBIP: +`sudo usbip bind --busid 1-1.3` +It returns: +`usbip: info: bind device on busid 1-1.3: complete` + +start usbip server daemon. +`sudo usbipd` + +### Windows服务端 +https://github.com/cezanne/usbip-win +`.\usbip.exe attach -r 192.168.1.116 -b 1-1.4` +`.\usbip.exe detach -r 192.168.1.116 -p 0`