Hello all, my first post. I have been searching the internet for days to solve this but cannot. My post should display the amount I have tried myself before reaching out for help.
I have a Proxmox VE host/node. For simplicity purposes I just want a single LXC container that has a working USB printer, that can then be shared across the entire network.
Getting the USB port shared across is the problem.
Proxmox host: pve-manager/8.2.2/9355359cd7afbae4
container template: ubuntu-24.04-standard_24.04-2_amd64.tar.zst
Printer : Brother HL-2130
On the Proxmox Host:
lsusb : Bus 003 Device 002: ID 04f9:003f Brother Industries, Ltd HL-2130 series
ls /dev/bus/usb/003/002 -l : crw-rw-r-- 1 root lp 189, 257 May 17 11:13 /dev/bus/usb/003/002
nano /etc/pve/lxc/101.conf
+ lxc.cgroup.devices.allow: c 189:257 rwm
+ lxc.mount.entry: /dev/bus/usb/003/002 dev/bus/usb/003/002 none bind,optional,create=file
save file, and reboot container.
On the LXC container :
lsusb : Bus 003 Device 002: ID 04f9:003f Brother Industries, Ltd HL-2130 series
ls /dev/bus/usb/003/002 -l : crw-rw-r-- 1 nobody nogroup 189, 257 May 17 03:13 /dev/bus/usb/003/002
The container printer drivers dont test print, and i notice that the owner group and user are nobody and nogroup
I have no idea what to do now.
Any thoughts or suggestions?
I have a Proxmox VE host/node. For simplicity purposes I just want a single LXC container that has a working USB printer, that can then be shared across the entire network.
Getting the USB port shared across is the problem.
Proxmox host: pve-manager/8.2.2/9355359cd7afbae4
container template: ubuntu-24.04-standard_24.04-2_amd64.tar.zst
Printer : Brother HL-2130
On the Proxmox Host:
lsusb : Bus 003 Device 002: ID 04f9:003f Brother Industries, Ltd HL-2130 series
ls /dev/bus/usb/003/002 -l : crw-rw-r-- 1 root lp 189, 257 May 17 11:13 /dev/bus/usb/003/002
nano /etc/pve/lxc/101.conf
+ lxc.cgroup.devices.allow: c 189:257 rwm
+ lxc.mount.entry: /dev/bus/usb/003/002 dev/bus/usb/003/002 none bind,optional,create=file
save file, and reboot container.
On the LXC container :
lsusb : Bus 003 Device 002: ID 04f9:003f Brother Industries, Ltd HL-2130 series
ls /dev/bus/usb/003/002 -l : crw-rw-r-- 1 nobody nogroup 189, 257 May 17 03:13 /dev/bus/usb/003/002
The container printer drivers dont test print, and i notice that the owner group and user are nobody and nogroup
I have no idea what to do now.
Any thoughts or suggestions?
Last edited: