<div dir="ltr"><div>Hi Rafee</div><div><br></div><div>To setup a producer, use the following steps:</div><div><ol><li>Stop NFD if you have it. You do not need it.</li><li>Install Node.js 12.x following instructions here: <a href="https://github.com/nodesource/distributions#deb">https://github.com/nodesource/distributions#deb</a></li><li>sudo npm i -g <a href="https://ndnts-nightly.netlify.com/cat.tgz">https://ndnts-nightly.netlify.com/cat.tgz</a></li><li>sudo npm i -g <a href="https://ndnts-nightly.netlify.com/keychain-cli.tgz">https://ndnts-nightly.netlify.com/keychain-cli.tgz</a></li><li>Download the attached file and save as ndncert-ucla.json in the current directory.</li><li>NDNTS_KEYCHAIN=$HOME/keychain NDNTS_UPLINK=udp://<a href="http://savi.testbed.named-data.net:6363">savi.testbed.named-data.net:6363</a> ndntssec ndncert-client --ca ndncert-ucla.json --valid-days 120 --verbose<br>This command automatically obtains an NDN testbed certificate for you. The last line of output displays the certificate name.</li><li>echo "Rafee's first packet" | NDNTS_KEYCHAIN=$HOME/keychain NDNTS_NFDREG=1 NDNTS_UPLINK=udp://<a href="http://savi.testbed.named-data.net:6363">savi.testbed.named-data.net:6363</a> NDNTS_PKTTRACE=1 ndncat put /Rafee/my-first-packet --ver=none<br></li></ol></div><div>At this point, you are running the producer. Head to <a href="https://nlsr-status.netlify.com/">https://nlsr-status.netlify.com/</a> and you should see a prefix announcement for "/Rafee/my-first-packet".</div><div><br></div><div>To run the consumer, use the following steps:</div><div><ol><li>Stop NFD if you have it. You do not need it.</li><li>Install Node.js 12.x following instructions here: <a href="https://github.com/nodesource/distributions#deb">https://github.com/nodesource/distributions#deb</a></li><li>sudo npm i -g <a href="https://ndnts-nightly.netlify.com/cat.tgz">https://ndnts-nightly.netlify.com/cat.tgz</a></li><li>NDNTS_UPLINK=udp://<a href="http://savi.testbed.named-data.net:6363">savi.testbed.named-data.net:6363</a> NDNTS_PKTTRACE=1 ndncat get /Rafee/my-first-packet --ver=none<br>You should see "Rafee's first packet" somewhere in the output.</li></ol></div><div>You can also retrieve the packet via ndnpeek:</div><div><ol><li>Start NFD and connect to testbed (either manually or with `ndn-autoconfig` command).</li><li>ndnpeek -p /Rafee/my-first-packet/33=%00<br>You should see "Rafee's first packet" somewhere in the output.  <br></li></ol></div><div><br></div><div>Yours, Junxiao</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 8, 2020 at 1:29 PM Mohammad Ishfaque Jahan Rafee via Ndn-interest <<a href="mailto:ndn-interest@lists.cs.ucla.edu">ndn-interest@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi John,<div>Thank you very much for your help. I can confirm, I can now ping all the NDN nodes, after setting up <a href="https://savi.testbed.named-data.net/" target="_blank">https://savi.testbed.named-data.net/</a> as /ndn route similar to the default gateway.</div><div><br></div><div>My initial goal is something like this.</div><div>1. Set up two machines. One in SAVI/AWS and another in AWS/Raspberry PI.</div><div>2. Let both of them connect to testbed</div><div>3. Then generate interest from one and serve the content from the other.</div></div></div><br>
</blockquote></div></div>