core
core copied to clipboard
Throughput widget non-functional on RJ-45<->Switch/Hub links
RJ-45<->switch/hub links throughput widget remain fixed at 0 bps.
I'm having this issue with links between two switches
I think we only supported layer 3 nodes with the Throughput Widget, so routers, servers, PCs, etc. but not hubs/switches.
In the Tcl/Tk code, getstats_link_ifname()
looks for "NETWORK" nodes on either side of a link. If the node is a "LINK" type (the hub/switch node) it is skipped. This function would need to be fixed to get the proper interface name mapping. The widget periodically reads /proc/net/dev
for stats.
GUI development is now focused on the Python/Tk GUI. So I wouldn't expect a fix to the old GUI, unless you are willing to update the code and submit a PR.
I just checked the Python GUI and it has the same issue. The Python GUI doesn't even display a throughput label