Tuesday, February 11, 2014

Ubuntu can't get on the internet

http://answers.yahoo.com/question/index?qid=20090501233741AAN97hi 

Okay connects to lan. check. 
has local IP address... check. 
can't connect to internet... 


ping google.com
PING google.com (173.194.33.130) 56(84) bytes of data.
64 bytes from sea09s17-in-f2.1e100.net (173.194.33.130): icmp_req=1 ttl=54 time=12.0 ms

try this in a browser: 

http://173.194.33.130

Got Google? 
The problem is in your DNS settings. 
try this: open a terminal and type: 
sudo cp /etc/resolv.conf /etc/resolv.conf.bak 
(password) 
sudo echo "nameserver 208.67.222.222" > /etc/resolv.conf 
sudo echo "nameserver 127.0.0.1" >> /etc/resolv.conf 
sudo /etc/init.d/networking restart

No comments: