<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body dir="auto">
<div>Just a clarification, this error seems to be related to OpenSSL (see the details in the redmine issue).  We do not know how to fix this, and would appreciate help from anyone familiar with raspberry pi.</div>
<div><br>
</div>
<div>Lan</div>
<div><br>
On Apr 29, 2015, at 2:44 PM, Ashlesh Gawande (agawande) <<a href="mailto:agawande@memphis.edu">agawande@memphis.edu</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi<br>
</p>
<p><br>
</p>
<p>I got the same error on raspberry pi while trying to run NLSR and have filed a bug report. We are looking into it.<br>
</p>
<p><a href="http://redmine.named-data.net/issues/2780" id="LPlnk576263">http://redmine.named-data.net/issues/2780</a><br>
</p>
<p><br>
</p>
<p>Regards<br>
</p>
<p>Ashlesh<br>
</p>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Nfd-dev <<a href="mailto:nfd-dev-bounces@lists.cs.ucla.edu">nfd-dev-bounces@lists.cs.ucla.edu</a>> on behalf of Mahyuddin Husairi <<a href="mailto:mahyuddin@gmail.com">mahyuddin@gmail.com</a>><br>
<b>Sent:</b> Monday, April 13, 2015 5:05 PM<br>
<b>To:</b> Lan Wang (lanwang)<br>
<b>Cc:</b> <a href="mailto:nfd-dev@lists.cs.ucla.edu">nfd-dev@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [Nfd-dev] NLSR failed to connect with NFD in Banana Pro (Raspbian OS)</font>
<div> </div>
</div>
<div>
<div dir="ltr">Glad to hear that. <br>
I think, implementing NDN on any arm chip and/or other embedded should be taken seriously by us to increase the adaptation of NDN. My research is related to mesh network on mobile device (im using BananaPro to represent wireless mobile device) and my hypothesis
 that by using NDN based dynamic routing, it will solve reliability, stability and energy efficiency issues facing by point to point based routing. Of course to develop my own dynamic routing implementation, NLSR is my starting point to understand how to do
 routing in NDN. Instead doing simulation which i've done it through ndnsim2, i want to evaluate NDN dynamic routing in real world/testbed. But it seems that i stuck with unknown problem. </div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Apr 14, 2015 at 4:50 AM, Lan Wang (lanwang) <span dir="ltr">
<<a href="mailto:lanwang@memphis.edu" target="_blank">lanwang@memphis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div style="word-wrap:break-word">Someone has tried Raspberry Pi, but also had a problem.  We'll test NLSR in the lab with RPi's.  Maybe it'll help understand your problem as well.
<div><br>
</div>
<div>Regarding the "ERROR: error while connecting to the forwarder", it is generated by ndn-cxx (NLSR uses ndn-cxx to connect to the forwarder).  
<div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word">
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word">
<span style="border-collapse:separate; border-spacing:0px">
<div style="word-wrap:break-word"><br>
Lan</div>
</span></div>
</div>
</div>
<br>
<div>
<div>On Apr 13, 2015, at 3:01 PM, Mahyuddin Husairi <<a href="mailto:mahyuddin@gmail.com" target="_blank">mahyuddin@gmail.com</a>></div>
<div> wrote:</div>
<div>
<div class="h5"><br>
<blockquote type="cite">
<div dir="ltr">Thanks for a reply.<br>
1. Thanks for the explanation. Im aware that NLSR is communicating with NFD by using unix socket and we can change that to use tcp tunnel (unicast) by changing configuration inside client.conf but the same problem occur.
<div>2. I tried both stable and latest version from github.<br>
3. There is no problem during compilation (ndn-cxx, NFD and NLSR), except some assembler warning message<br>
    /tmp/ccAiTF1c.s: Assembler messages:</div>
