0

I always have so much trouble with networking in Virtualbox. I just created an Ubuntu 14.04 Virtualbox instance under Windows 10. I'm using the default NAT configuration.

enter image description here

I appear to be connected based on icon at top right, but can't reach the internet.

enter image description here

Edit: My interfaces file is:

auto eth0
iface eth0 inet dhcp
8
  • What happen if you use the bridged connector? It should be simpler to be setup. Can you post the content of your /etc/resolve.conf file? thx
    – lese
    Dec 18, 2015 at 22:41
  • nameserver 129.0.1.1. So, I'm not even trying to install yet. I'm just doing the live disk "Try Ubuntu" at this point. I'd rather get the networking thing worked out before installing.
    – abalter
    Dec 18, 2015 at 23:28
  • Is is not connected or just unable to resolve names? can you ping 8.8.8.8 for example? Dec 19, 2015 at 1:38
  • That pings. As does localhost.
    – abalter
    Dec 19, 2015 at 4:19
  • 1
    Did you try to switch to bridged connector? It will automatically assign to your VM an ipaddress "compatible" with your LAN, currently it seems you are using a privat IP address, that I guess don't match with your LAN gateway and netmask
    – lese
    Dec 19, 2015 at 9:46

1 Answer 1

1

As you cant ping www.google.com but you can ping 8.8.8.8, it seems like you cant resolve domain names. You should try different DNS-server. Try 8.8.8.8 and 8.8.4.4 DNS-servers. Using bridged connection mode can also help.

1
  • I had tried bridged connector, but not even able to connect to the card (no up and down arrows). So I tried specifying the wireless card rather than the ethernet card in the network configuration, and now it works!
    – abalter
    Dec 19, 2015 at 18:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .