[Mini-NDN] Multi Router NLSR config

Lan Wang (lanwang) lanwang at memphis.edu
Mon Apr 11 08:26:55 PDT 2016


Maybe you need to clean up your previous PPA installation and then try the source installation.  Vince has seen similar problems before.

Lan

On Apr 10, 2016, at 2:26 PM, S Khorasani <s.kh.khorasani at gmail.com<mailto:s.kh.khorasani at gmail.com>> wrote:

Dear Ashlesh,

In advance, thank you very much for your helps.
Regarding your previous comment, I built and installed all packages from the sources regarding the instructions. The required paths created and files carefully copied to the paths.
But mini-NDN fails (without any error message at CLI or log). Also manual execution of NLSR results in bad config file's format. Could you please let me know whether the problem is with defualt config file or mini-NDN executes NLSR with different config file. Where do you think the problem may be from?

Many thanks,
skh

On Fri, Apr 8, 2016 at 1:24 AM, Ashlesh Gawande (agawande) <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:

Mini-NDN does not support the PPAs yet. You will have to install ndn-cxx, NFD, NLSR from source (make sure to uninstall the binaries first!).

But you might be able to get it running:
Mini-NDN reads nlsr.conf and client.conf from /usr/local/etc/mini-ndn which it copies over during installation.
nfd.conf should also be in this folder - copied from /usr/local/etc/ndn/nfd.conf.sample

Ashlesh
________________________________
From: S Khorasani <s.kh.khorasani at gmail.com<mailto:s.kh.khorasani at gmail.com>>
Sent: Thursday, April 7, 2016 3:41 PM

To: Ashlesh Gawande (agawande)
Cc: mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>
Subject: Re: [Mini-NDN] Multi Router NLSR config

I installed binary version of NFD from https://launchpad.net/~named-data/+archive/ppa (including ndn-cxx as its prerequisite) and binary version of nlsr too. Then, I installed mini-NDN from the source (available on GitHub) according to INSTALL.md. However, when I run nlsr manually, it fails with the following error:
Failed to read configuration file: nlsr.conf
Error in configuration file processing! Exiting from NLSR.


On Fri, Apr 8, 2016 at 12:38 AM, Ashlesh Gawande (agawande) <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:

Can you please tell how you installed ndn-cxx, NFD, NLSR, and Mini-NDN?

I would suggest first at least try to run with auto generated files before moving to manually configured files.

Ashlesh
________________________________
From: S Khorasani <s.kh.khorasani at gmail.com<mailto:s.kh.khorasani at gmail.com>>
Sent: Thursday, April 7, 2016 3:05 PM

To: Ashlesh Gawande (agawande)
Cc: mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>
Subject: Re: [Mini-NDN] Multi Router NLSR config

Dear Ashlesh,

Thank you very much for the response.
I already checked the path, but there was no such directory(/etc/ndn/nlsr). So I added the directory and copied the file from the ndn_utils directory of the source and then run Mini-NDN. But the problem did not solve.
Could you please let me know about the auto-generation mechanism of nlsr config file? Can I generate the config files of the nodes manually(using any script etc) and copy them to the nodes folders?

Bests


On Thu, Apr 7, 2016 at 11:35 PM, Ashlesh Gawande (agawande) <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:

Can you check if there is a file at /etc/ndn/nlsr/nlsr.conf and at ndn_utils/nlsr.conf?

Ashlesh
________________________________
From: S Khorasani <s.kh.khorasani at gmail.com<mailto:s.kh.khorasani at gmail.com>>
Sent: Thursday, April 7, 2016 11:55 AM
To: Ashlesh Gawande (agawande)
Cc: mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>
Subject: Re: [Mini-NDN] Multi Router NLSR config

Dear Ashlesh,

Thank you very much for your instant response. Unfortunately my setup does not make any nlsr.conf file in nodes' home folder. I check the nlsr log file and there, I find out that the problem is with parsing the nlsr.conf file you addressed. The error message is:
"Failed to read configuration file: /etc/ndn/nlsr/nlsr.conf. Error in configuration file processing! Exiting from NLSR"
So I confused what may be the problem now. Your further helps would be appreciated.

Sincerely,
skh

On Wed, Apr 6, 2016 at 6:59 PM, Ashlesh Gawande (agawande) <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:

Mini-NDN generates the NLSR configuration files for you.

You can check under /tmp/<node-name>/nlsr.conf

Mini-NDN copies this file https://github.com/named-data/mini-ndn/blob/master/ndn_utils/nlsr.conf
after filling in appropriate sections to each node's home folder /tmp/<node-name>/

Does this answer your question?

Ashlesh
________________________________
From: Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu<mailto:mini-ndn-bounces at lists.cs.ucla.edu>> on behalf of S Khorasani <s.kh.khorasani at gmail.com<mailto:s.kh.khorasani at gmail.com>>
Sent: Wednesday, April 6, 2016 3:32 AM
To: mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>
Subject: [Mini-NDN] Multi Router NLSR config

Salaam,

I'm beginner in using mini-NDN emulator and have  encountered problem in configuration of NLSR. My problem is exactly with multi router configuration. In fact I do not know how can I prepare a nlsr.conf file that could be matched with default topology of mini-NDN (default-topology.conf file). As I find out, the default topology is for a multi router scenario (4 nodes), but the default configuration file of NLSR (nlsr.conf|) is not compatible with this scenario.
So it would be my pleasure if everyone could help me.

Kind Regards,
skh




_______________________________________________
Mini-NDN mailing list
Mini-NDN at lists.cs.ucla.edu<mailto:Mini-NDN at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20160411/c1fa3447/attachment.html>


More information about the Mini-NDN mailing list