Den, skrevDaniel Llewellyn <email@example.com>:
> On Tue, Nov 29, 2011 at 22:18, firstname.lastname@example.org> wrote:
> > In fact (I just tested this) I can even ping 22.214.171.124, which is a
> > google.com IP address. pinging www.google.com does *not* work however. And
> > wget www.google.com gets stuck at "Resolving www.google.com..."
> that sounds suspiciously like your linux "box" doesn't know about your
> dns resolver. Check /etc/resolv.conf for lines like:
> nameserver 192.168.1.1
Thanks! I had my computer on another LAN a week or so ago. On that LAN I had to change my network settings to DHCP. The DHCP client must have overwritten my resolv.conf! I didn't know it did that, I just made the connection because of what was in my resolv.conf file. This weekend after installing VirtualBox and then starting coLinux and finding that I couldn't reach the internet I just updated /etc/network/interfaces since I didn't know/remember resolv.conf
Putting "nameserver 192.168.0.254" in resolv.conf fixed my problems
Henry and Daniel, thank you both for your help!