<div>    /tmp/ccAiTF1c.s:23842: Warning: swp{b} use is deprecated for ARMv6 and ARMv7</div>
<div>    /tmp/ccAiTF1c.s:24348: Warning: swp{b} use is deprecated for ARMv6 and ARMv7<br>
5. Is there anybody already tried running both NFD and NLSR on any single board computer(SBC) such as Raspberry Pi or Banana Pi?</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Apr 13, 2015 at 10:53 PM, Lan Wang (lanwang) <span dir="ltr">
<<a href="mailto:lanwang@memphis.edu" target="_blank">lanwang@memphis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
<div style="word-wrap:break-word">
<div>Not sure what's the problem.  Just some info and </div>
<div><br>
</div>
- Somehow NLSR has difficulty getting connected with NFD.  It needs to send Interest and receive Data through that face.  If I understand correctly, they use UNIX socket to connect by default (and there's a default file name corresponding to the UNIX socket
 in the NFD configuration).   
<div><br>
</div>
<div>- Where did you download NLSR?  The GitHub version <a href="https://github.com/named-data/NLSR" target="_blank">
https://github.com/named-data/NLSR</a>  is the latest.  Were there any warnings or problems during the compile and installation?<br>
<div>
<div style="font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word">
<div style="font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word">
<span style="border-collapse:separate; border-spacing:0px">
<div style="word-wrap:break-word"><br>
Lan</div>
</span></div>
</div>
</div>
<br>
<div>
<div>On Apr 13, 2015, at 5:06 AM, Mahyuddin Husairi <<a href="mailto:mahyuddin@gmail.com" target="_blank">mahyuddin@gmail.com</a>></div>
<div> wrote:</div>
<br>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">I just successfully compile and install ndn-cxx, NFD and NLSR on Banana Pro (design and produced by LeMaker -
<a href="http://www.lemaker.org/" target="_blank">http://www.lemaker.org/</a>).<br>
<br>
I can run NFD as usual and create face and register prefix using nfdc. After that i run several test using ndn-tlv-ping and ndn-traffic and everything is run smoothly.<br>
<br>
The problem is, when i run NLSR, it will simply throw error message "ERROR: error while connecting to the forwarder" even though NFD is running. In nlsr log file it is just simply throw the same error message "ERROR: error while connecting to the forwarder".
 Something like below<br>
<br>
<br>
20150413175010040 DEBUG: [HelloProtocol] Scheduling HELLO Interests in 10 seconds
<div>20150413175010047 DEBUG: [nlsr] Process daemonized. Process id: 14975</div>
<div>20150413175010053 FATAL: [Main] ERROR: error while connecting to the forwarder</div>
<div>20150413175010057 DEBUG: [Fib] Fib::clean called</div>
<div><br>
</div>
<div><br>
</div>
<div>Seems like it will crash once NLSR start to setup Hello protocol schedule. So, because of lack of details in NLSR log message i tried strace to run NLSR and the output from strace are something like this<br>
<br>
<br>
</div>
<div>
<div>gettimeofday({1428918610, 40666}, NULL) = 0</div>
<div>write(10, "20150413175010040 DEBUG: [HelloP"..., 82) = 82</div>
<div>clock_gettime(CLOCK_MONOTONIC, {367502, 38604022}) = 0</div>
<div>clock_gettime(CLOCK_MONOTONIC, {367502, 39270498}) = 0</div>
<div>clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb4cbc288) = 14975</div>
<div>gettimeofday({1428918610, 47614}, NULL) = 0</div>
<div>write(10, "20150413175010047 DEBUG: [nlsr] "..., 70) = 70</div>
<div>close(9)                                = 0</div>
<div>close(10)                               = 0</div>
<div>ERROR: error while connecting to the forwardermunmap(0xb6f5a000, 8192)                = 0</div>
</div>
<div><br>
<br>
I'm using the same NFD and NLSR configuration setup that i successfully run on my ubuntu desktop. Is that related to libboost_random (boost library version is 1.49) or probably because Banana Pro is not using real hardware clock? I'm just clueless.<br>
<br>
<br>
</div>
-- <br>
<div>Human knowledge Belongs to The World</div>
</div>
</div>
</div>
_______________________________________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>Human knowledge Belongs to The World</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">Human knowledge Belongs to The World</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>