Vnstat bandwidth differs

Asked by Luis M.Jacinto on 2019-11-13

Ubuntu 16.04
vnStat 1.13
Huawei B618-E36F wifi router

Having a problem with vnstat total day end bandwidth figures.
PC is cable connect to router and the cell phone is wifi connect.
My ISP wifi bandwidth figures much higher than Vnstat monitored bandwidth nearly double.
It seems vnstat don't see cell phone bandwidth use.
How to correct this
Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2019-11-13
Last query:
2019-11-13
Last reply:
2019-11-13
Best Manfred Hampl (m-hampl) said : #1

vnstat can only report the usage statistics from the interfaces on the computer where it is running.

If your PC is connected with a cable and your mobile phone connects to the router via WLAN, then this does not touch your PC at all, and your PC will never know about your cell phone and its activities.

Most routers have some kind of reporting facility, maybe yours as well. Please check your documentation.

Luis M.Jacinto (ljacinto) said : #2

Thanks Manfred Hampl, that solved my question.