howto use printer

Discussions about using Windows guests in VirtualBox.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: howto use printer

Post by vbox4me2 »

$ VBoxManage showvminfo ca9c5649-8b5c-48bf-9490-dc7725451d33
then.
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

Re: howto use printer

Post by docmccoy »

with regular user:

Code: Select all

[docmccoy@Baikal ~]$ VBoxManage showvminfo ca9c5649-8b5c-48bf-9490-dc7725451d33
VirtualBox Command Line Management Interface Version 2.2.4                     
(C) 2005-2009 Sun Microsystems, Inc.                                           
All rights reserved.                                                           

Name:            VisualStudio
Guest OS:        Windows XP  
UUID:            ca9c5649-8b5c-48bf-9490-dc7725451d33
Config file:     /home/docmccoy/.VirtualBox/Machines/VisualStudio/VisualStudio.xml
Memory size:     952MB                                                            
VRAM size:       12MB                                                             
Boot menu mode:  message and menu                                                 
ACPI:            on                                                               
IOAPIC:          off                                                              
PAE:             off                                                              
Time offset:     0 ms                                                             
Hardw. virt.ext: on                                                               
Nested Paging:   off                                                              
VT-x VPID:       off                                                              
State:           powered off (since 2009-06-20T20:39:33.000000000)                
Monitor count:   1                                                                
3D Acceleration: off                                                              
Floppy:          empty                                                            
SATA:            disabled                                                         
IDE Controller:  PIIX4
Primary master:  /home/docmccoy/.VirtualBox/HardDisks/VisualStudio.vdi (UUID: 73060c5c-f146-42de-b75d-dfb7b84afa11)
DVD:             /usr/share/virtualbox/VBoxGuestAdditions.iso (UUID: 52887dd2-12b1-4b43-b66c-bbcc8f644e57)
NIC 1:           MAC: 080027DAE491, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
UART 1:          disabled
UART 2:          disabled
Audio:           enabled (Driver: PulseAudio, Controller: AC97)
Clipboard Mode:  Bidirectional
VRDP:            enabled (Address 0.0.0.0, Port 3389, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
USB:             enabled

USB Device Filters:

Index:            0
Active:           yes
Name:             JetFlash Mass Storage Device [0141]
VendorId:         058F
ProductId:        6387
Revision:         0141
Manufacturer:     JetFlash
Product:          Mass Storage Device
Remote:           no
Serial Number:    5F0R48JH

Shared folders:  <none>

Guest:

Statistics update:                   disabled
and with root:

Code: Select all

[docmccoy@Baikal ~]$ su
Password:
[root@Baikal docmccoy]# VBoxManage showvminfo ca9c5649-8b5c-48bf-9490-dc7725451d33
VirtualBox Command Line Management Interface Version 2.2.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

ERROR: Could not find a registered machine with UUID {ca9c5649-8b5c-48bf-9490-dc7725451d33}
Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "GetMachine (uuid, machine.asOutParam())" at line 1925 of file VBoxManageInfo.cpp
[root@Baikal docmccoy]#
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: howto use printer

Post by baf »

Run this as your normal user NOT root

Code: Select all

VBoxManage showvminfo VisualStudio
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

Re: howto use printer

Post by docmccoy »

Code: Select all

[docmccoy@Baikal ~]$ VBoxManage showvminfo VisualStudio
VirtualBox Command Line Management Interface Version 2.2.4
(C) 2005-2009 Sun Microsystems, Inc.                      
All rights reserved.                                      

Name:            VisualStudio
Guest OS:        Windows XP  
UUID:            ca9c5649-8b5c-48bf-9490-dc7725451d33
Config file:     /home/docmccoy/.VirtualBox/Machines/VisualStudio/VisualStudio.xml
Memory size:     952MB                                                            
VRAM size:       12MB                                                             
Boot menu mode:  message and menu                                                 
ACPI:            on                                                               
IOAPIC:          off                                                              
PAE:             off
Time offset:     0 ms
Hardw. virt.ext: on
Nested Paging:   off
VT-x VPID:       off
State:           powered off (since 2009-06-20T20:39:33.000000000)
Monitor count:   1
3D Acceleration: off
Floppy:          empty
SATA:            disabled
IDE Controller:  PIIX4
Primary master:  /home/docmccoy/.VirtualBox/HardDisks/VisualStudio.vdi (UUID: 73060c5c-f146-42de-b75d-dfb7b84afa11)
DVD:             /usr/share/virtualbox/VBoxGuestAdditions.iso (UUID: 52887dd2-12b1-4b43-b66c-bbcc8f644e57)
NIC 1:           MAC: 080027DAE491, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
UART 1:          disabled
UART 2:          disabled
Audio:           enabled (Driver: PulseAudio, Controller: AC97)
Clipboard Mode:  Bidirectional
VRDP:            enabled (Address 0.0.0.0, Port 3389, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
USB:             enabled

USB Device Filters:

Index:            0
Active:           yes
Name:             JetFlash Mass Storage Device [0141]
VendorId:         058F
ProductId:        6387
Revision:         0141
Manufacturer:     JetFlash
Product:          Mass Storage Device
Remote:           no
Serial Number:    5F0R48JH

Shared folders:  <none>

Guest:

Statistics update:                   disabled


[docmccoy@Baikal ~]$
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: howto use printer

Post by Perryg »

My 2 cents here,
Unless you know a lot about port forwarding you should switch to Bridged mode to make this work for you.
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

Re: howto use printer

Post by docmccoy »

And were is option for Bridged network? I can't find it
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: howto use printer

Post by Perryg »

Network settings in the VirtualBox program.
VM must be shutdown to change settings.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: howto use printer

Post by vbox4me2 »

Thats not going to work either if there is a lan problem, for the OP, check the VM for LAN devices and drivers, or change the NIC selection in the VM Properties inside VBox GUI. If you know what the VM see's you need to download its drivers.
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

Re: howto use printer

Post by docmccoy »

I just added new usb device - Cable Modem of my provider, which is of course connected to PC through usb. So i'm expecting network will appear. But in the network settings of VirtualMachine when choose Bridged Adapter, i can also choose below between 4 options: eth1, pan0, virbr0, eth0. I know that eth0 - my Cable modem interface in the host (or Fedora 11). I assume, that eth1 - my LAN card interface, but i don't know exactly, and what is pan0 or virbr0 for me is unknown. Please, give me an advice what to choose: eth0 or eth1? I think pan0 and virbr are not for my case. On the other side in the VirtualMachine settings there are also NAT, Internal Network and Host-only adapter. Maybe they can help?
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: howto use printer

Post by vbox4me2 »

eth0 would be the one, but... a cable modem is usually fixed for 1 machine/ip, bridge makes the vm act as a second machine and for that you need a router to issue ip's. NAT should work though.
Post Reply