OpenVZ Forum


Home » General » Support » Samba Printer on USB within a container (How to link a container to the USB printer)
Re: Samba Printer on USB within a container [message #37492 is a reply to message #37491] Thu, 17 September 2009 03:24 Go to previous messageGo to previous message
rewnz is currently offline  rewnz
Messages: 3
Registered: September 2009
Location: New Zealand
Junior Member
I got the /dev/usb/lp0 showing up in the CT using
vzctl set 103 --devnodes usb/lp0:rw --save

here is the result from lsusb:

[CODE][root@openvz 001]# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 009: ID 04f9:01ab Brother Industries, Ltd MFC-240C
Bus 001 Device 008: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 0000:0000
/CODE]

and doing ls -l in /dev/bus/usb/001

[root@openvz 001]# ls -l
total 0
crw-r--r-- 1 root root 189, 0 Sep 16 14:35 001
crw-r--r-- 1 root root 189, 7 Sep 17 11:31 008
crw-r--r-- 1 root root 189, 8 Sep 17 11:31 009


so I tried

vzctl set 103 --device c:189:0:rw --device c:189:7:rw --device c:189:8:rw --save

but I couldn't see any change in the 103 container.




 
Read Message
Read Message
Read Message
Read Message
Previous Topic: VEs in more than one subnet/with more than one NIC
Next Topic: Add additional eth1 interface to CT for sniffing traffic
Goto Forum:
  


Current Time: Mon Oct 07 21:19:20 GMT 2024

Total time taken to generate the page: 0.05430 seconds