<div dir="ltr"><div>Dear Ashlesh,<br><br>In advance, thank you very much for your helps.<br>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>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><br>Many thanks,<br>skh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 8, 2016 at 1:24 AM, Ashlesh Gawande (agawande) <span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>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><br>
</div>
But you might be able to get it running:
<div>Mini-NDN reads nlsr.conf and client.conf from /usr/local/etc/mini-ndn which it copies over during installation.</div>
<div>nfd.conf should also be in this folder - copied from /usr/local/etc/ndn/nfd.conf.sample</div>
<div><br>
</div>
<div>Ashlesh<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> S Khorasani <<a href="mailto:s.kh.khorasani@gmail.com" target="_blank">s.kh.khorasani@gmail.com</a>><br>
<b>Sent:</b> Thursday, April 7, 2016 3:41 PM<div><div class="h5"><br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [Mini-NDN] Multi Router NLSR config</div></div></font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">
<div>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">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>
</div>
<div>Failed to read configuration file: nlsr.conf</div>
<div>Error in configuration file processing! Exiting from NLSR.</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Apr 8, 2016 at 12:38 AM, Ashlesh Gawande (agawande)
<span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Can you please tell how you installed ndn-cxx, NFD, NLSR, and Mini-NDN?</p>
<br>
I would suggest first at least try to run with auto generated files before moving to manually configured files.
<div><br>
</div>
<div>Ashlesh<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> S Khorasani <<a href="mailto:s.kh.khorasani@gmail.com" target="_blank">s.kh.khorasani@gmail.com</a>><br>
<b>Sent:</b> Thursday, April 7, 2016 3:05 PM
<div>
<div><br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [Mini-NDN] Multi Router NLSR config</div>
</div>
</font>
<div> </div>
</div>
<div>
<div>
<div>
<div dir="ltr">
<div>
<p class="MsoNormal">Dear Ashlesh,<br>
</p>
</div>
<div><span style="min-height:0.5rem"><br>
</span></div>
<div><span style="min-height:0.5rem">Thank you very much for the response.</span></div>
<div><span style="min-height:0.5rem">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><span style="min-height:0.5rem">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><span style="min-height:0.5rem"><br>
</span></div>
<div><span style="min-height:0.5rem">Bests</span><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Apr 7, 2016 at 11:35 PM, Ashlesh Gawande (agawande)
<span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Can you check if there is a file at /etc/ndn/nlsr/nlsr.conf and at ndn_utils/nlsr.conf?</p>
<br>
Ashlesh<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> S Khorasani <<a href="mailto:s.kh.khorasani@gmail.com" target="_blank">s.kh.khorasani@gmail.com</a>><br>
<b>Sent:</b> Thursday, April 7, 2016 11:55 AM<br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [Mini-NDN] Multi Router NLSR config</font>
<div> </div>
</div>
<div>
<div>
<div>
<div dir="ltr"><span style="font-size:12.8px">Dear Ashlesh,</span>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">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">"<span style="font-size:12.8px">Failed to read configuration file: /etc/ndn/nlsr/n</span><span style="font-size:12.8px">lsr.conf. </span><span style="font-size:12.8px">Error in configuration file processing! Exiting from NLSR</span>"</div>
<div style="font-size:12.8px">So I confused what may be the problem now. Your further helps would be appreciated.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Sincerely,</div>
<div style="font-size:12.8px">skh</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Apr 6, 2016 at 6:59 PM, Ashlesh Gawande (agawande)
<span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Mini-NDN generates the NLSR configuration files for you.</p>
<p>You can check under /tmp/<node-name>/nlsr.conf</p>
<div><br>
</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">https://github.com/named-data/mini-ndn/blob/master/ndn_utils/nlsr.conf</a><br>
after filling in appropriate sections to each node's home folder /tmp/<node-name>/
<div><br>
</div>
<div>Does this answer your question?<br>
<br>
Ashlesh<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Mini-NDN <<a href="mailto:mini-ndn-bounces@lists.cs.ucla.edu" target="_blank">mini-ndn-bounces@lists.cs.ucla.edu</a>> on behalf of S Khorasani <<a href="mailto:s.kh.khorasani@gmail.com" target="_blank">s.kh.khorasani@gmail.com</a>><br>
<b>Sent:</b> Wednesday, April 6, 2016 3:32 AM<br>
<b>To:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> [Mini-NDN] Multi Router NLSR config</font>
<div> </div>
</div>
<div>
<div>
<div>
<div dir="ltr">Salaam,
<div><br>
</div>
<div>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>So it would be my pleasure if everyone could help me.</div>
<div><br>
</div>
<div>Kind Regards,</div>
<div>skh</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>
</div>

</blockquote></div><br></div>