On 2003-01-31 16:44, Stephen D. Kingrea [EMAIL PROTECTED] wrote:
using 4.7 on a gateway designated machine (ipfw/natd) serving 3
wstations.
www#tcpdump -i dc0 ###in fact, any interface
tcpdump: (no devices found) /dev/bpf0: Device not configured
Check that you have the following in your kernel config:
$ grep -i bpf /usr/src/sys/i386/conf/GENERIC
# The `bpf' device enables the Berkeley Packet Filter.
device bpf # Berkeley packet filter
$
Then make sure you have proper device nodes created in /dev by
running (further down in your post you mentioned that you *do* have a
/dev/bpf0 node, so this part is already done on your setup).
# cd /dev
# sh MAKEDEV bpf0 bpf1 [...]
now, i read somewhere that kernel must be compiled with option
PACKETFILTER, however; workstation running 4.7 with generic kernel
runs tcpdump perfectly.
There is no PACKETFILTER kernel option afaik. When you want to know
what options are available and how to enable them for your kernel you
should consult the files GENERIC and LINT in /usr/src/sys/i386/conf.
- Giorgos
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message