Eleanor McHugh wrote: > On 29 Mar 2007, at 20:33, Mike Cook wrote: >> /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 test.rb:3 > > You need to specify the interface to listen on. For example: > > en0_listener = Pcaplet.new('-s 1500 -i en0') > > which on my Mac will listen on en0. > > > Ellie > > Eleanor McHugh > Games With Brains > ---- > raise ArgumentError unless @reality.responds_to? :reason Ellie, Thanks for your quick reply, your solution worked like a charm. I was following a Ruby/Pcap tutorial from Arstechnica.com and they didn't make any mention of specifying the interface. -Mike -- Posted via http://www.ruby-forum.com/.