Skip to contentSkip to conversation

how to compile the latest version of batctl in OpenWrt 12.09

B.A.T.M.A.N. liu 2 participants 4 messages Aug 14, 2014 – Aug 15, 2014

lore
Share & tools
lore

liu

author
#0 lore raw

Hello, I try to test the latest version of batman-adv in OpenWrt 12.09. I failed to compile 'batctl' because of the old version of 'libnl' in OpenWrt.The version '2014.3' and the development version of 'batctl' require 'libnl-3.0', but OpenWrt 12.09 only contain the 'libnl-2.0.1'. That's the problem. How to fix this? Anyone have built it in OpenWrt 12.09 yet?

Thanks.

Best regards

liu

author
#1 lore raw
Quoted 10 lines · liu

Hello, I try to test the latest version of batman-adv in OpenWrt 12.09. I failed to compile 'batctl' because of the old version of 'libnl' in OpenWrt.The version '2014.3' and the development version of 'batctl' require 'libnl-3.0', but OpenWrt 12.09 only contain the 'libnl-2.0.1'. That's the problem. How to fix this? Anyone have built it in OpenWrt 12.09 yet?

Thanks.

Best regards

liu

Now I switch to version '2013.4.0' of batman-adv.But when I run this command 'batctl if add wlan0-1', the system crash. And it works well in version '2012.3.0'. I want to know which version is suitable for OpenWrt 12.09?

Thanks.

Best regards

Liu

#2 lore raw
Quoted 4 lines · On Thursday 14 August 2014 17:16:28 liu wrote:

Now I switch to version '2013.4.0' of batman-adv.But when I run this command 'batctl if add wlan0-1', the system crash. And it works well in version '2012.3.0'. I want to know which version is suitable for OpenWrt 12.09?

We don't track which OpenWrt versions work with batman-adv. Technically, you have to check for kernel compatibilities. If the kernel is newer than batman- adv it probably won't work. Newer batman-adv on older kernel has a good chance of success.

Cheers,
Marek

author
#3 lore raw

Yes, I have tried. On a OpenWrt 12.09 with kernel 3.3.8, batman.adv-2014.3 CAN NOT creates a 'bat0' interface. You know, kernel '3.3.8' is a rather old kernel version, and '2014.3' is the latest batman.adv version.

Besides, I want to know that from which version the feature of non-mesh client roaming is available?

Thanks.

Best regards,
Liu

Quoted 12 lines · Marek Lindner
Quoted 4 lines · On Thursday 14 August 2014 17:16:28 liu wrote:

Now I switch to version '2013.4.0' of batman-adv.But when I run this command 'batctl if add wlan0-1', the system crash. And it works well in version '2012.3.0'. I want to know which version is suitable for OpenWrt 12.09?

We don't track which OpenWrt versions work with batman-adv. Technically, you have to check for kernel compatibilities. If the kernel is newer than batman- adv it probably won't work. Newer batman-adv on older kernel has a good chance of success.

Cheers,
Marek