Closed geerlingguy closed 2 years ago
By editing https://github.com/MilhouseVH/bcmstat/blob/master/bcmstat.sh#L491, I could hack the change in...
--- if name.startswith("eth") or name.startswith("enxb827eb"):
+++ if name.startswith("eth1") or name.startswith("enxb827eb"):
It might be nice to allow the interface to be specified since it looks like you may have also been testing with enxb827eb
before. Like --iface eth1
and that just locks it into eth1.
Hi Jeff.
-ieth1
should work on the command line and allow you to use an alternative interface.
You can also set the default interface (and other properties) with, eg:
echo "ieth1 d1" > ~/.config/bcmstat.conf
Full help info available via bcmstat.sh -h
.
Glad you find this script useful - love what you do! 👍
Oh lol... could just look at help I guess. Closing this issue :)
I'm doing some testing with a network card
eth1
(not the built-ineth0
interface), and I'm seeing0
for bothRX B/s
andTX B/s
.Here's my proc/net/dev: