Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a weird problem. Here is my configuration.

I installed VirtualBox on Windows 7 PC.

I installed Ubuntu 10.04 on VirtualBox.

I installed many programs via terminal and I can still install. My browser can connect to internet.

But I cannot ping any website e.g. google.com. I cannot download anything from git.I can only ping 192.168.1.1 that is all.

What would be the reason guys?

UPDATE

I can ping with another internet connection which I use in office.

share|improve this question

migrated from stackoverflow.com Nov 18 '11 at 4:09

This question came from our site for professional and enthusiast programmers.

1  
I assume your firewall on Windows is not blocking outgoing connections? – Septagram Nov 17 '11 at 6:34
    
misleading title, probably better to ask this in virtualbox forum. can you switch to a bridged network in virtualbox? – marinara Nov 17 '11 at 8:17
    
this question should be moved to somewhere like SuperUser – DallaRosa Nov 17 '11 at 9:08
    
As I said above I can connect internet through web browser, even apt-get install works on terminal. But I cannot ping any website. – HamdiKavak Nov 17 '11 at 14:33

You haven't specified a valid nameserver. Check your network configuration and /etc/resolv.conf.

share|improve this answer
up vote 0 down vote accepted

I figured out that my router was preventing it. I reset it and now using WEP instead of WPA2.

share|improve this answer

You must log in to answer this question.

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