[ale] OT?: Slow web access
Randy C. Ramsdell
rramsdell at adelphia.net
Wed Jul 27 10:47:01 EDT 2005
On Wed, 2005-07-27 at 10:40 -0400, Jeffrey B. Layton wrote:
> Good morning,
> I'm not sure if this is off-topic, so I apologize if it is.
> I've got a CentOS 4.0 box that sits behind a wireless
> router, but I have the box networked to the router using
> a cable (haven't learned wireless on Linux yet :) ).
> When I go to a website, it takes a long time and I get
> the 'Resolving Host' message at the bottom of the
> browser window. The Windows boxes that are connected
> to the router via wireless never really see this problem.
> I've disabled iptables on the box using chkconfig (first
> thought that popped into my head). Internally the wireless
> router is 192.168.0.1. My CentOS box is 192.168.0.8
> and I set the GATEWAY to 192.168.0.1. I also checked
> resolv.conf and it looks like,
> nameserver 192.168.0.1
Are you sure your gateway is also your nameserver?
> and the main part of nsswitch.conf looks like,
> passwd: files
> shadow: files
> group: files
> hosts: files dns
> but /etc/hosts does not have 192.168.0.1 in it, only localhost
> and the box.
> Any ideas why I have such a delay?
You don't really need your gateway to be in /etc/hosts unless, of
coarse, your system needs name lookup for the gateway.
More information about the Ale