Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2004 19:17:47 -0700 (PDT)
From:      =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net>
To:        freebsd-questions@freebsd.org
Cc:        murcielako@yahoo.com
Subject:   Re: [UPDATED]sick and tired of freebsd resolving problems
Message-ID:  <20040828191134.E64041@sotec.home>
In-Reply-To: <20040829.015232.213f2878d02a5c02.10.0.3.20@bugsgrief.net>
References:  <200408261239.59617.algould@datawok.com> <20040827023455.13333.qmail@web50301.mail.yahoo.com> <20040829.015232.213f2878d02a5c02.10.0.3.20@bugsgrief.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 29 Aug 2004, horio shoichi wrote:

> On Thu, 26 Aug 2004 21:34:55 -0500 (CDT)
> "Jorge Mario G." <murcielako@yahoo.com> wrote:
>>>>> -----Original Message-----
>>>>> From: Jorge Mario G.
> (snip)
>>>>> the problem is this: I CAN NOT RESOLV
>
> It's amazing this thread lives so long. So far, no new things are found,
> except for corrections of typos, beyond initial vague problem statement.
>
> What you are trying to do is damn simple thing, once it starts running.
> So, you are having dumb simple error somewhere.
>
> Now help us see the most elementary network characteristics of your machine.
>
> 1. Run the following script. Run it to the complesion, whatever happens.
>   Just copy and paste your input and the machine responce.
>   Don't try add anything, don't try remove anything, don't try change anything.
>
> % cat checknet.sh
> #!/bin/sh
> echo "0=$0"
> set -x
> ifconfig -a
> netstat -rn
> traceroute 216.136.204.21
> traceroute freebsd.org
> echo "done"
> %
>
> 2. Run the following script for at least four seconds but not
>   more than sixteen seconds.
>   Just copy and paste your input and the machine responce.
>   Don't try add anything, don't try remove anything, don't try change anything.
>
> % cat checkping.sh
> #!/bin/sh
> echo "0=$0"
> set -x
> ping 216.136.204.21
> echo "done"
> %
>
>
> 3. Run the following script. Run it to the complesion, whatever happens.
>   Just copy and paste your input and the machine responce.
>   Don't try add anything, don't try remove anything, don't try change anything.
>
> % cat checkresolver.sh
> #!/bin/sh
> echo "0=$0"
> set -x
> nslookup freebsd.org
> nslookup freebsd.org 200.13.224.8
> echo "done"
> %
>
> 4. Finally, if any change in /etc/hosts or /etc/resolv.conf, cat them.
>   Just copy and paste your input and the machine responce.
>   Don't try add anything, don't try remove anything, don't try change anything.
>
>
> If you still haven't found yourself what's wrong during those checkings,
> post the input and output.

You forgot:

  5. Run "ipfw list" (must be root)

and

  6. Run "tcpdump -n udp port 53" at the same time as "ping www.freebsd.org",
     for example in different windows (must be root to run "tcpdump").

    $.02,
    /Mikko



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040828191134.E64041>