apt
.I mean linux-tools not working "out of box" with PVE kernel, need to install packages for this specific kernel.I once tried using usbip where Proxmox host was the server and a VM the client and it worked fine (over vmbr0). Just install the usbip packages usingapt
.
I have not yet tried it with an external computer being the server and a unprivileged container being the client (with drivers loaded on the Proxmox host).
What do you mean with "generate linux-tools for PVE kerne
Thanks for your support. I'm having this issue:It's is old but i post here the commands to make usbip working on pve:
apt install pve-kernel-$(uname -r) pve-headers-$(uname -r) autoconf build-essential libudev-dev libwrap0-dev libtool-bin pkg-config libsysfs-dev libglib2.0-dev
cd /usr/local/src
wget https://sourceforge.net/projects/usbip/files/usbip/0.1.7/usbip-0.1.7.tar.gz/download
mv download usbip-0.1.7.tar.gz
tar xvfz usbip-0.1.7.tar.gz
cd /usr/local/src/usbip-0.1.7/src/
./autogen.sh
./configure
make install
ln -s /usr/local/lib/libusbip.so.0 /usr/lib/
depmod -a
modprobe vhci_driver
modprobe usbip-core
modprobe usbip-host
echo "vhci-hcd" >> /etc/modules
echo "usbip-core" >> /etc/modules
echo "usbip-host" >> /etc/modules
## List local usbs
usbip list -l
## List remote usbs
usbip list -r <ip remote>
##Attach remote usb
usbip attach -r <ip remote> --busid 1-1.1
## List attached usbs
usbip port
## Detach a remote connected usb
usbip detach -p 0
We use essential cookies to make this site work, and optional cookies to enhance your experience.