<div dir="ltr">Hi Josh<div><br></div><div>Thanks for your testing.</div><div>It seems that there's some other problem in the code that EthernetFace is not correctly created. I'll ask developer to look into it.</div><div>I'll ask you to test again once the problem is fixed.</div><div><br></div><div>Yours, Junxiao</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 23, 2014 at 3:09 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>
<br>
Ok. nfd starts and gives regular DEBUG output.<br>
<br>
When I execute the 'nfd-status -f | grep 'dev' command it returns<br>
nothing.<br>
<span class="HOEnZb"><font color="#888888"><br>
Josh<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Tue, Dec 23, 2014 at 03:05:14PM -0700, Junxiao Shi wrote:<br>
> Hi Josh<br>
><br>
> We recently changed the configuration file format.<br>
> Please delete the "listen" line in face_system.unix section, or just<br>
> replace the configuration file with the sample.<br>
><br>
> Thanks.<br>
> Yours, Junxiao<br>
><br>
> On Tue, Dec 23, 2014 at 3:02 PM, Josh Polterock <<a href="mailto:josh@caida.org">josh@caida.org</a>> wrote:<br>
><br>
> > Junxiao,<br>
> ><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>
> > >    - recompile and install ndn-cxx, latest version from GitHub<br>
> > >    - recompile and install NFD<br>
> > >       - after git clone, use the following command to checkout a branch<br>
> > >       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>
> > &&<br>
> > >       git checkout FETCH_HEAD<br>
> > >       - 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>
> ><br>
> > ><br>
> > > On hostB (either another OSX with Boost 1.57, or any Ubuntu version):<br>
> > ><br>
> > >    - recompile and install ndn-cxx, latest version from GitHub<br>
> > >    - recompile and install NFD<br>
> > >       - after git clone, use the following command to checkout a branch<br>
> > >       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>
> > &&<br>
> > >       git checkout FETCH_HEAD<br>
> > >       - 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<br>
> > the table<br>
> > 1419371964.969103 INFO: [StrategyChoice] setDefaultStrategy<br>
> > /localhost/nfd/strategy/best-route/%FD%02<br>
> > 1419371964.969523 INFO: [InternalFace] registering callback for<br>
> > /localhost/nfd/fib<br>
> > 1419371964.969624 INFO: [InternalFace] registering callback for<br>
> > /localhost/nfd/faces<br>
> > 1419371964.969753 INFO: [InternalFace] registering callback for<br>
> > /localhost/nfd/strategy-choice<br>
> > 1419371964.969898 INFO: [InternalFace] registering callback for<br>
> > /localhost/nfd/status<br>
> > 1419371964.970031 INFO: [FaceTable] Added face id=1 remote=internal://<br>
> > local=internal://<br>
> > 1419371966.938915 INFO: [RibManager] Listening on: /localhost/nfd/rib<br>
> > 1419371967.346360 DEBUG: [Forwarder] onIncomingData face=1<br>
> > data=/localhost/nfd/faces/events/%FE%00<br>
> > 1419371967.346542 TRACE: [NameTree]<br>
> > NameTree::findAllMatches/localhost/nfd/faces/events/%FE%00<br>
> > 1419371967.346677 TRACE: [NameTree] findLongestPrefixMatch<br>
> > /localhost/nfd/faces/events/%FE%00<br>
> > 1419371967.346832 TRACE: [ContentStore] insert()<br>
> > /localhost/nfd/faces/events/%FE%00/sha256digest=7fc8f0f09483606aed7d26a02001eca60bd7ab602fd2085f6cf478872af14740<br>
> > 1419371967.347198 TRACE: [ContentStore] insertToSkipList()<br>
> > /localhost/nfd/faces/events/%FE%00/sha256digest=7fc8f0f09483606aed7d26a02001eca60bd7ab602fd2085f6cf478872af14740,<br>
> > 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<br>
> > data=/localhost/nfd/faces/events/%FE%00 cached<br>
> > 1419371967.348166 TRACE: [GeneralConfigSection] using user "" group ""<br>
> > 1419371967.348273 TRACE: [PrivilegeHelper] initializing privilege helper<br>
> > with user "" group ""<br>
> > 1419371967.348511 TRACE: [NetworkInterfaceInfo] lo0: added IPv6 address ::1<br>
> > 1419371967.348628 TRACE: [NetworkInterfaceInfo] lo0: added IPv4 address<br>
> > 127.0.0.1<br>
> > 1419371967.348746 TRACE: [NetworkInterfaceInfo] lo0: added IPv6 address<br>
> > fe80::1<br>
> > 1419371967.348859 DEBUG: [NetworkInterfaceInfo] gif0: ignoring link-layer<br>
> > address for unhandled interface type 7<br>
> > 1419371967.349019 DEBUG: [NetworkInterfaceInfo] stf0: ignoring link-layer<br>
> > address for unhandled interface type 9<br>
> > 1419371967.349177 TRACE: [NetworkInterfaceInfo] en0: added Ethernet<br>
> > address c4:2c:03:2c:5f:26<br>
> > 1419371967.349313 TRACE: [NetworkInterfaceInfo] en0: added IPv6 address<br>
> > fe80::c62c:3ff:fe2c:5f26<br>
> > 1419371967.349452 TRACE: [NetworkInterfaceInfo] en0: added IPv4 address<br>
> > 192.172.226.92<br>
> > 1419371967.349575 TRACE: [NetworkInterfaceInfo] en0: added IPv4 broadcast<br>
> > address 192.172.226.255<br>
> > 1419371967.349713 TRACE: [NetworkInterfaceInfo] en0: added IPv6 address<br>
> > 2001:48d0:101:501:c62c:3ff:fe2c:5f26<br>
> > 1419371967.349867 TRACE: [NetworkInterfaceInfo] en0: added IPv6 address<br>
> > 2001:48d0:101:501:d13:94d:a184:7a7d<br>
> > 1419371967.350019 DEBUG: [NetworkInterfaceInfo] fw0: ignoring link-layer<br>
> > address for unhandled interface type<br>
> > 1419371967.350177 TRACE: [NetworkInterfaceInfo] en1: added Ethernet<br>
> > address d8:30:62:51:e4:aa<br>
> > 1419371967.350312 TRACE: [NetworkInterfaceInfo] p2p0: added Ethernet<br>
> > address 0a:30:62:51:e4:aa<br>
> > 1419371967.350546 FATAL: [NFD] Unrecognized option "listen" in "unix"<br>
> > section<br>
> > 1419371967.350783 TRACE: [ContentStore] evictItem()<br>
> > 1419371967.350860 TRACE: [ContentStore] Evict from unsolicited queue<br>
> > 1419371967.350958 TRACE: [ContentStore] eraseFromSkipList()<br>
> > /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<br>
> > create/destroy events<br>
> > 1419371970.116432 FATAL: [NRD] error while connecting to the forwarder (No<br>
> > 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<br>
> > after<br>
> > >    "faceid="<br>
> > >    3. on hostA: execute `nfdc register /A 8888`, substitute 8888 with the<br>
> > >    number found in step 2<br>
> > >    4. on hostB: run `ndnpingserver /A`<br>
> > >    5. on hostA: run `ndnping /A`, and press CTRL+C after about 20 seconds<br>
> > ><br>
> > ><br>
> ><br>
</div></div></blockquote></div><br></div>