libremesh / lime-packages

LibreMesh packages configuring OpenWrt for wireless mesh networking
https://libremesh.org/
GNU Affero General Public License v3.0
277 stars 96 forks source link

Batman web interface does not draw the graph #159

Closed nicopace closed 6 years ago

nicopace commented 7 years ago

expected behaviour: graph of nodes at http://thisnode.info/cgi-bin/luci/batman/graph

actual behaviour: nothing is shown screenshot from 2017-06-14 22-50-19

code involved: https://github.com/libremesh/lime-packages/blob/develop/packages/luci-app-batman-adv/files/usr/lib/lua/luci/controller/batman.lua

FreifunkUFO commented 7 years ago

i tried that with former (karl helga openwrt cc) libremesh version firmware, there also was no graph.

ilario commented 7 years ago

If I get this right, it's a duplicate of #110 and #1. All of these issues depends on the fact that luci-app-batman-adv uses batctl vd for obtaining data, but this feature was moved to batadv-vis command which is part of the alfred package which is installed in all LibreMesh flavors (gets selected by dnsmasq-distributed-hosts and dnsmasq-lease-share packages). So solving this could be as easy as replacing "batctl vd" for "batadv-vis" here (to be verified).

p4u commented 7 years ago

PR on this issue would be very welcome :)

ilario commented 6 years ago

Closed by #225