Subject: Re: tcpdump ont netbsd/mac68k?
To: Capt Avram Dorfman <dorfman@pentagon.mil>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 12/14/1997 16:16:37
Capt Avram Dorfman wrote:
> 
> Does anyone know if tcpdump is supposed to work? Has anyone gotten it
> to work on netbsd/mac68k?
> 
> When I run it, it can't find /dev/bpf0 (because it isn't there). Is
> there supposed to be a bpf device by default? Or do I have to
> create it myself? Or is it just not supported in netbsd/mac68k?

if you do a:

cd /dev
sh MAKEDEV all

it should create it.  I don't think it's created by default (i.e. by the
Installer.
 
> I tried installing the newest tcpdump & libpcap. They compiled w/ no
> errors, but when I ran tcpdump, it said "this system does not 
> support live packet capture."

Hmmmm.....

> I'm running netbsd 1.2 on an SE/30, w/ Asante PDS ethernet card.

Oh!  I don't think that the packet filter stuff was turned on by default
in the 1.2 kernel, although I think it's available on the system.  You
might want to grab a copy of the kernel source and enable that option
(there is an options line as well as the bpf pseudo-device you need to
add).  

> I'd appreciate any help...

Of course, the easiest thing to do is install NetBSD 1.3.  It includes bpf
support in the kernel by default (although I think you'll still need to
make the bpf device).  I used tcpdump last week, and it worked just fine
for me.

I hope this helps.

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.