M
Mike Cook
Hello,
I'm trying to prototype using Ruby for a networking class that I'm
taking, and I need to be able to use libpcap. I found 'pcaplet' and
have been trying to get set up with that, but when trying to execute the
following line:
$network = Pcaplet.new('-s 1500')
I get the following error:
/usr/lib/ruby/1.8/pcaplet.rb:51:in 'lookupdev': no suitable device found
(Pcap:capError)
from /usr/lib/ruby/1.8/pcaplet.rb:51:in 'initialize'
from test.rb:3
I'm running on Ubuntu 6.10 under Microsoft Virtual PC 2007 as I don't
have Linux installed directly on my laptop.
Thanks in advance,
-Mike
I'm trying to prototype using Ruby for a networking class that I'm
taking, and I need to be able to use libpcap. I found 'pcaplet' and
have been trying to get set up with that, but when trying to execute the
following line:
$network = Pcaplet.new('-s 1500')
I get the following error:
/usr/lib/ruby/1.8/pcaplet.rb:51:in 'lookupdev': no suitable device found
(Pcap:capError)
from /usr/lib/ruby/1.8/pcaplet.rb:51:in 'initialize'
from test.rb:3
I'm running on Ubuntu 6.10 under Microsoft Virtual PC 2007 as I don't
have Linux installed directly on my laptop.
Thanks in advance,
-Mike