Snort mailing list archives

Re: ERROR: OpenPcap() device em0 open


From: "prabu" <prabu333 () hotpop com>
Date: Fri, 10 Sep 2004 09:36:02 +0530

Hello Matthew,


router# /usr/local/bin/snort -c /usr/local/etc/snort.conf -i em0
Running in IDS mode
Log directory = /var/log/snort

Initializing Network Interface em0
ERROR: OpenPcap() device em0 open:
>       (no devices found) /dev/bpf0: Device not configured
Fatal Error, Quitting..

It seems that ur kernel jave not build with bpf support.So better enable it by following these steps; The Berkeley Packet Filter (bpf) driver needs to be enabled before running programs that utilize it. Add this to your kernel config file and build a new kernel:

   pseudo-device bpfilter # Berkeley Packet Filter

Secondly, after rebooting you will have to create the device node. This can be accomplished by a change to the /dev directory, followed by the execution of:

   # sh MAKEDEV bpf0


Is the problem related to GigE and libpcap, or have I done something
else wrong during the compile?  What can be done to fix the issue?

Not relavant to libpcap.It is because,ur kernel doesnot support bpf.


Cheers,
Prabu.S








---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.756 / Virus Database: 506 - Release Date: 9/8/2004



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: