in reply to Net::Pcap lookupdev problem

I haven't run your code, but wish to comment something anyway. When I run the Ethereal desktop app in Linux, it also doesn't list the network interfaces/devices, unless running with superuser privileges.

Replies are listed 'Best First'.
Re^2: Net::Pcap lookupdev problem
by gri6507 (Deacon) on Apr 12, 2006 at 14:02 UTC
    Thanks. That was exactly it. Silly me, I forgot about privileges.
      I am running the below program x0004276@wipultra361 /cygdrive/T/gen/perl/activestate/5_8_6_811/site/lib/Net-Pca p-0.04 $ perl pktdump.pl "functions" is not defined in %Net::Pcap::EXPORT_TAGS at pktdump.pl line 4 main::BEGIN() called at /usr/lib/perl5/site_perl/5.8/cygwin/Net/Pcap.pm line 4 eval {...} called at /usr/lib/perl5/site_perl/5.8/cygwin/Net/Pcap.pm lin e 4 Can't continue after import errors at pktdump.pl line 4 BEGIN failed--compilation aborted at pktdump.pl line 4. I have installed the Net::Pcap recently. But when i run the above program it fails. please let me know if this is a privilage problem or the installation is not complete. please help. I have used cygwin