<div dir="ltr"><div><div><div><div><div><div><div><div>Hi Alex,<br><br></div>Thanks for your response. Currently I am using below versions:<br></div>ndn-cxx: version 0.3.4 and version 0.4.0 (tried on both versions)<br></div>nfd: version 0.3.4 and version 0.4.0<br></div>openwrt: CHAOS CALMER (15.05, r46767)<br><br></div>When I tried executing "/usr/bin/ndnsec" I get "not found". <br></div>I have even copied the necessary library files to proper places.<br><br></div>Thanks & Regards,<br></div>Lohith<br><div><div><div><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 16, 2015 at 3:19 PM, Divyashri Bhat <span dir="ltr"><<a href="mailto:dbhat@umass.edu" target="_blank">dbhat@umass.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="word-wrap:break-word">
<br>
<div><br>
<blockquote type="cite">
<div>Begin forwarded message:</div>
<br>
<div style="margin:0px">
<span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgb(0,0,0)"><b>From:
</b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">Alex Afanasyev <<a href="mailto:aa@cs.ucla.edu" target="_blank">aa@CS.UCLA.EDU</a>><br>
</span></div>
<div style="margin:0px">
<span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgb(0,0,0)"><b>Date:
</b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">16 October 2015 at 15:10:58 GMT-4<br>
</span></div>
<div style="margin:0px">
<span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgb(0,0,0)"><b>To:
</b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">Mathias Gibbens <<a href="mailto:gibmat@cs.arizona.edu" target="_blank">gibmat@cs.arizona.EDU</a>><br>
</span></div>
<div style="margin:0px">
<span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgb(0,0,0)"><b>Cc:
</b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif"><<a href="mailto:nfd-dev@lists.cs.ucla.edu" target="_blank">nfd-dev@lists.cs.ucla.edu</a>><br>
</span></div>
<div style="margin:0px">
<span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgb(0,0,0)"><b>Subject:
</b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif"><b>Re: [Nfd-dev] To start NFD on router using OpenWRT: [Issue]</b><br>
</span></div>
<br>
<div>
<div><br>
<blockquote type="cite">On Oct 16, 2015, at 11:30 AM, Mathias Gibbens <<a href="mailto:gibmat@cs.arizona.edu" target="_blank">gibmat@cs.arizona.edu</a>> wrote:<br>
<br>
Hello,<br>
<br>
It's not really clear what the problem is from your screenshot. What<br>
versions of ndn-cxx/nfd and OpenWRT are you running?<br>
<br>
I initially thought maybe the errors are being caused by the scripts<br>
assuming bash was installed on the router (by default OpenWRT uses ash),<br>
since I had run into that a while ago. However, a quick look at the<br>
0.3.4 release of ndn-cxx seems to show that the scripts are now using<br>
the more generic /bin/sh.<br>
<br>
Can you try executing `/usr/bin/ndnsec` directly?<br>
</blockquote>
<br>
One change that happened in 0.3.* is switch from static to shared library.  If you haven't yet, you may need to copy<br>
lib/libndn-cxx*.so to proper places.<br>
<br>
---<br>
Alex<br>
<br>
<blockquote type="cite"><br>
Mathias<br>
<br>
<blockquote type="cite">
<blockquote type="cite">From: Lohith L <<a href="mailto:lohith444@gmail.com" target="_blank">lohith444@gmail.com</a>><br>
Date: October 15, 2015 at 11:27:38 AM MST<br>
To: <a href="mailto:nfd-dev@lists.cs.ucla.edu" target="_blank">nfd-dev@lists.cs.ucla.edu</a><br>
Subject: [Nfd-dev] To start NFD on router using OpenWRT: [Issue]<br>
<br>
Hello,<br>
<br>
We need help in starting up NFD application on router using OpenWRT. We have used the instructions specified in the below link to crosscompile NDN and NFD.<br>
<a href="http://redmine.named-data.net/projects/ndn-embedded/wiki/Cross-compiling_NDN_projects_for_home_routers" target="_blank">http://redmine.named-data.net/projects/ndn-embedded/wiki/Cross-compiling_NDN_projects_for_home_routers</a> <<a href="http://redmine.named-data.net/projects/ndn-embedded/wiki/Cross-compiling_NDN_projects_for_home_routers" target="_blank">http://redmine.named-data.net/projects/ndn-embedded/wiki/Cross-compiling_NDN_projects_for_home_routers</a>><br>
<br>
As a next step, after successful build,<br>
1. copied the binaries to the router. (both NDN and NFD binaries to /usr/bin and libraries to /usr/lib)<br>
2. run 'nfd-start'.<br>
As a result, we could see the error as shown in the attachment.<br>
<br>
We are probably missing some steps on how to copy the binaries to OpenWRT. Would be good, if you could guide us on "How to run NFD in OpenWRT?"<br>
It would be of great help.<br>
<br>
Thanks in advance,<br>
Regards,<br>
Lohith,<br>
Divya<br>
</blockquote>
</blockquote>
</blockquote>
_______________________________________________<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>
</div>
</div>
</blockquote>
</div>
<br>
</div>

</blockquote></div><br></div></div></div></div></div></div></div></div></div></div></div>