docs: create private/asiaircrack/usbip
This commit is contained in:
parent
841dcac55b
commit
53d118dfa0
45
private/asiaircrack/usbip.md
Normal file
45
private/asiaircrack/usbip.md
Normal file
@ -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`
|
||||||
Loading…
x
Reference in New Issue
Block a user