tcpdump mailing list archives

Re: tcpdump problem with DAG card


From: Guy Harris <guy () alum mit edu>
Date: Wed, 9 Jan 2008 15:17:23 -0800


On Jan 9, 2008, at 2:04 PM, lei wei wrote:

I'm trying to get tcpdump work with DAG interface. I installed the
dag-enabled libpcap0.9.8 and tcpdump3.9.8 on a FreeBSD5.4 system. When I typed "tcpdump -i dag0", it gives me the error "tcpdump: BIOCSETIF: dag0: Device not configured". Could anyone give me any hint on what the problem
is?

The problem is that the libpcap being used by tcpdump isn't DAG- enabled for some reason; it's trying to attach to adapter "dag0" using BPF, not using the DAG code.

Is HAVE_DAG_API set in config.h in the source directory for the libpcap you built? If so, what does "ldd" print when you run it on the tcpdump you built?
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: