* [B.A.T.M.A.N.] Version help
@ 2018-10-22 17:51 Corey Combs
2018-10-22 18:11 ` Simon Wunderlich
2018-10-22 18:15 ` Sven Eckelmann
0 siblings, 2 replies; 3+ messages in thread
From: Corey Combs @ 2018-10-22 17:51 UTC (permalink / raw)
To: b.a.t.m.a.n
Hello,
I'm currently working on a project that uses BATMAN for a mesh network
across multiple Beagle Bone Blacks which are running a Debian version
7.9 at the moment. They also are running batctl debian-2012.1.0-1
[batman-adv 2012.5.0]. I would like to connect a laptop to the
existing network either using Debian or Ubuntu, however I have run
into issues with compatibility. I configured everything identically
with the laptop and I believe I'm connected to the network, but I
cannot see any other devices on the network. Is it advisable to
upgrade the version of batctl on the 'bone or downgrade the version on
debian or Ubuntu so that the versions align? Or is there something
else I am missing in my efforts?
My process for configuring the BBB and the laptop follow this
construct, using appropriate hardware names when required. I have it
all in a script that runs on startup so it differs a little from the
lines below. Each node has it's own assigned IP address as well.
modprobe batman-adv
batctl if add eth0
ifup wlan0
ifconfig wlan0
ifconfig wlan0 down
ifconfig wlan0 mtu 1532
iwconfig wlan0 mode ad-hoc essid reynoldsplus ap CA:FE:C0:DE:F0:0D channel 11
batctl if add wlan0
ifconfig wlan0 up
ifconfig bat0 up
ifconfig bat0 10.200.8.1
route add default gw 10.0.99.1
echo bat0 > /sys/class/net/eth0/batman_adv/mesh_iface
echo 1 > /proc/sys/net/ipv4/ip_forward
Thank you.
Corey
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] Version help
2018-10-22 17:51 [B.A.T.M.A.N.] Version help Corey Combs
@ 2018-10-22 18:11 ` Simon Wunderlich
2018-10-22 18:15 ` Sven Eckelmann
1 sibling, 0 replies; 3+ messages in thread
From: Simon Wunderlich @ 2018-10-22 18:11 UTC (permalink / raw)
To: b.a.t.m.a.n; +Cc: Corey Combs
[-- Attachment #1: Type: text/plain, Size: 1829 bytes --]
Hi Corey,
there are some differences between batman-adv <2013.4 and after that. Please
see here:
https://www.open-mesh.org/projects/batman-adv/wiki/Compatversion
In general, we would advise to update both Kernelmodule and batctl to
something newer. 2012 is ... ancient.
Cheers,
Simon
Monday, October 22, 2018 1:51:21 PM CEST Corey Combs wrote:
> Hello,
>
> I'm currently working on a project that uses BATMAN for a mesh network
> across multiple Beagle Bone Blacks which are running a Debian version
> 7.9 at the moment. They also are running batctl debian-2012.1.0-1
> [batman-adv 2012.5.0]. I would like to connect a laptop to the
> existing network either using Debian or Ubuntu, however I have run
> into issues with compatibility. I configured everything identically
> with the laptop and I believe I'm connected to the network, but I
> cannot see any other devices on the network. Is it advisable to
> upgrade the version of batctl on the 'bone or downgrade the version on
> debian or Ubuntu so that the versions align? Or is there something
> else I am missing in my efforts?
>
> My process for configuring the BBB and the laptop follow this
> construct, using appropriate hardware names when required. I have it
> all in a script that runs on startup so it differs a little from the
> lines below. Each node has it's own assigned IP address as well.
>
> modprobe batman-adv
> batctl if add eth0
> ifup wlan0
> ifconfig wlan0
> ifconfig wlan0 down
> ifconfig wlan0 mtu 1532
> iwconfig wlan0 mode ad-hoc essid reynoldsplus ap CA:FE:C0:DE:F0:0D channel
> 11 batctl if add wlan0
> ifconfig wlan0 up
> ifconfig bat0 up
> ifconfig bat0 10.200.8.1
> route add default gw 10.0.99.1
> echo bat0 > /sys/class/net/eth0/batman_adv/mesh_iface
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> Thank you.
>
> Corey
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [B.A.T.M.A.N.] Version help
2018-10-22 17:51 [B.A.T.M.A.N.] Version help Corey Combs
2018-10-22 18:11 ` Simon Wunderlich
@ 2018-10-22 18:15 ` Sven Eckelmann
1 sibling, 0 replies; 3+ messages in thread
From: Sven Eckelmann @ 2018-10-22 18:15 UTC (permalink / raw)
To: Corey Combs; +Cc: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 1634 bytes --]
On Montag, 22. Oktober 2018 19:51:21 CEST Corey Combs wrote:
> I'm currently working on a project that uses BATMAN for a mesh network
> across multiple Beagle Bone Blacks which are running a Debian version
> 7.9 at the moment. They also are running batctl debian-2012.1.0-1
> [batman-adv 2012.5.0].
Uhm, 2012.5.0 is extreme old and I would advise not to use such an old
version. And beside that, it is using COMPAT_VERSION 14 [1]. The current
COMPAT_VERSION is 15 - batman-adv kernel modules with different
COMPAT_VERSIONs cannot talk to each other.
> I would like to connect a laptop to the
> existing network either using Debian or Ubuntu, however I have run
> into issues with compatibility. I configured everything identically
> with the laptop and I believe I'm connected to the network, but I
> cannot see any other devices on the network. Is it advisable to
> upgrade the version of batctl on the 'bone or downgrade the version on
> debian or Ubuntu so that the versions align? Or is there something
> else I am missing in my efforts?
Why batctl? The biggest problem here is the extreme old batman-adv version
which is not compatible with every batman-adv version since 2014.
And btw. you didn't tell us what batman-adv version your laptop is using. If
they are really using the same version then it could be that either the laptop
or the beagle bone blacks have problems with their wifi driver. Wouldn't be
the first time that things like broadcast or unicast communication via IBSS
is broken with some wifi hw/driver.
Kind regards,
Sven
[1] https://www.open-mesh.org/projects/batman-adv/wiki/Compatversion
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-10-22 18:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-22 17:51 [B.A.T.M.A.N.] Version help Corey Combs
2018-10-22 18:11 ` Simon Wunderlich
2018-10-22 18:15 ` Sven Eckelmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox