Applies to · Hiveton H5000M · ImmortalWrt 24.10-SNAPSHOT · cdc_ncm
What to check
Read RX/TX byte and timestamp twice on the same physical data interface.
Connect over Ethernet and run the following commands in an SSH session on the router.
date +%s
ip -s link
sleep 2
date +%s
ip -s link
How to interpret the result
For example, if RX increases by 1,000,000 bytes over 2 seconds, the rate is 4 Mbit/s. If the figures differ by a factor of eight, check bytes versus bits. For short spikes, align the start and end of the sample intervals. Count the bridge or its underlying device, not both.
GeeksMeta verified the command output on OpenWrt 25.12.6 VM (r33311-981c978eff). In the same output from ip -s link show dev lo, RX shows 4937635 bytes and 65235 packets. A second time point is still needed to calculate bytes per second.
Verify and recover
Measure the same transfer and interface over matching intervals. Compare the graph with the counter-derived rate, accounting for bursts. Restore the original sampling interval.
Related guide · Where to capture packets on OpenWrt when a TCP handshake times out
Comments