From: David Rio Date: 2008-10-28T03:40:04+09:00 Subject: Re: Problems with Pcacp Library ------=_Part_81632_29140145.1225132332005 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sun, Oct 26, 2008 at 12:44 PM, Protos Jack wrote: > Hi! > > I want to work with the pcap library, and I installed libpcap and pcap > library in Ubuntu, but when I try a code, there is an error: > > /usr/lib/ruby/1.8/pcaplet.rb:51:in `lookupdev': no suitable device found > (Pcap::PcapError) > from /usr/lib/ruby/1.8/pcaplet.rb:51:in `initialize' > from httpsniff.rb:4:in `new' > from httpsniff.rb:4 > > I searched but i didnt find what to do (I've already required the > library...) > Do you have any interface available that the library can use to sniff from? If so, be sure you run your script as root. If still doesn't work post the code your are trying to run. -drd ------=_Part_81632_29140145.1225132332005--