Host accessing guest shares

Discussions related to using VirtualBox on Linux hosts.
Post Reply
tiny2004
Posts: 3
Joined: 22. Aug 2008, 12:08

Host accessing guest shares

Post by tiny2004 »

I have Ubuntu 8.04 installed as the host, Windows 2000 Pro as the guest. Virtualbox is 1.5.6_ose, which was install via Ubuntu's synaptic package manager The guest can access the host shares, but the host can't access the guest shares. Sometimes the host can see the guest shares but not access them. Then other times it can see them. The host only has a wireless network adapter, and it is set to dhcp. The guest is as set to dhcp, and virtualbox is network is set to use nat. Any help would be greatly appreciated.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

What you need is dual communication. To get that, you need to create a Host Interface. It's described in the manual on how to set it up. You don't need the bridge part, as that won't work with wireless and the Guest is not needed to go outside the Host, it has NAT for that. Set the proper IP addresses on both ends manually and you're good to go. Now you can see each others shares and access them.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
miguelongas
Posts: 2
Joined: 23. Aug 2008, 01:54

Re: Host accessing guest shares

Post by miguelongas »

Hello

I tried to use Host Interface but does not work, when setting up the vbox it appears to store the configuration, but when trying to start the VM get this error

Code: Select all

Failed to initialize Host Interface Networking.
VBox status code: -3100 (VERR_HOSTIF_INIT_FAILED).

Result Code: 
0x80004005
Component: 
Console
Interface: 
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
What is the problem?

Thanks
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Problem here is that no one has a crystal bowl to see your configuration.

its your turn. write exact the choosen config.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Read the Forum Posting Guide for help in framing Qs. Google VERR_HOSTIF_INIT_FAILED site:forums.virtualbox.org and follow the links. Do your basic research and come back with a properly formed Q.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Default error for someone who did not read the manual and created a virtual interface.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply