All, thank you for the replies yesterday. Would you be able to offer some more insight into updating the 2 packages? I have had some successes, but not all the beagle bones have recognized the new version of batman-adv when I run batctl -v.
The general method I've been using is the script here https://gist.github.com/marvin/186a609d1e88f7426747 with version 2016.4. The starting version on the Beagle Bones is batctl debian-2012.1.0-1 > [batman-adv 2012.5.0] as mentioned previously. After running this script and doing a $ modprobe batman-adv followed by $ batctl -v I get $ batctl 2016.4 [batman-adv 2012.5.0].
I have also attempted to uninstall batctl and batman-adv with $ apt-get --purge remove batctl and $ apt-get --purge remove batman-adv and reinstall using the script, but that hasn't worked across all devices.
The laptop I have is running Debian 9.5 with batctl debian-2016.5-1 [batman-adv 2016.4] and the Beagles are running Debian 7.9. I would like to avoid reimaging the Beagles at this point in time. Please pardon my lack of knowledge on the topic, as I'm still relatively new to Linux and have been learning a great deal in the past few months. I greatly appreciate your help on the topic.
Regards, Corey
Hi Corey,
On Tuesday, October 23, 2018 10:22:29 AM CEST Corey Combs wrote:
All, thank you for the replies yesterday. Would you be able to offer some more insight into updating the 2 packages? I have had some successes, but not all the beagle bones have recognized the new version of batman-adv when I run batctl -v.
The general method I've been using is the script here https://gist.github.com/marvin/186a609d1e88f7426747 with version 2016.4. The starting version on the Beagle Bones is batctl debian-2012.1.0-1 >
Could you get even higher than 2016.4, like 2018.x? Or is your kernel too old?
[batman-adv 2012.5.0] as mentioned previously. After running this script and doing a $ modprobe batman-adv followed by $ batctl -v I get $ batctl 2016.4 [batman-adv 2012.5.0].
That looks like you still have the old kernel module loaded, or the new one not installed properly.
I have also attempted to uninstall batctl and batman-adv with $ apt-get --purge remove batctl and $ apt-get --purge remove batman-adv and reinstall using the script, but that hasn't worked across all devices.
Not sure if that is right, as batman-adv (at least nowadays) comes as part of the Linux kernel, and not as a Debian package. You can install/deinstall batctl using apt-get though.
The laptop I have is running Debian 9.5 with batctl debian-2016.5-1 [batman-adv 2016.4] and the Beagles are running Debian 7.9. I would like to avoid reimaging the Beagles at this point in time. Please pardon my lack of knowledge on the topic, as I'm still relatively new to Linux and have been learning a great deal in the past few months. I greatly appreciate your help on the topic.
You can check the selected kernel module using modinfo. Like that:
# modinfo batman-adv filename: /lib/modules/4.17.0-0.bpo.3-amd64/kernel/net/batman-adv/ batman-adv.ko alias: net-pf-16-proto-16-family-batadv alias: rtnl-link-batadv version: 2018.1 description: B.A.T.M.A.N. advanced author: Marek Lindner mareklindner@neomailbox.ch, Simon Wunderlich sw@simonwunderlich.de license: GPL srcversion: A1221167C25642EB4E48AE0 depends: libcrc32c,bridge,crc16 retpoline: Y intree: Y name: batman_adv vermagic: 4.17.0-0.bpo.3-amd64 SMP mod_unload modversions
Here you can also see the position where the kernel module is loaded from. This should show 2016.4 (or whatever version you wanted to install), if it doesn't, something went wrong in your installation.
Cheers, Simon
On Dienstag, 23. Oktober 2018 10:22:29 CEST Corey Combs wrote:
All, thank you for the replies yesterday.
Why did you start a new thread and why did you use such a non-specific subject?
Would you be able to offer some more insight into updating the 2 packages? I have had some successes, but not all the beagle bones have recognized the new version of batman-adv when I run batctl -v.
The general method I've been using is the script here https://gist.github.com/marvin/186a609d1e88f7426747 with version 2016.4.
The script mentions 2014.3.0. Anyway, both versions have known problems. See https://git.open-mesh.org/batman-adv.git/blob/HEAD:/CHANGELOG.rst
[..]
I have also attempted to uninstall batctl and batman-adv with $ apt-get --purge remove batctl and $ apt-get --purge remove batman-adv and reinstall using the script, but that hasn't worked across all devices.
Ok, I have no idea why it failed. Maybe because it wasn't successful? Or because there was a problem? Or was there maybe an error? ;)
A little bit more serious: Any info what failed? Any build errors? What does modinfo batman-adv say? Are there multiple batman-adv.ko in your /lib/modules/... and the wrong one was loaded by modprobe? Does `depmod -a` help (generates the module.dep again)?
The laptop I have is running Debian 9.5 with batctl debian-2016.5-1 [batman-adv 2016.4] and the Beagles are running Debian 7.9. I would like to avoid reimaging the Beagles at this point in time. Please pardon my lack of knowledge on the topic, as I'm still relatively new to Linux and have been learning a great deal in the past few months. I greatly appreciate your help on the topic.
I don't want to crush your hopes but if you use broken components then you will most likely end up with a broken finished product. And as I said earlier, there are numerous known problems in the batman-adv versions which you've mentioned earlier.
Kind regards, Sven
b.a.t.m.a.n@lists.open-mesh.org