Hi all,
I have one question to bother you that I would like to make the Wifi
node working as promiscuous mode so that I could enable the node
capture each packet it hears on the air.
I think currently the default
mode is non-promiscuous mode. How could I change it to promiscuous
mode?
I know in Node.cc I found this
device->SetReceiveCallback (MakeCallback
(&Node::NonPromiscReceiveFromDevice, this));
I simply changed the line to
device->SetReceiveCallback (MakeCallback
(&Node::PromiscReceiveFromDevice, this));
because Node::PromiscReceiveFromDevice is already there....
but it couldn't be compiled.
Anybody did the same case before? I will appreciate you so much if you
could offer me any hint about that...
Thanks!
Regards,
Bin