On Sunday 29 April 2012 09:00:02 Antonio Quartulli wrote:
On Sun, Apr 29, 2012 at 01:56:02 +0200, Mitar wrote:
Hi!
Ubiquiti provides OpenWrt based SDK for their firmware. To my information, it contains some proprietary madwifi-based WiFi drivers with some older OpenWrt version. My question is how it would be possible to run Batman on top of their firmware (thus not latest OpenWrt). As Batman is in kernel, is is enough kernel-backwards compatible to be able to run also on older (2.6) kernel versions? For olsrd it is much simpler: you just install olsrd package and this is it.
batman-adv supports old kernel versions starting from 2.6.29. What kernel is exactly provided with that firmware? I know about someone else which still maintain compatibility with much older kernels, but I don't know the state. By the way keeping backward compatibility with older kernels is really difficult..
The oldest kernel supported by Marek's patches is [1] is 2.6.21. Ubiquiti uses something like 2.6.15 [2] (so more or less from the stone age; please correct me in case they ported the stuff to a newer kernel).
My personal recommendation: When you see somebody that real thinks that a over six year old, not-maintained-anymore kernel is the way to go: run away.
The oldest kernel we support is over three years old (not maintained anymore since 2 1/2 years) and the one supported by Mareks patches 5 years old (not maintained anymore since 4 1/2 years). These are also not real young and fresh and will be dropped as soon as there is any big problem in maintaining backward compatibility. The supported versions that will hopefully not go away so fast are 2.6.32 and 3.2.
Kind regards, Sven
[1] http://git.open-mesh.org/?p=marek/batman-adv.git;a=shortlog;h=refs/heads/com... [2] https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2010-April/002519.html