<div dir="ltr">Hi Josh<div><br></div><div>We recently changed the configuration file format.</div><div>Please delete the "listen" line in face_system.unix section, or just replace the configuration file with the sample.</div><div><br></div><div>Thanks.</div><div>Yours, Junxiao</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 23, 2014 at 3:02 PM, Josh Polterock <span dir="ltr"><<a href="mailto:josh@caida.org" target="_blank">josh@caida.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Junxiao,<br>
<span class=""><br>
On Thu, Dec 18, 2014 at 11:10:40AM -0700, Junxiao Shi wrote:<br>
> Hi Josh<br>
><br>
> It seems that the branch is outdated. I have rebased it. Please try again<br>
> with the new procedure:<br>
><br>
><br>
> On hostA (OSX with Boost 1.57):<br>
><br>
</span><span class="">> - recompile and install ndn-cxx, latest version from GitHub<br>
> - recompile and install NFD<br>
</span>> - after git clone, use the following command to checkout a branch<br>
<span class="">> under review:<br>
> git fetch <a href="http://gerrit.named-data.net/NFD" target="_blank">http://gerrit.named-data.net/NFD</a> refs/changes/44/1444/6 &&<br>
> git checkout FETCH_HEAD<br>
</span>> - then compile and install as usual<br>
> - recompile and install ndn-tlv-ping, latest version from GitHub<br>
<br>
This all seemed to go smoothly. I still need to commandeer a second<br>
system (we have another iMac I can use but it does not have XCode on it<br>
yet, so I'm installing). so, I jumped down to instructions on starting<br>
and testing nfd on HostA.<br>
<span class=""><br>
><br>
> On hostB (either another OSX with Boost 1.57, or any Ubuntu version):<br>
><br>
</span><span class="">> - recompile and install ndn-cxx, latest version from GitHub<br>
> - recompile and install NFD<br>
</span>> - after git clone, use the following command to checkout a branch<br>
<span class="">> under review:<br>
> git fetch <a href="http://gerrit.named-data.net/NFD" target="_blank">http://gerrit.named-data.net/NFD</a> refs/changes/44/1444/6 &&<br>
> git checkout FETCH_HEAD<br>
</span>> - then compile and install as usual<br>
> - recompile and install ndn-tlv-ping, latest version from GitHub<br>
><br>
><br>
> 1. on both hosts: execute `nfd-start`<br>
<br>
Upon trying to start nfd, I receive the following error:<br>
<br>
Script started on Tue Dec 23 13:59:11 2014<br>
$ nfd-start<br>
Password:<br>
1419371964.968853 TRACE: [NameTree] lookup /<br>
1419371964.968910 TRACE: [NameTree] insert /<br>
1419371964.968954 TRACE: [NameTree] Name / hash value = 0 location = 0<br>
1419371964.969026 TRACE: [NameTree] Did not find /, need to insert it to the table<br>
1419371964.969103 INFO: [StrategyChoice] setDefaultStrategy /localhost/nfd/strategy/best-route/%FD%02<br>
1419371964.969523 INFO: [InternalFace] registering callback for /localhost/nfd/fib<br>
1419371964.969624 INFO: [InternalFace] registering callback for /localhost/nfd/faces<br>
1419371964.969753 INFO: [InternalFace] registering callback for /localhost/nfd/strategy-choice<br>
1419371964.969898 INFO: [InternalFace] registering callback for /localhost/nfd/status<br>
1419371964.970031 INFO: [FaceTable] Added face id=1 remote=internal:// local=internal://<br>
1419371966.938915 INFO: [RibManager] Listening on: /localhost/nfd/rib<br>
1419371967.346360 DEBUG: [Forwarder] onIncomingData face=1 data=/localhost/nfd/faces/events/%FE%00<br>
1419371967.346542 TRACE: [NameTree] NameTree::findAllMatches/localhost/nfd/faces/events/%FE%00<br>
1419371967.346677 TRACE: [NameTree] findLongestPrefixMatch /localhost/nfd/faces/events/%FE%00<br>
1419371967.346832 TRACE: [ContentStore] insert() /localhost/nfd/faces/events/%FE%00/sha256digest=7fc8f0f09483606aed7d26a02001eca60bd7ab602fd2085f6cf478872af14740<br>
1419371967.347198 TRACE: [ContentStore] insertToSkipList() /localhost/nfd/faces/events/%FE%00/sha256digest=7fc8f0f09483606aed7d26a02001eca60bd7ab602fd2085f6cf478872af14740, skipList size 0<br>
1419371967.347508 TRACE: [ContentStore] Not a duplicate<br>
1419371967.347598 TRACE: [ContentStore] pushback 0x7fbb2bf00570<br>
1419371967.347701 DEBUG: [Forwarder] onDataUnsolicited face=1 data=/localhost/nfd/faces/events/%FE%00 cached<br>
1419371967.348166 TRACE: [GeneralConfigSection] using user "" group ""<br>
1419371967.348273 TRACE: [PrivilegeHelper] initializing privilege helper with user "" group ""<br>
1419371967.348511 TRACE: [NetworkInterfaceInfo] lo0: added IPv6 address ::1<br>
1419371967.348628 TRACE: [NetworkInterfaceInfo] lo0: added IPv4 address 127.0.0.1<br>
1419371967.348746 TRACE: [NetworkInterfaceInfo] lo0: added IPv6 address fe80::1<br>
1419371967.348859 DEBUG: [NetworkInterfaceInfo] gif0: ignoring link-layer address for unhandled interface type 7<br>
1419371967.349019 DEBUG: [NetworkInterfaceInfo] stf0: ignoring link-layer address for unhandled interface type 9<br>
1419371967.349177 TRACE: [NetworkInterfaceInfo] en0: added Ethernet address c4:2c:03:2c:5f:26<br>
1419371967.349313 TRACE: [NetworkInterfaceInfo] en0: added IPv6 address fe80::c62c:3ff:fe2c:5f26<br>
1419371967.349452 TRACE: [NetworkInterfaceInfo] en0: added IPv4 address 192.172.226.92<br>
1419371967.349575 TRACE: [NetworkInterfaceInfo] en0: added IPv4 broadcast address 192.172.226.255<br>
1419371967.349713 TRACE: [NetworkInterfaceInfo] en0: added IPv6 address 2001:48d0:101:501:c62c:3ff:fe2c:5f26<br>
1419371967.349867 TRACE: [NetworkInterfaceInfo] en0: added IPv6 address 2001:48d0:101:501:d13:94d:a184:7a7d<br>
1419371967.350019 DEBUG: [NetworkInterfaceInfo] fw0: ignoring link-layer address for unhandled interface type<br>
1419371967.350177 TRACE: [NetworkInterfaceInfo] en1: added Ethernet address d8:30:62:51:e4:aa<br>
1419371967.350312 TRACE: [NetworkInterfaceInfo] p2p0: added Ethernet address 0a:30:62:51:e4:aa<br>
1419371967.350546 FATAL: [NFD] Unrecognized option "listen" in "unix" section<br>
1419371967.350783 TRACE: [ContentStore] evictItem()<br>
1419371967.350860 TRACE: [ContentStore] Evict from unsolicited queue<br>
1419371967.350958 TRACE: [ContentStore] eraseFromSkipList() /localhost/nfd/faces/events/%FE%00/sha256digest=7fc8f0f09483606aed7d26a02001eca60bd7ab602fd2085f6cf478872af14740<br>
1419371967.351261 TRACE: [ContentStore] SkipList size 1<br>
1419371967.351353 TRACE: [ContentStore] evictItem()<br>
tao:~ $ 1419371969.501131 INFO: [RibManager] Start monitoring face create/destroy events<br>
1419371970.116432 FATAL: [NRD] error while connecting to the forwarder (No such file or directory)<br>
<br>
Script done on Tue Dec 23 13:59:51 2014<br>
<br>
<br>
> 2. on hostA: execute `nfd-status -f | grep 'dev'`, find the number after<br>
> "faceid="<br>
> 3. on hostA: execute `nfdc register /A 8888`, substitute 8888 with the<br>
<span class="">> number found in step 2<br>
</span>> 4. on hostB: run `ndnpingserver /A`<br>
> 5. on hostA: run `ndnping /A`, and press CTRL+C after about 20 seconds<br>
<div class="HOEnZb"><div class="h5">><br>
></div></div></blockquote></div></div></div>