Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!noc.near.net!news.mathworks.com!news.kei.com!ub!galileo.cc.rochester.edu!ceas.rochester.edu!ceas.rochester.edu!not-for-mail From: iyengar@galaxy.ee.rochester.edu (Manu Iyengar) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Getting tcpdump to work with the BPF Date: 7 Aug 1995 17:16:49 -0400 Organization: University of Rochester, School of Engineering Lines: 27 Message-ID: <405vs1$ito@galaxy.ee.rochester.edu> NNTP-Posting-Host: galaxy.ee.rochester.edu I'm probably missing something obvious here, but... Box: FreeBSD 2.0.5 Ethernet Card: Intel EtherExpress 16 (ix0) I added the following line to my kernel conf and recompiled: pseudo-device bpfilter 8 # Berkeley packet filter That should enable the BPF. However, on trying to run tcpdump: grunthos-19:07-[~]-18 % tcpdump tcpdump: ix0: Device not configured Hmm... grunthos-19:07-[~]-20 % ifconfig ix0 ix0: flags=63<UP,BROADCAST,NOTRAILERS,RUNNING> mtu 1500 inet xxx.yyy.zzz.42 netmask 0xffffff00 broadcast xxx.yyy.zzz.255 (IP octets hidden) The bpf0 device seems to be there: crw-rw-rw- 1 root wheel 23, 0 Jul 31 14:24 /dev/bpf0 Would anyone be able to tell me what is missing or not right? Thankee...