Client Setup#

The client component of usb-remote runs on a machine that wants to access USB devices shared over the network by one or more usb-remote servers.

Installing Prerequisites#

  1. Install the usbip CLI:

    sudo apt update
    sudo apt install usbip
    
  2. Load the vhci-hcd kernel module and ensure it loads at boot:

    sudo modprobe vhci-hcd
    echo "vhci-hcd" | sudo tee /etc/modules-load.d/vhci.conf
    

Installing usb-remote Client#

A quick way to install the usb-remote client is via the uv tool.

  1. Install uv.

    curl -LsSf https://astral.sh/uv/install.sh | sh
    cd; source .bashrc
    
  2. Run the client using uvx:

    uvx usb-remote --help
    

Verify the Installation#

Assuming you have at least one usb-remote server running on your network, you can verify the client installation by listing available USB devices:

usb-remote config add-server <server_address>
usb-remote list