lime-packages icon indicating copy to clipboard operation
lime-packages copied to clipboard

lime.network: mesh_ifaces to return up&running ifaces

Open germanferrero opened this issue 3 years ago • 3 comments

Currently it retrieves mesh and adhoc interface names from the uci-config. But, in some cases this interfaces cannot be setup and it is not available, let's say the case in which the radio hardware is missing. Currently if this is the case the LimeApp will show the interface in the align page without handling it correctly (i.e, it stucks in a loading message state). I think that returning only mesh and adhoc interfaces which are under /sys/class/net/ would be more useful, for this and other use cases.

germanferrero avatar Mar 23 '21 00:03 germanferrero

Where should be done, this change? In this file? https://github.com/libremesh/lime-packages/blob/master/packages/lime-system/files/usr/lib/lua/lime/network.lua

ilario avatar Nov 18 '22 15:11 ilario

Can anyone confirm this is a real problem? Can the hardware be different from what OpenWrt thinks? In this case, is it going to appear in /etc/config/network?

ilario avatar Feb 24 '23 17:02 ilario

As @germanferrero is not actively developing for LibreMesh right now, @spiccinini do you think you can manage this?

ilario avatar Feb 27 '23 11:02 ilario