2

I'm using vnstat on Ubuntu GNOME 13.10 32-bit to monitor my Internet usage. Running vnstat gives network statistics only for eth0 and wlan0, but since I access Internet using a USB dongle, its network shows up as ppp0 under ifconfig. How do I get vnstat to show network statistics for ppp0?

1 Answer 1

0

After installing vnstat you need to create a database for your interface ppp0. Run the following command

sudo vnstat -u -i ppp0

Force a database update for interface ppp0 or create the database if it doesn't exist. This is usually the first command used after a fresh install.
See man page

8
  • I did it. But on calling vnstat it displays ppp0: Not enough data available yet.. I've used enough Internet for the data to be displayed.
    – nsane
    Jun 14, 2014 at 16:00
  • Force update again vnstat -u -i ppp0 then vnstat -i ppp0, @nisargshah95
    – totti
    Jun 14, 2014 at 16:58
  • @nisargshah95 does it work ?
    – totti
    Jun 16, 2014 at 9:04
  • Nope. It still says ppp0: Not enough data available yet. even though I've used ppp0 for a day now. There should be something to show...
    – nsane
    Jun 16, 2014 at 17:21
  • 1
    Here pastebin.com/yEswNzJf @totti
    – nsane
    Jun 19, 2014 at 20:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .