Comments on How To Set Up A USB-Over-IP Server And Client With Debian Lenny
How To Set Up A USB-Over-IP Server And Client With Debian Lenny This tutorial shows how to set up a USB-over-IP server with Debian Lenny as well as a USB-over-IP client (also running Debian Lenny). The USB/IP Project aims to develop a general USB device sharing system over IP network. To share USB devices between computers with their full functionality, USB/IP encapsulates "USB I/O messages" into TCP/IP payloads and transmits them between computers. USB-over-IP can be useful for virtual machines, for example, that don't have access to the host system's hardware - USB-over-IP allows virtual machines to use remote USB devices.
8 Comment(s)
Comments
Thank you Falko. I needed this. You are the man
wow, this is a very extensive tutorial, and even can be understood by a techno-bloke like yours truly. Thank you very much!
It seems to not be possible to compile the modules with a newer kernel:
/usr/src/modules/usbip/src/stub_dev.c: In function 'stub_probe': /usr/src/modules/usbip/src/stub_dev.c:392: error: 'struct device' has no member named 'bus_id' make[4]: *** [/usr/src/modules/usbip/src/stub_dev.o] Error 1
Current 'struct device' in linux/device.h hasn't 'bus_id' (at least with kernels newer than 2.6.30).
"Current 'struct device' in linux/device.h hasn't 'bus_id' (at least with kernels newer than 2.6.30)"
Thanks
The module is included in the kernel tree since 2.6.28. Either use those sources or configure your kernel for it. Chances are that “modprobe usbip” will work right away.
Dear DrLex,
Could you please explain how to compile or use the pre-build modules for the kernel 4.9.0-3-marvell ? I'm trying to understand how to make it work since some days, but get lost in the so much howtos I found all over the Internet ...
Many thanks in advance,
Best regards,
Jean
It works fine as it is, but for some uses it is preferrable to run over an encryptet connection.
Has anyone had any luck in getting this to work over an ssh tunnel?
on-server# ssh -R 3240:localhost:3240 client-ip
on-client# usbip -l localhost ; # Works ok
on-client# usbip -a localhost x.y ; # Works ok
on-client# usbip -p ; # lists port 00 as "initializing"
Probing and connecting directly works as expected.
invalid record in the preferences file /etc/apt/preferences no package header