tcpdump mailing list archives
Re: error
From: Guy Harris <guy () alum mit edu>
Date: Thu, 3 Jul 2003 01:37:29 -0700
On Wed, Jul 02, 2003 at 11:59:10PM -0700, a b wrote:
After installing the libpcap application successfully in Solaris, While executing this application, it results as "no suitable device found" . While executing (run it in Solaris) a "C" program as : ./a.out no suitable device found
Are you running it as root? If not, then libpcap will be unable to open any network devices and will thus be unable to find a suitable device. (The only way to avoid the requirement to run it as root is by changing the permissions or ownership on the "/dev" devices for network interface devices of the type on your machine to let you open them for reading and writing - and even that won't help if you're running in promiscuous mode, as it appears that, at least on some recent versions of Solaris, you have to be root to run in promiscuous mode.) - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- error a b (Jul 03)
- Re: error Guy Harris (Jul 03)