From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 13:40:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C59F0106566B for ; Tue, 14 Dec 2010 13:40:38 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 986358FC08 for ; Tue, 14 Dec 2010 13:40:38 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id oBEDeae1010475; Tue, 14 Dec 2010 07:40:36 -0600 (CST) Date: Tue, 14 Dec 2010 07:40:36 -0600 (CST) From: Robert Bonomi Message-ID: <201012141340.oBEDeae1010475@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, vic@yeaguy.com Cc: Subject: Re: pls help.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2010 13:40:38 -0000 > From owner-freebsd-questions@freebsd.org Tue Dec 14 05:45:55 2010 > Date: Tue, 14 Dec 2010 01:54:26 -0800 (PST) > From: "Justin V." > To: freebsd-questions@freebsd.org > Subject: pls help.. > > Hi, > > I am having a very difficult time understanding what is going on with this > FreeBSD machine.. > > I was having inet trouble so i put in a new router on my network (home > network).. > > I have a FreeBSD machine on my network: > > FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 > PDT 2010 vic@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 > > > I have windows machines on my network.. > > > One of my windows machines is my laptop and I connect directly to the > router via WIFI without any trouble at all... I can browse any website > without complaint. > > My FreeBSD system connects to my WIFI router just fine as well.. I am > seeing troubles browsing the inet with my FreeBSD machine (Xorg and > opera) Pulling up Google.com can take up to 30s.. Without reading any further, this simply =reeks= of being a DNS problem. (99.999998792+% of all "30+ seconds to something over the net" problems are timeout issue. :) I suspect: a) the new router is not using the same 'local network' adddress as the old one was, This is not a total show stopper, because everyting 'local' is using DHCP to get both the local machine address _and_ the router address. b) you have a DNS server address hard-coded in the /etc/resolv.conf file. (the old router and new router are providing DNS proxy services on *different* addresses, and wyat you have hard-coded is the -old- address) c) your FBSD machine is trying to query the hard-coded DNS server address _first_, and when it gets no response, it *eventually* (ie. after 30 seconds) tries the 'second' DNS server address it has, which is the one learned by DHCP -- that works, the name resolves, and the page loads. On a WORKING windows box click "Start->Run", and type 'ipconfig/all' in the box, to see what it is using for a DNS server. Check '/etc/resolv.conf' on your FreeBSD box, and see if it lists a *different* address on a 'namemserver' line.