Network sharing

Discussions about using Windows guests in VirtualBox.
Post Reply
wheybags
Posts: 5
Joined: 18. Feb 2010, 21:21
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7, xp

Network sharing

Post by wheybags »

When I run a windows VM on my linux server , or on my win7 PC, I can see the guest in the network, but it is inaccesible. How can I make it accessible?
Thanks.
dmcgraw
Volunteer
Posts: 808
Joined: 24. Jun 2008, 17:16
Primary OS: Ubuntu 8.10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Ubuntu 9.10
Location: St. Louis, MO, USA

Re: Network sharing

Post by dmcgraw »

You need to give more details about what you are trying to do.

Like:

Host Specifications
Guest Settings
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Network sharing

Post by Perryg »

Use Bridged mode.
See Chapter 6. Virtual networking of the VirtualBox Users Guide
wheybags
Posts: 5
Joined: 18. Feb 2010, 21:21
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7, xp

Re: Network sharing

Post by wheybags »

Thanks. I tried that, but it still tells me I cannot connect from other computers on the LAN. It says I don't have permission.
EDIT: Host is Linux Mint, guest is win7.

EDIT2: Nvm, got it fixed, thank you very much for the help, you solved a long outstanding problem.
wheybags
Posts: 5
Joined: 18. Feb 2010, 21:21
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7, xp

Re: Network sharing

Post by wheybags »

WAIT!
Sorry ;p
I can connect to the VM from any computer on the lan now, and can access its fileshares, and the guest can do the same, with one exception: the printer connected to the host os (LInux Mint 8).
It can see shared printers on other machines on the lan, but not the one connected to its host. Any ideas?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Network sharing

Post by Perryg »

If the host is Linux you would need to put the username in the lp group
If it is Windows then you need to make sure it is shared and that the firewall will allow it.
wheybags
Posts: 5
Joined: 18. Feb 2010, 21:21
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7, xp

Re: Network sharing

Post by wheybags »

Host is Linux, but I'm not sure what you mean by lp group.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Network sharing

Post by Perryg »

lp is the printer group.
type id in a terminal and see if the logged in user is part of the lp group. If not then add the user to the lp group.
Is the printer a USB printer?
wheybags
Posts: 5
Joined: 18. Feb 2010, 21:21
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7, xp

Re: Network sharing

Post by wheybags »

No, it's an old parallel printer.
EDIT: This is the ouput I get from id.
uid=1000(wheybags) gid=1000(wheybags) groups=4(adm),20(dialout),24(cdrom),46(plugdev),104(lpadmin),115(admin),120(sambashare),122(vboxusers),1000(wheybags)
Post Reply