[Nfd-dev] NDN-JS

Nicholas Gordon nmgordon at memphis.edu
Mon Apr 9 11:03:51 PDT 2018


Iel,

Also, NFD typically has to be run as root:

sudo nfd /usr/local/etc/ndn/nfd.conf &

will get you a running NFD. You can also do what Jeff suggested and run

sudo nfd-start

-- 
-Nick

On Mon, 9 Apr 2018 17:01:53 +0000
"Thompson, Jeff" <jefft0 at remap.ucla.edu> wrote:

> Hi again Iel,
> 
> >  When I try typing "nfd" in the terminal, it prints an error:
> 
> The normal way to start NFD is nfd-start . Does that work?
> 
> - Jeff T
> 
> From: Nfd-dev <nfd-dev-bounces at lists.cs.ucla.edu<mailto:nfd-dev-bounces at lists.cs.ucla.edu>> on behalf of Iel Cadence <ielumiere97 at gmail.com<mailto:ielumiere97 at gmail.com>>
> Date: Saturday, April 7, 2018 at 6:24:00
> To: nfd-dev <nfd-dev at lists.cs.ucla.edu<mailto:nfd-dev at lists.cs.ucla.edu>>
> Subject: [Nfd-dev] NDN-JS
> 
> Good day!
> 
> I have two questions
> 1. I have just started using NDN-JS, and I am testing the example file test-echo-consumer.html and its partner publisher page (also in html). My problem is, the publisher page always fails in registering the prefix, therefore the consumer page displays that the interest has timed out. But when I open the node version of the publisher, it works perfectly well with the consumer in the browser. I am using Ubuntu 16.04 and my browser is Firefox 54.0 and I have already installed NFD using the NDN PPA Repository. What could I have missed?
> 
> 2. When I try typing "nfd" in the terminal, it prints an error:
> FATAL: [Main] Failed to read configuration file /usr/local/etc/ndn/nfd.conf
> But when I looked in that path, I can see an nfd.conf (which is a read only file).
> 
> Thanks a lot in advance,
> Iel


More information about the Nfd-dev mailing list