[UPDATED]sick and tired of freebsd resolving problems

Mikko Työläjärvi mbsd at pacbell.net
Sat Aug 28 19:17:50 PDT 2004


On Sun, 29 Aug 2004, horio shoichi wrote:

> On Thu, 26 Aug 2004 21:34:55 -0500 (CDT)
> "Jorge Mario G." <murcielako at 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


More information about the freebsd-questions mailing list