<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Maybe you need to clean up your previous PPA installation and then try the source installation.  Vince has seen similar problems before.<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div class=""><br class="Apple-interchange-newline">
Lan</div>
</div>
</span></div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Apr 10, 2016, at 2:26 PM, S Khorasani <<a href="mailto:s.kh.khorasani@gmail.com" class="">s.kh.khorasani@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Dear Ashlesh,<br class="">
<br class="">
In advance, thank you very much for your helps.<br class="">
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.<br class="">
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?<br class="">
<br class="">
Many thanks,<br class="">
skh</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Fri, Apr 8, 2016 at 1:24 AM, Ashlesh Gawande (agawande)
<span dir="ltr" class=""><<a href="mailto:agawande@memphis.edu" target="_blank" class="">agawande@memphis.edu</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">
<div style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class="">
<p class="">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!).</p>
<div class=""><br class="">
</div>
But you might be able to get it running:
<div class="">Mini-NDN reads nlsr.conf and client.conf from /usr/local/etc/mini-ndn which it copies over during installation.</div>
<div class="">nfd.conf should also be in this folder - copied from /usr/local/etc/ndn/nfd.conf.sample</div>
<div class=""><br class="">
</div>
<div class="">Ashlesh<br class="">
<div style="" class="">
<hr style="display:inline-block;width:98%" class="">
<div dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size:11pt" class=""><b class="">From:</b> S Khorasani <<a href="mailto:s.kh.khorasani@gmail.com" target="_blank" class="">s.kh.khorasani@gmail.com</a>><br class="">
<b class="">Sent:</b> Thursday, April 7, 2016 3:41 PM
<div class="">
<div class="h5"><br class="">
<b class="">To:</b> Ashlesh Gawande (agawande)<br class="">
<b class="">Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank" class="">
mini-ndn@lists.cs.ucla.edu</a><br class="">
<b class="">Subject:</b> Re: [Mini-NDN] Multi Router NLSR config</div>
</div>
</font>
<div class=""> </div>
</div>
<div class="">
<div class="h5">
<div class="">
<div dir="ltr" class="">
<div class="">I installed binary version of NFD from <a href="https://launchpad.net/~named-data/+archive/ppa" rel="noreferrer" style="color:rgb(42,128,185);text-decoration:none;font-family:Slack-Lato,appleLogo,sans-serif;font-size:15px;line-height:22px;background-color:rgb(249,249,249)" title="https://launchpad.net/~named-data/+archive/ppa
Ctrl+Click or tap to follow the link" target="_blank" class="">https://launchpad.net/~named-data/+archive/ppa</a> (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:<br class="">
</div>
<div class="">Failed to read configuration file: nlsr.conf</div>
<div class="">Error in configuration file processing! Exiting from NLSR.</div>
<div class=""><br class="">
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Fri, Apr 8, 2016 at 12:38 AM, Ashlesh Gawande (agawande)
<span dir="ltr" class=""><<a href="mailto:agawande@memphis.edu" target="_blank" class="">agawande@memphis.edu</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">
<div style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class="">
<p class="">Can you please tell how you installed ndn-cxx, NFD, NLSR, and Mini-NDN?</p>
<br class="">
I would suggest first at least try to run with auto generated files before moving to manually configured files.
<div class=""><br class="">
</div>
<div class="">Ashlesh<br class="">
<div style="" class="">
<hr style="display:inline-block;width:98%" class="">
<div dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size:11pt" class=""><b class="">From:</b> S Khorasani <<a href="mailto:s.kh.khorasani@gmail.com" target="_blank" class="">s.kh.khorasani@gmail.com</a>><br class="">
<b class="">Sent:</b> Thursday, April 7, 2016 3:05 PM
<div class="">
<div class=""><br class="">
<b class="">To:</b> Ashlesh Gawande (agawande)<br class="">
<b class="">Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank" class="">
mini-ndn@lists.cs.ucla.edu</a><br class="">
<b class="">Subject:</b> Re: [Mini-NDN] Multi Router NLSR config</div>
</div>
</font>
<div class=""> </div>
</div>
<div class="">
<div class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<p class="MsoNormal">Dear Ashlesh,<br class="">
</p>
</div>
<div class=""><span style="min-height:0.5rem" class=""><br class="">
</span></div>
<div class=""><span style="min-height:0.5rem" class="">Thank you very much for the response.</span></div>
<div class=""><span style="min-height:0.5rem" class="">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.</span></div>
<div class=""><span style="min-height:0.5rem" class="">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?</span></div>
<div class=""><span style="min-height:0.5rem" class=""><br class="">
</span></div>
<div class=""><span style="min-height:0.5rem" class="">Bests</span><br class="">
</div>
<div class=""><br class="">
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Thu, Apr 7, 2016 at 11:35 PM, Ashlesh Gawande (agawande)
<span dir="ltr" class=""><<a href="mailto:agawande@memphis.edu" target="_blank" class="">agawande@memphis.edu</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">
<div style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class="">
<p class="">Can you check if there is a file at /etc/ndn/nlsr/nlsr.conf and at ndn_utils/nlsr.conf?</p>
<br class="">
Ashlesh<br class="">
<div style="" class="">
<hr style="display:inline-block;width:98%" class="">
<div dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size:11pt" class=""><b class="">From:</b> S Khorasani <<a href="mailto:s.kh.khorasani@gmail.com" target="_blank" class="">s.kh.khorasani@gmail.com</a>><br class="">
<b class="">Sent:</b> Thursday, April 7, 2016 11:55 AM<br class="">
<b class="">To:</b> Ashlesh Gawande (agawande)<br class="">
<b class="">Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank" class="">
mini-ndn@lists.cs.ucla.edu</a><br class="">
<b class="">Subject:</b> Re: [Mini-NDN] Multi Router NLSR config</font>
<div class=""> </div>
</div>
<div class="">
<div class="">
<div class="">
<div dir="ltr" class=""><span style="font-size:12.8px" class="">Dear Ashlesh,</span>
<div style="font-size:12.8px" class=""><br class="">
</div>
<div style="font-size:12.8px" class="">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: </div>
<div style="font-size:12.8px" class="">"<span style="font-size:12.8px" class="">Failed to read configuration file: /etc/ndn/nlsr/n</span><span style="font-size:12.8px" class="">lsr.conf. </span><span style="font-size:12.8px" class="">Error in configuration
 file processing! Exiting from NLSR</span>"</div>
