* Re: [B.A.T.M.A.N.] Have you considered compiled a batman-adv.ko for android?
[not found] <CAJy53=m47HpBE2vYsspJAVkyKR9OaV5gUTyxFvAzuEUo8FDpMg@mail.gmail.com>
@ 2013-05-07 7:36 ` cmsv
2013-05-07 7:49 ` Marek Lindner
2013-05-07 8:03 ` Marek Lindner
0 siblings, 2 replies; 3+ messages in thread
From: cmsv @ 2013-05-07 7:36 UTC (permalink / raw)
To: haijian sun; +Cc: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1.1: Type: text/plain, Size: 2170 bytes --]
i have not tried to compile for android as i am for now just looking at
its possibility in theory but i am interested in hearing about your
progress.
In regards to the mailing list you need to register yourself to be able
to email it.
On 05/05/2013 04:58 AM, haijian sun wrote:
> Hi,
> Recently, I'm doing a research on MANET, I choose batman-adv as my
> research protocol, I want to use it on Android, batmand works ok, but,
> when I use batman-adv, a lot of problems occurs.
> # insmod batman-adv.ko
> # insmod: init_module 'batman-adv.ko' failed, <Exec format error>
> I want to know what happens, so I use the command dmesg
> # dmesg | grep batman
> # batman_adv: version magic '2.6.30.4-EmbedSky mod_unload ARMv4
> ' should be '2.6.32.9-perf preempt mod_unload ARMv6
>
> so, I know it is the imcompatibility of my phone's kernel version and
> the compile tool's, which seems easy to solve. But, here is the
> question, If I want to develope a software for a lot of users, I can't
> get their kernel version and compile each batman-adv.ko for them, and
> unfortunately, android has various different versions.
> How about let android compile its own batman-adv.ko? But I think it is
> of great difficulity.
>
> I read your email ''batman-adv and android as mesh client'', and as
> far as I know, guys from ITU use batmand, which is on OSI layer 3, and
> we also already implemented it, it is easier. But, the question is
> batman-adv is more complicated and associated with linux kernel, I know
> a community called servalproject also involved in this, and they are
> doing quiet well, but they also use batmand.
> I think the first step to do this is to open the phone's ad-hoc mode,
> which we already implemented, and then compile batman-adv.ko for
> android, this is difficult and relys much on kermel version.
> Hope to hear suggestions from you. By the way, each time when I send a
> email to b.a.t.m.a.n@lists.open-mesh.org
> <mailto:b.a.t.m.a.n@lists.open-mesh.org>, they autosend me an email with
> ''message rejected by filter rule match'' and I don't know why.
> Cheers,
> Sun Haijian.
[-- Attachment #1.2: 0x782BF73E.asc --]
[-- Type: application/pgp-keys, Size: 36799 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] Have you considered compiled a batman-adv.ko for android?
2013-05-07 7:36 ` [B.A.T.M.A.N.] Have you considered compiled a batman-adv.ko for android? cmsv
@ 2013-05-07 7:49 ` Marek Lindner
2013-05-07 8:03 ` Marek Lindner
1 sibling, 0 replies; 3+ messages in thread
From: Marek Lindner @ 2013-05-07 7:49 UTC (permalink / raw)
To: b.a.t.m.a.n, cmsv
On Tuesday, May 07, 2013 15:36:09 cmsv wrote:
> In regards to the mailing list you need to register yourself to be able
> to email it.
No, that is not correct. Everyone can mail to the mailing list as long as you
are not sending HTML. HTML mails are automatically dropped as explained here:
http://www.open-mesh.org/projects/open-mesh/wiki/MailingList
Cheers,
Marek
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] Have you considered compiled a batman-adv.ko for android?
2013-05-07 7:36 ` [B.A.T.M.A.N.] Have you considered compiled a batman-adv.ko for android? cmsv
2013-05-07 7:49 ` Marek Lindner
@ 2013-05-07 8:03 ` Marek Lindner
1 sibling, 0 replies; 3+ messages in thread
From: Marek Lindner @ 2013-05-07 8:03 UTC (permalink / raw)
To: b.a.t.m.a.n, haijian sun
On Tuesday, May 07, 2013 15:36:09 cmsv wrote:
> > so, I know it is the imcompatibility of my phone's kernel version and
> > the compile tool's, which seems easy to solve. But, here is the
> > question, If I want to develope a software for a lot of users, I can't
> > get their kernel version and compile each batman-adv.ko for them, and
> > unfortunately, android has various different versions.
> >
> > How about let android compile its own batman-adv.ko? But I think it is
> > of great difficulity.
You are right that compiling a kernel module for different versions and
kernels out there is an uphill battle. An application in userspace is better
suited for this approach. Alternatively, you have to convince the manufacturer
to build batman-adv by default - batman-adv is part of the stock Linux kernel
after all.
Nonetheless, even if you manage to solve the software compilation,
distribution and adhoc mode inavailability / wifi bugs with different drivers
you still have biggest issue unaddressed: power consumption. Ad-hoc mode has
no power save mode I know of which leads to a steady battery drain as soon as
you turn on your wifi. You don't even need to turn meshing and you can watch
your smartphone's battery die
Of course, driving into the desert to show how 2 smartphones can talk to each
other over a mesh is quite catchy but totally impractical in today's life.
Until power saving can be solved in an intelligent manner everything else is a
pointless exercise.
And no, carrying a car battery in your hand bag to power your phone is not a
practical solution either. ;-)
Cheers,
Marek
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-07 8:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAJy53=m47HpBE2vYsspJAVkyKR9OaV5gUTyxFvAzuEUo8FDpMg@mail.gmail.com>
2013-05-07 7:36 ` [B.A.T.M.A.N.] Have you considered compiled a batman-adv.ko for android? cmsv
2013-05-07 7:49 ` Marek Lindner
2013-05-07 8:03 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox