*BSD News Article 59554


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!ix.netcom.com!netnews
From: mlwillia@ix.netcom.com (Michael Williams)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Configuring the BPF option?
Date: Sat, 13 Jan 1996 16:18:51 GMT
Organization: Netcom
Lines: 26
Message-ID: <4d8m2e$ao@ixnews2.ix.netcom.com>
NNTP-Posting-Host: ix-gra1-07.ix.netcom.com
X-NETCOM-Date: Sat Jan 13  8:19:26 AM PST 1996
X-Newsreader: Forte Agent .99b.112

I've seen  many references to recompilng the kernel with the "BPF"
option.  For give my ignorance but is that done by simply adding a
line like?:

options		BPF		#Berkeley Packet Filter

Assuming the above is correct, I added the option to my kernel and
recompiled.  Afterr I reboot the machine and try "tcpdump" it gives me
the message "/dev/bpf0: No such file or directory".  So....I tried
doing a "MAKEDEV /dev/bpf0" which worked, but only resulted in the
error "/dev/bpf0: device not configured" when I tried "tcpdump again".

Any ideas on how to get this working?


One other thing, why is it that I cannot execute an executable that is
not located in my path....I would think as long as I am in the
directory with the executable is located that it would work?  For
example, in order to run MAKEDEV  (located in /dev) I had to change my
path to include /dev.  I'm sure it's something I've set wrong, but....

Thanks to all that answer!!
Mike Williams
mlwillia@ix.netcom.com