How to monitor network traffic and log it.
-
Hello,
I recently set up an Onion Omega2 as a router and I'd love to monitor the amount of traffic going through the Onion.
I'd love to be able to ssh and read a log, or better, have a web interface showing me network statistics.
This is a good example of what i want to accomplish but couldn't manage to make it work on OnionOs: https://openwrt.org/docs/guide-user/services/network_monitoring/vnstat
-
In your build system run:
./scripts/feeds update
./scripts/feeds install vnstat
make menuconfigSelect vnstat under the Network menu. Exit and save
make
Your vnstat can then be transferred to your device.