Hi Luca, Adding the lispmob-users mailing list, since I'm not familiar with the Android build system of LISPmob. Answers to some of the other questions below.
On 12/13/2014 05:55 PM, Luca Stornaiuolo wrote: > Hi Lori, > in these days I'm testing LISPmob noroot with no luck at all. > I tried the Play Store one and I tried to build it myself with the same > result: crash when I try to start the lispd. > On Sony Xperia ST27i, Android 4.1.2, I got the following: > > java.lang.ExceptionInInitializerError > > at org.lispmob.noroot.LISPmobVPNService.run(LISPmobVPNervice.java:123) > > at java.lang.Thread.run(Thread.java:856) > > Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: > link_image[1891]: 1416 could not load needed library 'libjson-c.so' for > 'liblispd.so' (load_library[1093]: Library 'libjson-c.so' not found) > > at java.lang.Runtime.loadLibrary(Runtime.java:370) > > at java.lang.System.loadLibrary(System.java: 535) > > at org.lispmob.noroot.LISPmob_JNI.<clinit>(LISPmob_JNI.java:12) > ... 2 more > > I'm quite new to Android but I think that the reason may be in > LISPmob_JNI.java (which shouldn't explicitly load libjson-c? I found > this > <http://stackoverflow.com/questions/21051486/java-lang-unsatisfiedlinkerror-cannot-load-library>). > > > Then, another issue. > I tried LISPmob on Ubuntu. In router mode off the registration seems ok How do you determine if the registration is ok? Looking at the logs? You could also use the looking LISPmon looking glass http://lispmon.net/lig.cgi to check for your prefix' visibility in the global LISP mapping system. > but since lisp4.net is down I cannot test if it truly works or not. You could try pinging some of the LISP routers showing up on http://www.lispmon.net/ to check LISP connectivity. > In > router mode on, the Map Server is not reachable. If the registration is going well, it should be reachable. > > Last question. > In order to test multihoming I set the lispd.conf database-mapping like > the following: > > database-mapping { > eid-prefix = 153.16.51.48/32 > interface = wlan0 > priority_v4 = 1 # Priority of IPv4 locator of <interface_name> for this EID > weight_v4 = 100 # Weight of IPv4 locator of <interface_name> for this EID > priority_v6 = 1 # Priority of IPv6 locator of <interface_name> for this EID > weight_v6 = 100 # Weight of IPv6 locator of <interface_name> for this EID > } > > database-mapping { > eid-prefix = 153.16.51.49/32 > interface = wlan0 > priority_v4 = 1 # Priority of IPv4 locator of <interface_name> for this EID > weight_v4 = 100 # Weight of IPv4 locator of <interface_name> for this EID > priority_v6 = 1 # Priority of IPv6 locator of <interface_name> for this EID > weight_v6 = 100 # Weight of IPv6 locator of <interface_name> for this EID > } We define multihoming as using the *same prefix* on *different interfaces*, so the configuration above is simply registering multiple different prefixes. Since they are adjacent, you should just register the aggregate, unless there is compelling reason to do otherwise. Maybe you can share more about your scenario? -Lori > > Is that ok? > > Thanks for your helpfulness. > Best regards, > Luca > > > ________________________________________ > Da: Lori Jakab <[email protected]> > Inviato: mercoledì 15 ottobre 2014 21:45 > A: Luca Stornaiuolo > Cc: [email protected] > Oggetto: Re: [Contactus-android] [Android] Beta network EID > > Hi Luca, > > On Oct 12, 2014, at 7:20 PM, [email protected] wrote: > >> Hi, >> >> Geographical location: Naples (now) and Florence (I'm moving there), > Italy. >> Android devices: Synudine SY800G2 and Sony Xperia Go >> >> I'm doing my Computer Engineering thesis about Android multihoming > support and LISPmob, so I learned about LISPmob and the Beta network by > myself, just searching. > > Interesting research topic. We’re also interested in this, but didn’t > look into it in great detail yet. It would be very helpful if you would > share your findings with us. From the limited info we have, it looks > like most Android phones don’t support/allow having two interfaces up at > the same time, so we don’t support multihoming in the Android version of > LISPmob. The only phone we found to support having both 3G and WiFi up > at the same time was a Sony Xperia. Was that the reason behind your > choice, or is it just coincidental? We also know of a non-root Android > app called Open Garden which is able to set up a mesh network, using > more than one interface, so it should be possible with other phone, but > maybe just not with the basic Android APIs? > > Anyways, here is your connection info: > > EIDs: 153.16.51.48/32 and 153.16.51.49/32 > Map-Server/-Resolvers: 217.8.98.42, 217.8.98.46 > PETRs: 217.8.98.33, 217.8.98.35 > Password: nattrav-test > > Please keep us posted of your progress! > > Regards, > -Lori
