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

Lohith L lohith444 at gmail.com
Mon Oct 26 07:51:20 PDT 2015


Hi Alex,

Thanks for your response. Currently I am using below versions:
ndn-cxx: version 0.3.4 and version 0.4.0 (tried on both versions)
nfd: version 0.3.4 and version 0.4.0
openwrt: CHAOS CALMER (15.05, r46767)

When I tried executing "/usr/bin/ndnsec" I get "not found".
I have even copied the necessary library files to proper places.

Thanks & Regards,
Lohith

On Fri, Oct 16, 2015 at 3:19 PM, Divyashri Bhat <dbhat at umass.edu> wrote:

>
>
> Begin forwarded message:
>
> *From: *Alex Afanasyev <aa at CS.UCLA.EDU <aa at cs.ucla.edu>>
> *Date: *16 October 2015 at 15:10:58 GMT-4
> *To: *Mathias Gibbens <gibmat at cs.arizona.EDU <gibmat at cs.arizona.edu>>
> *Cc: *<nfd-dev at lists.cs.ucla.edu>
> *Subject: **Re: [Nfd-dev] To start NFD on router using OpenWRT: [Issue]*
>
>
> 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
>
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20151026/e7820b99/attachment.html>


More information about the Nfd-dev mailing list