Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

USB Printing in VE

1 byte added, 10:40, 29 November 2008
no edit summary
**** check with <code>ls -l lp0</code> if the new device is '''IDENTICAL''' to the one in HN --> <code>crw-rw---- 1 root lp 180, 0 Nov 27 13:51 lp0</code>
** go back to /dev and create a symlink to the printer device: <code>ln -s /dev/usb/lp0 /dev/usblp0</code>
** create all the needded needed directories:
*** <code>mkdir /dev/bus</code>
*** <code>mkdir /dev/bus/usb</code>
*** <code>mkdir /dev/bus/usb/008</code>
** swith switch to /dev/bus/usb/008 directory and create there the needed devices: one for the usb port and one for the printer
*** <code>mknod 001 c 189 896</code>
*** <code>mknod 005 c 189 900</code>
***<code>crw-rw-r-- 1 root usb 189, 896 Nov 27 13:29 001</code>
***<code>crw-rw-r-- 1 root usb 189, 900 Nov 27 13:30 005</code>
* '''Doublechek Doublecheck everything!'''
* Now edit your VE_NUMBER.conf adding this line: <code>DEVICES="c:180:0:rw c:189:896:rw c:189:900:rw"</code>
** These are the devices replicated in the VE with mknod.
13
edits