I am using a filter string to catch only the probe-request frames from my wifi router working in monitor/Promisc mode.

the same string i.e. "type mgt subtype probe-req" is working when i am running my code on a laptop but on my linksys WRT54g its giving error that

cannot pcap_compile() function is not working.

To be more explanatory, I am using OpenWRT White Russian 0.9 firmware on my router and its equivalent SDK to build package for it. The program uses Libpcap library to capture raw packets from the network.

So I want to know that is there any change in the string format while working on embedded devices like a router. If yes can you suggest me where I can find the documentation for it. If no that what's wrong I am doing.

(Last edited by patiyal.manish on 7 Mar 2014, 08:01)