I'm running VirtualBox on a Windows 7 Host, with an Ubuntu Linux guest OS.
I'm trying to set up Samba on Linux to access a folder (/home/user) from the Windows host as a share - which I believe SHOULD be possible, but having trouble getting it to work. I am aware of the Share Folder option of VirtualBox but I specifically need to get this done using Samba.
I installed Samba (
apt-get install samba sambafs) and set up
/etc/smbd.conf with a share
[usershare] path = /home/user read only = no browseable = yes
Not worried about securing it by user just yet - want to get it working first.
I set up two network adapters in VirtualBox - one NAT so I can get to the Internet for apt-get and stuff, one Host-Only hoping that will let me access the Ubuntu guest from the host only. (Hence the lack of immediate concern over user-level security.)
Now, I can see an IP for the Host-only network in Windows, and tried to access it in the Windows Explorer - a blank window comes up and I don't see anything. The IP looks like 169.254.127.xxx. If I put in
\\169.254.127.xxx\usershare it hangs for a while and fails.
How do I troubleshoot this?
Is this likely a networking config problem or a Samba problem?