Networking :: How To See Host Only Folder From Guest
Feb 2, 2009
My Windows guests see my VMware Host Only folders as \.hostShared Folders. But when I try to see them from a Linux guest, all I get is frustrated. No permutation of that seems to work. Because the Windows guests see the shared folders I know the host is doing its part in providing them. After two days of not finding an answer on the VMware Workstation forum I finally figured out that the problem really is how to look for them with Linux. With Linux I can turn off all NICs accept the Host Only NIC, put smb://172.16.138.1 into the address bar and see all the shares on the host, but not the folder designated as the host only folder. How to look for the shares with Linux?
I have a Win7 laptop with the latest version of VirtualBox installed. It's a dual core proc with ram to spare. So, I installed Slack64-13.1 and it rocks! I'm really impressed that Slack is running at what appears to be native speed, but in virtual machine. Hardware response is normal, WIFI and LAN are both working great for my normal tasks.So, I downloaded a few much needed patches, and new ISO image for one of my old desktop PCs. Now, my problem is I can't connect my USB cdwriter to my virtual slackware or share folders in the Win7 install with the virtual slackware. I read a few of tutorials on the Oracle VBox website, and several of the ones here on LQ, and none of them seem to solve my problems.
I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox. I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and need more information on how to proceed.
So far, I managed to set up two network adapters (one NAT and one host-only) and to install Samba on the Linux guest, but I have the following questions now: What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories) Are there any Samba commands that I need to run on the guest to enable sharing? How do I make sure that these folders are only available to the host OS and not on the Internet? Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?
I have installed Red Hat Eterprise Linux as a Guest OS using VirtualBox on the Host OS Windows XP SP 2 on my PC. I want to access my local / intranet web site from this Guest OS which is running on the top of on Windows XP, the Host OS. I am not sure as to what IP Settings I need to do. Though I am able to access Internet from both the OSes. The IP of this Guest OS is:
I have installed Microsoft Self Loop Adapter (Autoconfiguration IP Address: 169.254.25.129) on the Host OS Windows XP. There is another adapter: VirtualBox Host-Only Network whose IP Address is: 192.168.56.1. So, how can we access intranet web site from the Host OS to Guest OS and vice versa. I also want to access this virtual Red Hat machine /console from within windows XP using PUTTY application. From Windows XP the Red Hat machine is pinging. But when I use the IP to access the machine through PUTTY it doesn't work.
My Windows guests see my VMware Host Only folders as \.hostShared Folders But when I try to see them from a Linux guest, all I get is frustrated. No permutation of that seems to work. Because the Windows guests see the shared folders I know the host is doing its part in providing them. After two days of not finding an answer on the VMware Workstation forum I finally figured out that the problem really is how to look for them with Linux. With Linux I can turn off all NICs accept the Host Only NIC, put smb://172.16.138.1 into the address bar and see all the shares on the host, but not the folder designated as the host only folder.
I have VMWare on a notebook, guest Windows running on Linux host. The network in that virtual machine is configured as NAT. I want to share/transfer files from Linux (host) to Windows (guest). So I leave sshd always running on the notebook, I go into Windows and run an SSH/SFTP program. My Wifi router has address 192.168.1.1, my desktop has address 192.168.1.2 and my notebook has address 192.168.1.3. On the notebook, that SSH/SFTP program connects to 192.168.1.3 (i.e. the notebook itself) and everything works fine. But it's a notebook, and when I leave home with it, 192.168.1.3 is no longer accessible. How can I let the guest OS connect to the host OS when I'm away from my Wifi network?
how to connect OS "ubuntu 9:10" as the host, with Qemu as a guest.?I can not connect from the host to geust, how to connect??I use Samba to connect the host to the guest.I was able to ping from guest to host, but from host to guest can not ping .. why?
I am running VMware workstation on a Linux host and WinXP guest using NAT. I have shared a folder on WinXP, and I am able to mount it on the linux host with: mount -t smbfs -o username=Administrator,password=mypasswd //192.168.100.129/Shared /mnt/tmp This works fine. However, I want to mount the same folder from a different linux machine (not the host).
I added port forwarding in /etc/vmware/vmnet8/nat/nat.conf: [incomingtcp] #445 = 192.168.100.129:445
If I run: mount -t smbfs -o username=Administrator,password=mypasswd //external_ip_number/Shared /mnt/tmp
I am getting: mount error 112 = Host is down Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
It doesn't work even if I try the above command from the linux host itself. It only works if I use the internal IP number. I suspect vmware is not forwarding port 445 but I am not sure how to verify it. I am not running smbd on the linux host, in case that make any difference. I didn't think that was required because the server is really on the WinXP and the linux is just a client.
I'm looking for a SIMPLE solution for printer sharing. I have an HP printer attached to my Linux host (prints fine from there). I want my XP box to be able to use this printer as well. I can ping my XP box from my Linux box (and vice versa), and the XP box has the HP print driver installed.When I go into my XP box and try to add a printer, I click "A network printer or a printer attached to another computer", then "Connetc to a printer on the Internet or on a home office network" and enter my printer.I'm using the printer name as show in CUPS. I also tried it without port 631. Either way, I get an error message saying "Windows cannot connect to the printer. Either the printer name was typed incorrectly or the specified printer has lost its connection to the server.
I'm trying to ssh into a virtual installation of ubuntu I have, named "ubuntu-x86" but I can't get it to work for some reason. I have two network cards, both assigned to NAT, on the virtual machine, but one has a static IP address, while the other uses DHCP. For some reason, the command:
I've set up ubuntu server 10.04 x64 with kvm and bridged networking and installed win server 2008 as a guest os. The guest os has full access to the network including lan/wan but the host os can only reach my lan and not the wan. This is true even when the guest machine is powered off?I have to admit that my knowledge of networking, particularly with respect to linux is very flakey but surely if the guest has internet access this should also apply to the host? My only suggestion is an issue with mac addresses but i don't know where to start. Has anybody ran into this problem before?
Recently I've been unable to load web pages, hosted on my Ubuntu Guest in Apache, from my OSX Host. In fact, I can no longer even ping the Guest OS from the Host. In the past, when I did ifconfig on the Guest, I got an IP of 10.0.1.n. Now I'm getting 10.0.2.15--the default NAT Address. The thing is, I didn't change any settings recently. What I did do is run software update for OSX, Ubuntu, and updated VirtBox.
why I can no longer access my Guest OS from my Host? I spent hours on this last night, to no avail. What would cause the Guest IP to change from 10.0.1.n to 10.0.2.15? As I say, I manually made no config changes.
Debian Testing host, Winduhs XP guest. Winduhs is not allowed to directly access The Internets, and I am not setting up bridging as that makes it possible for the guest to mount layer 2 attacks on the LAN. I need for the guest to tunnel through the host without being able to see anything on the host, so it can then get access to The Internets, while being protected by iptables (Shorewall).
Used to be with VMware I had host-only set and the guest in a different class c (192.168.2.1) from the host (192.168.1.1) I turned on ipforwarding, set Shorewall rules, and it all worked. Now I have everything set with VirtualBox, and it does not work. Guest can ping its interface but not host. Host can ping vboxnet0. Host is supposed to masquerade guest's 192.168.2.1 through to the default out at 192.168.1.1, but it's not. I think a clue is in routing, but I don't know what's wrong.
OpenSUSE installed in a Virtualbox Virtual Machine and I want to set a shared folder.
1 - Set up a Virtual Machine and install OpenSUSE 11.2
2 - Create a shared folder on host (HostFolder)
3 - Setup the shared folder in Virtualbox Via the Virtual Machine details or via Devices > Shared Folders...
4 - Install dependencies for running the Virtualbox installer You need to install the right development kernelpackage for your machinetype (use 'zypper search -i kernel' to see what's installed) sudo zypper make gcc kernel-source kernel-hosttype/default-devel
5 - Run the Virtual Machine and go to Devices > Guest Additions This mounts an iso image in your OpenSUSE guest.
6 - Open a root terminal and run
cd /usr/src/linux make oldconfig && make prepare && make scripts && make dep cp ../linux-obj/$HOSTTYPE/default/Module.symvers . make prepare
* A commenter on previously mentioned thread says this step is unnecessary but it doesn't work without on my system. I suggest trying step 7 first and returning to step 6 if that fails. *
7 - Run ./VirtualboxLinux yourhosttype .run from the mounted iso image.
8 - Create shared folder in OpenSUSE (GuestFolder)
9 - Test with sudo mount -t vboxsf HostFolder /home/user/GuestFolder It works? Great! Let's set up the system so it automounts for your regular useraccount instead of root-only access.
10 - Add this line to /etc/fstab HostFolder /home/user/GuestFolder vboxsf defaults,uid=1000,gid=1000 0 0
11 - It works for me but if it still doesn't automount after a reboot; sudo mount -a
host is windows 2003 server 64-bit guest is ubuntu 9.04 server 64bit Qemu : 0.11.1 Qemu manager: 7.0
from Qemu manager, if network card is using User Networking, it's a NAT and I can see that Guest Ubuntu has an ip address 10.0.2.15 and is able to access the internet. However, as Guest ubuntu is running server so I want to do use Tap networking and I assue with Tap, the Guest ubuntu will get an ip address which is in the same subnet as host machine by dhcp. so from Qemu Manager 7.0, I changed Network card to be:
NE2000PCI Vlan Number =0 VLAN Type: Tap Networking Mac address: tap0's mac address from host TAP Network Adpator: Tap0
Note that tap0 was created by openvpn. and then fired Ubuntu guest, ifconfig shows no ip address on eth0 (which has the same mac address as Tap0) so the guest Ubuntu has no ip address and can't access public.
i have installed virtualbox on centos , and installed xp as a guest os. my LAN is on 10.200.2.x/24 network inorder to avoid conflict i have given centos ip as 10.200.2.191/24 and a virtual ip 192.168.56.4/24 my gateway is 10.200.2.1 i am able to ping from my guest os to host os the ip address but not the gateway inorder for internet connectivity
I don't want to use image file as disk, but would like to allocate a disk for guest os. say it's /sda6, then do I need install guest os on host os? or can I install while the system is booting and only import a guest os from that? Do I have to mount the disk?
I have VirtualBox v3.1.0 r55467 running on f12 2.6.31.6-162.fc12.i686. The guest is Windows XP SP3. I need to enable bridged mode for the virtual network interface on the guest. Everytime I enable bridge mode the following error occurs.
Quote:
Failed to start the virtual machine Windows XP. Failed to open/create the internal network 'HostInterfaceNetworking-wlan0' (VERR_SUPDRV_COMPONENT_NOT_FOUND). One of the kernel modules was not successfully loaded. Make sure that no kernel modules from an older version of VirtualBox exist. Then try to recompile and reload the kernel modules by executing '/etc/init.d/vboxdrv setup' as root (VERR_SUPDRV_COMPONENT_NOT_FOUND). When I run '/etc/init.d/vboxdrv setup' i get the following compilation error:
Quote:
Stopping VirtualBox kernel module [ OK ] Removing old VirtualBox netadp kernel module [ OK ] Removing old VirtualBox netflt kernel module [ OK ]
[code]....
dmesg gives me nothing. I have scoured the web .. and even asked on #vbox and #fedora cant get.
I have tried a few times already the following procedures: start a new installation (each time, I create a new VBox VM) with the Fedora 12 DVD iso attached to the DVD drive of the VM. I select the default setting, like US english, US keyboard, local time (GMT +8), standard installation ... etc). The installation process had been smooth to the screen the system asking for a reboot after installing something like 1100+ packages. Then I click the reboot button offered. The VM restarted but each and every time, it came up with the following error message:
Booting from local disk... FATAL: INT18: BOOT FAILURE
There was no other error message durint the installation process. It would be very much appreciated if some one can tell me what went wrong and how to solve it. I believe even I try again the same way, it will end up with same result. Is it a software or hardware problem? In case software problem, is it Fedora or VirtualBox?
I have Linux installed on my harddrive, sometimes I run it as the host operating system and sometimes run it as a guest in Windows using VirtualBox. It's a nice ability, I think.
I don't think it's possible with Windows though. Is it because your average distribution includes drivers for everything known to man? Are devices/drivers configured statically in Windows so when somethings changed it breaks?
Is it possible to read the host cpu's temperature from a virtual guest?
(1) Where host = ubuntu desktop and guest = ubuntu server, and
(2) Where host = windows xp and guest = ubuntu server?
Typically I would read the contents of /proc/acpi/thermal_zone/THRM/temperature on host ubuntu desktop. I guess its more tricky when running ubuntu on windows host. What I am trying to do is shutdown guest if host cpu temperature is greater than certain value.
I am using virtualbox 3.2.4 (virtualbox host only network (NAT)) on Windows XP Host and an ubuntu 10.04 guest. Recently installed vsFTPd on ubuntu guest and I am able to FTP from ubuntu to localhost. But when I try from the windows host I got an unknown connect error. I try with anonymous users enabled too.
I'm working in php / mssql project and I'm working on php side. I try VirtualBox to access to mssql from linux. I'm using VirtualBox 3.2.8(Downloaded from VirtualBox website) Hosted On Ubuntu 10.04, and my Guest OS is Windows 7. I followed some tutorials on how to connect from host to guest, but all failed... how to connect from ubuntu (host) to windows 7 (guest)
i am running Ubuntu on my VMWare Workstation. i cant get it work the built in file sharing that comes with VMWare Workstation(by instaling the VMWare tools). but i want to share files between my XP(host) and Ubuntu. i googled this but came up with no good results.
I'm running Ubuntu 10.10 desktop in a VirtualBox VM on a Windows 2008 host machine. The end goal is join the the Ubuntu VM to a Windows 2008 domain. I've downloaded likewilikewise-open_5.4.0.42111-2ubuntu1.2_i386.deb se-open_5.4.0.42111-2ubuntu1.2_i386.deb to get the joining of the VM to the domain. But from this point forward, I'm completely lost.
1) How do I implement this likewise package? 2) How do I get files from my Windows 2008 host to the Ubuntu guest VM?
The likewise file is burned to a DVD. When I try to read the DVD, I get the "My Disk" icon but only one file gets displayed. In other words, the DVD the likewise file is burned to has a ton of files. Ubuntu doesn't see any of them expect one .exe file. The /etc/fstab had no entry for cdrom, so I put a line in that says
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0 rebooted and that didn't do squat. There is no entry /etc/cdrom but there is directory /etc/My Disc. And I suppose that's what gets mounted because I can see one file on that disc. So then I thought, to hell with the DVD drive and I'll just get the Linux guest to see a "shared drive" on the host. I shared out a folder on the host via the Virtualbox "shared folders". But how I get the Ubuntu guest to see this shared folder is as big a mystery to me as is the creation of life.
I have a host with 4 VMs on it. How do I move them to another host? The first host is dying and I want to move the VMs to another host. I tried to copy the files under /vms from one host to another and then copy the files under /etc/libvirt/qemu to the other host. I then ran "virsh" and it does not see them.
pretty comfortable at the command line and in kde. found 2 'supplementary kernel drivers' for virtualbox at slackbuild (thank you heinz!). followed the how-to at slackbuild and built and installed both packages, but additions weren't working. (i thought they were standalone) noticed the 'supplemental' in their description, and so installed the guest additions for linux from vbox site. additions still not working. at this point i start restarting my slackware vm, and redoing everything in various sequences. finally, additions work! but i'm not sure why! critical pieces and sequence for getting guest additions working once i have slackware installed?