Slow Wifi, Problem Solved- Ubuntu 10.04, 10.10

1. The Debian Avahi (nss-mdns) Bug
There is a known bug doing the rounds in Debian based distros, this includes Ubuntu.
The problem is in the nsswitch.conf file where wins mdns causes a slowdown of DNS resolution on some machines.
https://bugs.launchpad.net/ubuntu/+s…ahi/+bug/94940
A simple workaround for this problem is to remove mdns4_minimal entry from the nsswitch.conf file, or change mdns4_minimal to just mdns4 (whichever works best for you):
Edit this file- /etc/nsswitch.conf
Scroll down to the entry which says:
hosts: files dns wins mdns4_minimal
and delete the mdns4_minimal entry. (I removed wins as well), s it looks like this:
hosts: files dns
2. Check your DNS in resolv.conf
You should only have two entries (usually) which are your Internet Service Provider’s DNS servers.
Check and/or edit your dns servers:
gksudo scite /etc/resolv.conf
It should look something like this:
search my.isp.com
nameserver 4.4.2.2
nameserver 4.4.2.4
You may have an extra IP address there, possibly your router (192.168.1.1), and if you haven’t got dns servers configured in your router config, this may cause a problem/slowdown as well. EG:
search my.isp.com
nameserver 192.168.1.1
nameserver 4.4.2.2
nameserver 4.4.2.4
Just remove the first one and leave the two ISP DNS server IP’s.

original link http://ubuntuforums.org/showthread.php?t=1487039&page=2

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s