[lime] FYI libremesh and openwrt 21.03.2

Delete this message

Reply to this message
Author: gothos
Date:  
To: libremesh
New-Topics: Re: [lime] FYI libremesh and openwrt 21.02.3
Subject: [lime] FYI libremesh and openwrt 21.03.2
Hi all,

I've some devices whose support was added starting from openwrt v21
I tried in past to use them but libremesh seemed to doesn't work correctly
 From the device I can see the other nodes via batman via `batctl n` and 
reach them via `batctl p`
but not ping them via ipv4 or hostname (they anyway are reachables via 
ipv6 link-local)

I made a build with openwrt 21.03.2 and libremesh at branch 
librerouteros ( 0bddc6b50da6f13b1fd20a28f5c4d557c3819737 )
for the target ath79 generic tplink_cpe510-v3
and i saw that the interface bat0 was not present in the main bridge br-lan,
and when I add it the nodes start reaching each other via ipv4

root@ninux-3c9a4e:~# brctl show
bridge name    bridge id        STP enabled    interfaces
br-lan        7fff.b095753c9a4e    no        eth0
                                               wlan0-ap
                            wlan0-apname
root@ninux-3c9a4e:~# brctl addif br-lan bat0
root@ninux-3c9a4e:~# /etc/init.d/network restart

I retried the same procedure with the same openwrt and lime version on 
another device that also has a dedicated wan port
a ramips mt76x8 tl-mr6400-v4

in this device there was also a weird error, because the lan device 
eth0.1, is not added correctly to network.lan.ifname
and is there is instead `eth0`.
Also here I add bat0 to the main bridge, via `brctl addif br-lan bat0`
and the device start connecting to other nodes via ipv4 and hostname

Hope it could be helpful as a workaround for devices supported only from 
the latest releases

-- 
gothos
PGP Key ID: 0x6406B32F2CEC0008
PGP Key server: https://keys.openpgp.org/