Running vers. 13.10. Over a WiFi connection to a home ADSL router, DHCP. All working fine for 1 week after new Ubuntu installation. Try connecting to the internet, being told pages not available. WiFi access and other connected devices (this Android tablet for example) are fine. Checked ufw firewall (disabled) and tried pinging a few ip addresses without any joy. Subsequently, logged on the ubuntu laptop using the guest account,fired up Firefox and connected and was able to surf happily....for about 5 mins then same thing.Now unable to connect using either my account (with chrome) or the guest account with Firefox. All other household devices using the same internet connection are all fine. cat /etc/resolv.conf shows: # Dynamic resolv.conf ( 5 ) file for glibc resolver( 3 ) generated by resolvconf(8)....# DO NOT EDIT etc...nameserver 127.0.1.1 search domain.name
1 Answer
To be sure is dns problem type host google.com if you get no answer with ip address try host google.com 8.8.8.8 If you got answer with ip address, you probably have no configured DNS parameters.
You can use nm-tool to see DNS servers
ifconfig
and make sure that you have a correct IP address If your "IP" and "gateway" are OK then try 'ping 8.8.8.8'route -n
; if your gatway is not listed trysudo route add default gw 192.168.1.1
or simply your router IP thensudo /etc/init.d/networking restart
to apply the changes