CD/ DVD reader/ writer support in Virtual guest OS

macamba

Well-Known Member
Mar 8, 2011
85
5
48
In my physical server I have a [FONT=&quot]LG GH22NS30 S-ATA CD/ DVD reader/ burner combo installed. But in the virtual guest OS (in this case Windows XP Pro) it only recognizes it as a reader. Anyone suggestions to also add it as a burner/ recorder?

Further I also have a USB-based networkcard, i.e. Alfa [/FONT]
AWUS050NH, connected to the host. Should I add this somewhere to the Proxmox configuration so that in becomes available to my BackTrack guest OS?
 
i think you should add it via pci_add but i tested it many times but never woked, for me.

Fot the usb... You could use

lsusb and get the infos and then add to the config file

hostusb: theID


example

lsusb on my machine
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

i add the 1rst device to the VM:

hostusb: 0627:0001

stopped and started the VM

et voilà....

Diaolin
 
Where donyou perform the commands?
PCI_add on the host I assume?
lsusb in the guest/ virtual machine?
 
Re: CD-DVD reader-writer support / USB wireless adapter support in Virtual guest OS

Hi Diaolin,

I have still not been successful in adding my [FONT=&quot]Alfa [/FONT]AWUS050NH in my BackTrack 4 R2 guest OS hosted on KVM.

If I issue lsusb on the KVM host I get the following info:
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 0781:5151 SanDisk Corp. Cruzer Micro Flash Drive
Bus 004 Device 002: ID 148f:2770 Ralink Technology, Corp. RT2770 Wireless Adapter
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04fc:05d8 Sunplus Technology Co., Ltd Wireless keyboard/mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

If I issue lsusb within my BackTrack 4 R2 guest I get the same info as you do:
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

You say that I have to 'hostusb: 0627:0001' to the config file.
Which config file do you mean (location) and do you mean within the virtual guest or on the host?

If I have done the above is it than possible to use the wireless card with aircrack-ng installed within my backtrack virtual guest?

Or is it with KVM still only possible to bridge the connection of the host making it unable to use with aircrack within virtual guest. I read that somewhere in another OLD post on this forum.
 
Re: CD-DVD reader-writer support / USB wireless adapter support in Virtual guest OS

in the /etc/qemu-server/ID.conf add a line like this

hostusb: 148f:2770

save the file
and

qm shutdown ID
qm start ID

then retest lsusb on the backtrack itself...

Ciao, Diaolin
 
Thanks Diaolin! My Alfa AWUS050NH works now in my Backtrack virtual machine!
 
For people also searching:
The path to Proxmox v2 config files is:

/etc/pve/qemu-server

And the config style syntax is also changed:
usb0: host=yyyy:xxxx
usb1: host=xxxx:yyyy
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!