[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Squeeze - Can't connect to wireless router

On Mon, Jun 21, 2010 at 12:26 AM, Otto <ottoteixeira@ig.com.br> wrote:
> It started working magically. I don't know how, but suddenly network manager
> found all networks around and connected sucessfully.
> Now I have a strange problem. Everytime I want to connect to something -
> doesn't matter if it's web, APT, IRC, IM, ping or anything, it takes a while
> (several seconds) trying to resolv the address, like if the DNS is very
> slow. After that it goes normally.
> It's normally with any other distro or OS.

you can use namebench[1] to find better dns servers.
> Doing a quick google search I found many complaints about that in Squeeze.
> One suggests adding 'options single-request' to /etc/resolv.conf. This is
> it: http://www.mail-archive.com/debian-user@lists.debian.org/msg560847.html

single-request does not appear in the resolv.conf man page. i'm not
sure if it's supported in debian.

> But isn't that file overwritten automatically?

yes,  /etc/resolv.conf is overwritten regularly. resovleconf is the
recommanded way to manage /etc/resolv.conf.

also consider setting up a local cache with dnsmasq. it's pretty light-weighted.

[1]: http://code.google.com/p/namebench/


Reply to: