Friday, January 6, 2012

CCNx Common Problem

1. When running CCNx Services on Android Smartphone, repo status hangs on ... INITIALIZING.
Work around: You need SD Card or Memory Card installed on your smartphone, CCNx repo need this SD Card.

2. ccnputfile and ccngetfile doesn't work.
Work around: You need to run ccn_repo first. Make sure you run ccndstart before running ccn_repo
ccn_repo REPO_DIR

3. If you still have problem with ccnputfile, try different REPO_DIR. ccn_repo only support one prefix, you can use policy_xml if you need more then one prefix.

4. If you're running ccn on two host and can't get file or content from other host try add a FIB entry.

ccndc add ccnx:/ tcp 192.168.1.2

Note:
I'm using / (root) for the ccnx uri.
192.168.1.2 is the other host ip address

4. Can't run make install for android on Linux Ubuntu 32bit. Android tools complain that awk is out of date.
Solution: install gawk

sudo apt-get install gawk
export HOST_AWK=gawk

and
delete or rename awk filename in {android-ndk-r7}/prebuilt/linux-x86/bin

5. Can't install android package using adb. After plugging android devices run 'adb devices' you only get ???????? no permissions
Solution:
with sudo run:
sudo adb kill-server
sudo adb start-server
sudo adb devices

More problems coming soon ..


No comments:

Post a Comment