Hello,
Recently i've started using proxmox on a optiplex as a homeserver, and i'm absolutely loving it!
Ran in several newbie issues, but was able to resolve them by searching, trail & error, and learning on the way.
My optiplex running proxmox is based in my basement.
I have one unpriviliged container for my hackrf, for example to receive ads-b and plot it live on a map.
The issue was, since my optiplex is in the basement,obviously verry bad reception of rf signals.
Since, i mounted my hackrf togheter with a raspberry pi in a bird house outside my house.
The plan was to use usbip to mount my hackrf on the raspberry pi to the proxmox host.
So far so good, i can mount my hackrf to my proxmox host with usbip.
I can use my hackrf in my unprivileged container by including lxc.mount.entry /dev/bus/usb/xxx/xxx in the container conf file, and then to chown 100000:100000 /dev/bus/usb/xxx/xxx.
Each time i have to this manually, like before when the hackrf was directly connected to the proxmox host.
(udev rules don't seem to work with hackrf, i can find the device in the container using udev rules, but libhackrf can't 'talk' to the device.)
Now my question, usbip uses 2 kernel modules on the client (proxmox host) side, usbip-core and vhci-hcd.
I've tried to mount the hackrf directly in the unprivileged container with usbip, but ran into issues with both above mentioned modules.
Is there any way i can let the unprivileged container uses these exact 2 modules, so i can mount my hackrf directly in the container with usbip?
Thank u
Recently i've started using proxmox on a optiplex as a homeserver, and i'm absolutely loving it!
Ran in several newbie issues, but was able to resolve them by searching, trail & error, and learning on the way.
My optiplex running proxmox is based in my basement.
I have one unpriviliged container for my hackrf, for example to receive ads-b and plot it live on a map.
The issue was, since my optiplex is in the basement,obviously verry bad reception of rf signals.
Since, i mounted my hackrf togheter with a raspberry pi in a bird house outside my house.
The plan was to use usbip to mount my hackrf on the raspberry pi to the proxmox host.
So far so good, i can mount my hackrf to my proxmox host with usbip.
I can use my hackrf in my unprivileged container by including lxc.mount.entry /dev/bus/usb/xxx/xxx in the container conf file, and then to chown 100000:100000 /dev/bus/usb/xxx/xxx.
Each time i have to this manually, like before when the hackrf was directly connected to the proxmox host.
(udev rules don't seem to work with hackrf, i can find the device in the container using udev rules, but libhackrf can't 'talk' to the device.)
Now my question, usbip uses 2 kernel modules on the client (proxmox host) side, usbip-core and vhci-hcd.
I've tried to mount the hackrf directly in the unprivileged container with usbip, but ran into issues with both above mentioned modules.
Is there any way i can let the unprivileged container uses these exact 2 modules, so i can mount my hackrf directly in the container with usbip?
Thank u