LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

usbip

Share USB devices over IP networks

TLDR

List local devices
$ usbip list -l
copy
Bind device on server
$ sudo usbip bind -b [bus_id]
copy
Load kernel module on client
$ sudo modprobe vhci-hcd
copy
Attach to remote device
$ sudo usbip attach -r [ip_address] -b [bus_id]
copy
List attached devices
$ usbip port
copy
Detach from device
$ sudo usbip detach -p [port]
copy
Unbind device
$ usbip unbind -b [bus_id]
copy

SYNOPSIS

usbip COMMAND [OPTIONS]

DESCRIPTION

usbip enables sharing USB devices over IP networks. Devices can be exported from a server and attached to clients as if they were locally connected.The server runs the usbipd daemon and binds devices for sharing. Clients load the vhci-hcd kernel module and attach to remote devices.

PARAMETERS

-l, --local

List local devices
-r, --remote IP
Remote server address
-b, --busid ID
Device bus ID
-p, --port PORT
Port number for detach

COMMANDS

list

List USB devices
bind
Bind device for remote sharing
unbind
Unbind device from sharing
attach
Attach to remote USB device
detach
Detach from remote device
port
Show attached remote devices

INSTALL

sudo apt install usbip
copy
sudo dnf install usbip
copy
sudo pacman -S usbip
copy
sudo apk add linux-tools-usbip
copy
sudo zypper install usbip
copy

CAVEATS

Requires kernel modules on both server and client. Network latency affects device performance. Not suitable for high-bandwidth devices. Security depends on network configuration.

SEE ALSO

lsusb(8), modprobe(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid