[Nfd-dev] NLSR failed to connect with NFD in Banana Pro (Raspbian OS)

Mahyuddin Husairi mahyuddin at gmail.com
Mon Apr 13 03:06:11 PDT 2015

I just successfully compile and install ndn-cxx, NFD and NLSR on Banana Pro
(design and produced by LeMaker - http://www.lemaker.org/).

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.

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

20150413175010040 DEBUG: [HelloProtocol] Scheduling HELLO Interests in 10
20150413175010047 DEBUG: [nlsr] Process daemonized. Process id: 14975
20150413175010053 FATAL: [Main] ERROR: error while connecting to the
20150413175010057 DEBUG: [Fib] Fib::clean called

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

gettimeofday({1428918610, 40666}, NULL) = 0
write(10, "20150413175010040 DEBUG: [HelloP"..., 82) = 82
clock_gettime(CLOCK_MONOTONIC, {367502, 38604022}) = 0
clock_gettime(CLOCK_MONOTONIC, {367502, 39270498}) = 0
child_tidptr=0xb4cbc288) = 14975
gettimeofday({1428918610, 47614}, NULL) = 0
write(10, "20150413175010047 DEBUG: [nlsr] "..., 70) = 70
close(9)                                = 0
close(10)                               = 0
ERROR: error while connecting to the forwardermunmap(0xb6f5a000, 8192)
           = 0

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.

Human knowledge Belongs to The World
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150413/61a6da2d/attachment.html>

More information about the Nfd-dev mailing list