/dev/bpf* & tcpdump

/dev/bpf* & tcpdump

Post by Leslie Schaef » Mon, 10 Jul 1995 04:00:00



Hi Guys

can anyone tell me if the standard FreeBSD 2.0 and NetBSD 1.0 kernels
have the needed drivers for tcpdump compiled into them. I've made the
devices (/dev/bpf*) and called the prog. - only to receive the error
message "device not configured".

The progs are part of the binary releases, so I expected the kernel
to support them. Do I have to compile two new kernels?

Help much appreciated, Les


 
 
 

/dev/bpf* & tcpdump

Post by Lutz Alber » Tue, 11 Jul 1995 04:00:00



writes:

-
-Hi Guys
-
-can anyone tell me if the standard FreeBSD 2.0 and NetBSD 1.0 kernels
-have the needed drivers for tcpdump compiled into them. I've made the
....
to support them. Do I have to compile two new kernels?

Yes. For FreeBSD look in the LINT kenel config file. These are by
default disabled.

ciao
  lutz

---------------------------------------------------------------------
Lutz Albers, Luederitzstr. 14    |           And you ?  You're no one
81929 - Muenchen, FR Germany     |          And you ?  You're falling
phone: +49-89-933 404            |       And you ?  You're travelling
fax: +49-89-929 46 75            |   Travelling at the speed of light.

http://www.muc.de/~lutz          |

Do not take life too seriously, you will never get out of it alive.

 
 
 

/dev/bpf* & tcpdump

Post by J Wuns » Tue, 11 Jul 1995 04:00:00



>can anyone tell me if the standard FreeBSD 2.0 and NetBSD 1.0 kernels
>have the needed drivers for tcpdump compiled into them. I've made the
>devices (/dev/bpf*) and called the prog. - only to receive the error
>message "device not configured".

They don't.  You need to rebuild a kernel with

pseudo-device bpf 4 # <-- >= the number of network interface you've got

tsch?,
--

                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)