*BSD News Article 51945


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!jraynard.demon.co.uk!usenet
From: james@jraynard.demon.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: /dev/bpf0 not configured
Date: 28 Sep 1995 23:20:24 GMT
Organization: Private FreeBSD Site
Lines: 21
Message-ID: <JAMES.95Sep28232024@jraynard.jraynard.demon.co.uk>
References: <44e4rb$ao7@kudu.ru.ac.za>
NNTP-Posting-Host: localhost.jraynard.demon.co.uk
X-NNTP-Posting-Host: jraynard.demon.co.uk
In-reply-to: ccam@kudu.ru.ac.za's message of 28 Sep 1995 14:35:55 +0200

>>>>> In article <44e4rb$ao7@kudu.ru.ac.za>, ccam@kudu.ru.ac.za (Andile Mbatyoti) writes:
>> 
>> I try to run tcpdump as root I get the reply
>> /dev/bpf0: divice not configured. But /dev/dpf0 file is there.

This means that your kernel does not contain a driver for the BPF
pseudo-device. Add the line

pseudo-device   bpfilter        4       #Berkeley packet filter

to the config file and re-compile (see FAQ for details).

BTW if the device file /dev/bpf0 was missing, the error would have been 

tcpdump: /dev/bpf0: No such file or directory.

Regards
James
--
"If English was good enough for Jesus, it's good enough for me!"