On 22/07/2016 10:59, Marco Pratesi wrote:
On 22/07/2016 00:40, Jafar Al-Gharaibeh wrote:
Is there anyone on the list who has tried/succeeded running Quagga on
Android?
I did.
Is anyone interested in a full documentation of all the steps?
Most of the documents I produced are available here:
https://github.com/marco-pratesi/android/tree/master/quagga
Some other informations are available on an IEEE conference paper.
I have not updated these docs for a while; I am open to
integrate/organize the information in a better/different way.
For what concerns the issues posted by Jafar...
Static/dynamic build: someway, I succeeded in obtaining a shared-libs
build, but it just does not work; I do not remember which error is
returned, but it just does not even run. Static builds worked for me and
I did not investigate further, as each daemon (routing protocol) uses
its own library, hence a shared build would not significantly save
resources. Documents linked above explain how to obtain a static build.
Running as non-root...
Running as root works for me.
Android is not POSIX-compliant about management of users; /etc/passwd is
not used; each application is run by its own user as a separate virtual
machine (even the terminal emulator+shell); I suppose that the POSIX
management of users and privileges is only a dream on Android, hence I
suggest to accept to run Quagga as root.
Maybe you can build (cross-compile) a glibc+gcc toolchain for Android (I
succeeded in doing this) and then build a POSIX-compliant environment to
run Quagga as on a "normal" Unix OS, but I am not so confident that it
would be really possible, and, anyway, IMHO, it is not worth the effort,
unless you are only searching for fun :-)
Marco Pratesi
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev