<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Not sure if my answer is too late.<div><br></div><div>There is a known issue with some NetDevices.  The simplest way to "fix" the problem is to apply the following patch to model/<a href="http://ndn-net-device-face.cc">ndn-net-device-face.cc</a></div><div><br></div><div>========================================================================</div><div><div><div>diff --git a/model/<a href="http://ndn-net-device-face.cc">ndn-net-device-face.cc</a> b/model/<a href="http://ndn-net-device-face.cc">ndn-net-device-face.cc</a></div><div>index eb2b357..a140aca 100644</div><div>--- a/model/<a href="http://ndn-net-device-face.cc">ndn-net-device-face.cc</a></div><div>+++ b/model/<a href="http://ndn-net-device-face.cc">ndn-net-device-face.cc</a></div><div>@@ -89,7 +89,7 @@ NetDeviceFace::RegisterProtocolHandlers (const InterestHandler &interestHandler,</div><div>   Face::RegisterProtocolHandlers (interestHandler, dataHandler);</div><div><br></div><div>   m_node->RegisterProtocolHandler (MakeCallback (&NetDeviceFace::ReceiveFromNetDevice, this),</div><div>-                                   L3Protocol::ETHERNET_FRAME_TYPE, m_netDevice, true/*promiscuous mode*/);</div><div>+                                   0, m_netDevice, false/*promiscuous mode*/);</div><div> }</div><div><br></div><div> void</div></div><div>========================================================================</div><div><br></div><div>The more complex way is to define custom NetDeviceFaceCallback.</div><div><br></div><div>---</div><div>Alex</div><div><br></div><div><div>On Jul 11, 2014, at 4:39 AM, Nour El Houda Ben Youssef <<a href="mailto:NourElHouda.BenYoussef@oxia-group.com">NourElHouda.BenYoussef@oxia-group.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="FR" link="blue" vlink="purple" style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">Dear all<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US">I’ve been trying to use ndnSIm over a power line communication infrastructure<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US">To do so I used a PLC module for NS3 (<a href="http://www.ece.ubc.ca/~faribaa/ns3_plc_software.htm" style="color: purple; text-decoration: underline;">http://www.ece.ubc.ca/~faribaa/ns3_plc_software.htm</a>)  that I’ve been using with TCP/IP<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US">I wrote the joined script simulation which is working with TCP stack but when I try ndnSIM with the same infrastructure no data is received by the consumer<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US">Please help<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;"><span style="font-size: 12pt; font-family: Arial, sans-serif; color: rgb(34, 34, 34);">Nour El Houda Ben Youssef Koubaa<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;"><span style="font-size: 12pt; font-family: Arial, sans-serif; color: rgb(34, 34, 34);">Doctorante Mobidoc - OXIA/SAGE<br>Mastère nouvelle génération des systèmes d'informations - FST<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;"><span style="font-size: 12pt; font-family: Arial, sans-serif; color: rgb(34, 34, 34);">Ingénieur Génie Logiciel - INSAT<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div></div><span><<a href="http://ndnPLC.cc">ndnPLC.cc</a>></span>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" style="color: purple; text-decoration: underline;">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" style="color: purple; text-decoration: underline;">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a></div></blockquote></div><br></div></body></html>