<div style="font-size:12.8px" class="">So I confused what may be the problem now. Your further helps would be appreciated.</div>
<div style="font-size:12.8px" class=""><br class="">
</div>
<div style="font-size:12.8px" class="">Sincerely,</div>
<div style="font-size:12.8px" class="">skh</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Wed, Apr 6, 2016 at 6:59 PM, Ashlesh Gawande (agawande)
<span dir="ltr" class=""><<a href="mailto:agawande@memphis.edu" target="_blank" class="">agawande@memphis.edu</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">
<div style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class="">
<p class="">Mini-NDN generates the NLSR configuration files for you.</p>
<p class="">You can check under /tmp/<node-name>/nlsr.conf</p>
<div class=""><br class="">
</div>
Mini-NDN copies this file <a href="https://github.com/named-data/mini-ndn/blob/master/ndn_utils/nlsr.conf" title="https://github.com/named-data/mini-ndn/blob/master/ndn_utils/nlsr.conf
Ctrl+Click or tap to follow the link" target="_blank" class="">https://github.com/named-data/mini-ndn/blob/master/ndn_utils/nlsr.conf</a><br class="">
after filling in appropriate sections to each node's home folder /tmp/<node-name>/
<div class=""><br class="">
</div>
<div class="">Does this answer your question?<br class="">
<br class="">
Ashlesh<br class="">
<div style="" class="">
<hr style="display:inline-block;width:98%" class="">
<div dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size:11pt" class=""><b class="">From:</b> Mini-NDN <<a href="mailto:mini-ndn-bounces@lists.cs.ucla.edu" target="_blank" class="">mini-ndn-bounces@lists.cs.ucla.edu</a>> on behalf of S Khorasani
 <<a href="mailto:s.kh.khorasani@gmail.com" target="_blank" class="">s.kh.khorasani@gmail.com</a>><br class="">
<b class="">Sent:</b> Wednesday, April 6, 2016 3:32 AM<br class="">
<b class="">To:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank" class="">
mini-ndn@lists.cs.ucla.edu</a><br class="">
<b class="">Subject:</b> [Mini-NDN] Multi Router NLSR config</font>
<div class=""> </div>
</div>
<div class="">
<div class="">
<div class="">
<div dir="ltr" class="">Salaam,
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class="">So it would be my pleasure if everyone could help me.</div>
<div class=""><br class="">
</div>
<div class="">Kind Regards,</div>
<div class="">skh</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
_______________________________________________<br class="">
Mini-NDN mailing list<br class="">
<a href="mailto:Mini-NDN@lists.cs.ucla.edu" class="">Mini-NDN@lists.cs.ucla.edu</a><br class="">
http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn<br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>