kohler / click

The Click modular router: fast modular packet processing and analysis
Other
735 stars 322 forks source link

test-ping-userlevel.click on VM #420

Closed f0rm2l1n closed 5 years ago

f0rm2l1n commented 5 years ago

I try to learn click through easy example in conf And now I successfully get through three test.click but got trouble in test-ping-userlevel.click My environment is Ubuntu Virtual Machine 14.04 with kernel 4.4.0-31 Each time I try to run this program it returns with

./conf/test-ping-userlevel.click:22: While configuring 'FromDevice@1 :: FromDevie':
bad Method
Router could not be initialized!

Can anybody give more details about this error? Thanks a lot!!

tbarbette commented 5 years ago

The default method of that file is PCAP. Did you configure and compiled with libpcap-dev installed ?

f0rm2l1n commented 5 years ago

Cool, after installing it with apt-get now I can run with PCAP method =) While still confused about why it show 100% received packets while 0 bytes result =(