brvphoenix / wrtbwmon

Shell scripts for bandwidth monitor on linux
73 stars 26 forks source link

It seems that only the client data of br-lan interface can be counted. #2

Closed tty228 closed 4 years ago

tty228 commented 4 years ago

Model: Phicomm K3 Architecture: ARMv7 Processor rev 0 (v7l) Firmware Version: OpenWrt 19.07.2 r10947-65030d81f3 / LuCI openwrt-19.07 branch git-20.057.55219-13dd17f (v19.07.2 release) wrtbwmon: 1.2.0-1 luci-app-wrtbwmon: 2.0.0-2

1 2 3

The version from pyrovski can be displayed correctly. Did you turn off the detection of other interfaces? Or my own problem. In addition, WAN interface and LAN interface are not correctly noted.

brvphoenix commented 4 years ago

@tty228 If the total traffic value is zero, it will not been displayed in the table. You can try to turn on the option 'show zero'.

tty228 commented 4 years ago

@tty228 If the total traffic value is zero, it will not been displayed in the table. You can try to turn on the option 'show zero'.

I turned on this option, but still can't display other interface device data.

Device is under 192.168.4.0/24 subnet. It seems that the data of PPPoE WAN interface is not read either. 捕获 微信截图_20200402014619

The software works normally when it is in the br-lan interface.

捕获2 微信截图_20200402015819

brvphoenix commented 4 years ago

Try this https://github.com/brvphoenix/wrtbwmon/suites/566313825/artifacts/3753120.

tty228 commented 4 years ago

捕获

Thank you very much. Now it's great.

brvphoenix commented 4 years ago

Besides, the interface with MAC address 00:00:00:00:00:00 is the PPPoE WAN. It is defined by the OpenWrt.