On my laptop, I'm running Ubuntu 9.10 under WinXP using VirtualBox 3.1.2. I want a setup where:
- The guest can freely access the internet.
- The host can access the guest files via Samba.
- The setup must work whether or not my ethernet/wifi ports are connected.
Is it possible?
#1 works with NAT and bridged networking.
#2 works with bridged and host-only networking.
Bridge-based setup doesn't work if relevant physical port is not connected. At the office, the laptop is connected to wifi or ethernet. At home, wifi only.
Is there a workaround? Am I missing anything? I hope I'm making my question clear.
My smb.conf is:
[global] interfaces = eth1 security = user [testsh] path = /home/my_user_name guest ok = yes browseable = yes read only = noAnd my interfaces are:
– Amelio Vazquez-Reina Mar 17 '11 at 15:41eth0: inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 eth1 :192.168.56.101 Bcast:192.168.56.255 Mask:255.255.255. Any thoughts?eth1as host-only, andeth0as NAT. I tried accessing and mounting\\10.0.2.15\testhand\\192.168.56.101\testhfrom the host OS (Windows), but I receive no response. – Amelio Vazquez-Reina Mar 17 '11 at 15:47