I had Ubuntu 11.10 previously with no connection issues. I reformatted (I didn't upgrade) and installed Ubuntu 12.04.
Now web pages take a long time to start loading. When I visit google.com it can take up to 10 seconds before it starts loading. Once it starts loading, it loads very quickly. The same goes with all other websites.
I've tried several suggestions I've found online with no success.
I've tried disabling dnsmasq as suggested here: http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/
I've tried setting my DNS servers to google's open dns: 220.127.116.11 and 18.104.22.168.
Anyway, here is some info about my system:
$ cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 #NetworkManager#iface eth0 inet dhcp dns-nameservers 22.214.171.124 126.96.36.199
$ nm-tool ... - Device: eth0 [Wired connection 1] ------------------------------------------- Type: Wired Driver: e1000e State: connected Default: yes HW Address: 5C:26:0A:1D:E6:57 Capabilities: Carrier Detect: yes Speed: 1000 Mb/s Wired Properties Carrier: on IPv4 Settings: Address: 10.40.113.139 Prefix: 24 (255.255.255.0) Gateway: 10.40.113.1 DNS: 188.8.131.52 DNS: 184.108.40.206