I'd like to have network traffic statistic for my Raspberry Pi 2. The best program for it, that I know, is vnstat. Is avaiable to add it to LibreElec source and then recompile it? As I understood, LibreElec is based on Buildroot. I saw vnstat there. If I copy that package from Buildroot to LibreElec, would I succeed to add vnstat? Or should I do something more for it?
vnstat
-
Rinaldus -
May 29, 2016 at 12:24 PM -
Thread is Resolved
-
-
- Official Post
LibreELEC is not based on buildroot so their packages will not translate directly. We loosely follow the recipe principles from Welcome to Linux From Scratch! but the main source of instruction is "prior art" in the current buildsystem.
-
It could be that simple
Code
Display MoreLibreELEC:~ # LibreELEC:~ # vnstat -sh: vnstat: not found LibreELEC:~ # LibreELEC:~ # # No vnstat? Then let's try another way LibreELEC:~ # LibreELEC:~ # opkg install vnstat Installing vnstat (1.18-1) to root... Downloading http://bin.entware.net/x64-k3.2/vnstat_1.18-1_x64-3.2.ipk Configuring vnstat. LibreELEC:~ # LibreELEC:~ # vnstat -v vnStat 1.18 by Teemu Toivola <tst at iki dot fi> LibreELEC:~ # LibreELEC:~ # vnstat -l Monitoring eth0... (press CTRL-C to stop) rx: 5 kbit/s 9 p/s tx: 1 kbit/s 0 p/s