How To Set Up A USB-Over-IP Server And Client With OpenSUSE 11.2 - Page 2

On this page

3 Installing And Using USB/IP On The Client

client1:

First we must install usbip on the client. The steps are the same as on the server:

yast2 -i usbip

usbip expects the file containing the list of known USB devices (usb.ids) in the directory /usr/share/hwdata, but on OpenSUSE 11.2 it's located in /usr/share/usbip/usb.ids - therefore we create a symlink:

To make sure that the module gets loaded automatically whenever you boot the system, you can add it to the MODULES_LOADED_ON_BOOT line in /etc/sysconfig/kernel:

vi /etc/sysconfig/kernel

[...]
## Type: string
## ServiceRestart: boot.loadmodules
#
# This variable contains the list of modules to be loaded
# once the main filesystem is active
# You will find a few default modules for hardware which
# can not be detected automatically.
#
MODULES_LOADED_ON_BOOT="vhci-hcd"
[...]

Run

SuSEconfig

afterwards.

Now connect to the usbip server and get a list of available USB devices:

usbip -l 192.168.0.100

(192.168.0.100 is the IP address of the usbip server.)

You should find the SanDisk USB flash drive in the output (BUSID 2-5):

Suggested articles

1 Comment(s)

Comments

I found the repo compiles not functioning for me and so installed from source. After that, when I did manage to make the connection work, I tried to link a webcam. While the protocol functions seemed to work and the camera did turn on, the data transport lost almost everything. Aside from a few corner flashes of green indicating that it was trying, there was no picture. I ended up going back to using remote execution with NX. It's slower, but it works reliably. I am interested in this project and hope it can evolve to work well with real-time applications such as webcams.