USB printer inside VE [message #27140] |
Mon, 11 February 2008 03:52 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
kierse
Messages: 5 Registered: February 2008 Location: Canada
|
Junior Member |
|
|
Hi everyone,
I'd like to setup a print server (using CUPS) inside of a VE to access a USB printer thats connected to the HN. I've added the printers device node (/dev/usb/lp0) to the VE with the following comand:
vzct set 777 --devnodes usb/lp0:rw
and verified that it does appear in the VE's config file
When setting up the printer from within the CUPS web interface, the printer is correctly identified and listed in the list of supported/available devices. Unfortunately, after completing the setup, I am unable to print to the device. I don't see any errors on screen nor in any of the CUPS log files. What I do see is the following alert:
"Printer not connected; will retry in 30 seconds..."
The device node appears in the VE as /dev/usb/lp0 (same as the HN) and I seem to have both read and write permission as I can cat and echo the device without error. I've checked that the usb printing module (usblp) is compiled and loaded before attempting to use the printer.
I've come across a wiki posting (http://wiki.openvz.org/Printing_in_VE_with_Debian_stable) and a forum posting ( http://forum.openvz.org/index.php?t=msg&th=1350&#msg _7649) indicating that printing from within a VE is supported. Is there something I need to know or do in order to get USB printing working? Is running a CUPS server supported?
Thank,
Kierse
|
|
|
|
|
|
|
|
|
Re: USB printer inside VE [message #33179 is a reply to message #27140] |
Fri, 26 September 2008 17:36 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
kenjy
Messages: 50 Registered: July 2008 Location: Mexico
|
Member |
|
|
VE= Virtual environment (your virtual machine)
HN= Hardware Node (your physical machine)
Reading the user guide and the wiki should help you to understand and to learn to work with openvz.
http://kenjy.net |Live net !!!
|
|
|
|
|
Re: USB printer inside VE [message #33751 is a reply to message #33715] |
Sat, 08 November 2008 10:55 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
Tenyo
Messages: 5 Registered: November 2008
|
Junior Member |
|
|
Hi all!
I've started using openvz 1 month ago... wonderful project!
Same problem here... (with openvz 2.6.26 compiled from git)
Cups doesn't show the usb printer (an epson epl-6200l in my case).
I've used the same procedure successfully used in other VEs before:
1. created the the devices with mknod identical to the ones in the HN
2. exposed the devices in the VE
This worked perfectly in an MythTV and in an MPD VE, but not in this one.
[Updated on: Sat, 08 November 2008 12:00] Report message to a moderator
|
|
|
|
|
|
|