[Nfd-dev] To start NFD on router using OpenWRT: [Issue]

Alex Afanasyev aa at CS.UCLA.EDU
Fri Oct 16 12:10:58 PDT 2015


> On Oct 16, 2015, at 11:30 AM, Mathias Gibbens <gibmat at cs.arizona.edu> wrote:
> 
> Hello,
> 
>  It's not really clear what the problem is from your screenshot. What
> versions of ndn-cxx/nfd and OpenWRT are you running?
> 
>  I initially thought maybe the errors are being caused by the scripts
> assuming bash was installed on the router (by default OpenWRT uses ash),
> since I had run into that a while ago. However, a quick look at the
> 0.3.4 release of ndn-cxx seems to show that the scripts are now using
> the more generic /bin/sh.
> 
>  Can you try executing `/usr/bin/ndnsec` directly?

One change that happened in 0.3.* is switch from static to shared library.  If you haven't yet, you may need to copy
lib/libndn-cxx*.so to proper places.

---
Alex

> 
> Mathias
> 
>>> From: Lohith L <lohith444 at gmail.com>
>>> Date: October 15, 2015 at 11:27:38 AM MST
>>> To: nfd-dev at lists.cs.ucla.edu
>>> Subject: [Nfd-dev] To start NFD on router using OpenWRT: [Issue]
>>> 
>>> Hello,
>>> 
>>> 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.
>>> http://redmine.named-data.net/projects/ndn-embedded/wiki/Cross-compiling_NDN_projects_for_home_routers <http://redmine.named-data.net/projects/ndn-embedded/wiki/Cross-compiling_NDN_projects_for_home_routers>
>>> 
>>> As a next step, after successful build,
>>> 1. copied the binaries to the router. (both NDN and NFD binaries to /usr/bin and libraries to /usr/lib)
>>> 2. run 'nfd-start'.
>>> As a result, we could see the error as shown in the attachment.
>>> 
>>> 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?"
>>> It would be of great help.
>>> 
>>> Thanks in advance,
>>> Regards,
>>> Lohith,
>>> Divya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20151016/b5b486f1/attachment.bin>


More information about the Nfd-dev mailing list