USB over ENET: Difference between revisions

From chriesibaum wiki
Jump to navigation Jump to search
Line 31: Line 31:
Ubuntu 20.04
Ubuntu 20.04


sudo aptitude install linux-tools-generic  
sudo aptitude install linux-tools-generic  
sudo aptitude install  linux-tools-5.13.0-35-generic
sudo aptitude install  linux-tools-5.13.0-39-generic


do not install the usbip package!  
do not install the usbip package!  




sudo modprobe vhci-hcd  
sudo modprobe vhci-hcd
usbip list -r "Serveraddresse"  
usbip list -r "Serveraddresse"
sudo usbip attach -r "Serveraddresse" -b "Bus-ID"  
sudo usbip attach -r "Serveraddresse" -b "Bus-ID"
 


=Useful Literature=
=Useful Literature=
* https://www.tecchannel.de/a/usb-geraete-in-linux-im-netzwerk-verfuegbar-machen,2075505,2
* https://www.tecchannel.de/a/usb-geraete-in-linux-im-netzwerk-verfuegbar-machen,2075505,2
* https://wiki.ubuntuusers.de/USBIP/
* https://wiki.ubuntuusers.de/USBIP/

Revision as of 14:13, 12 April 2022

usbip-Server on a Rasperrypi

Installation

Install the following usbip package

sudo aptitude install usbip


Setup

Load the usbip-host kernel module

sudo modprobe usbip-host

And run the usbipd server

sudo usbipd -d


Now list all usb devices:

sudo usbip list -l

Finally bind your desired usb device

sudo usbip bind -b 1-1.3

So far the server setup.

usbip-client setup

Ubuntu 20.04

sudo aptitude install linux-tools-generic sudo aptitude install linux-tools-5.13.0-39-generic

do not install the usbip package!


sudo modprobe vhci-hcd usbip list -r "Serveraddresse" sudo usbip attach -r "Serveraddresse" -b "Bus-ID"

Useful Literature