Hey @elorimer I'm having a similar issue with the stats. I've checked and it appears dn-vnstat runs after reboot, but vnstat is "dead" based on running this command:I think I have resolved my issue with vnstat stopping unexpectedly. It coincides with a scheduled reboot, and at that time dn-vnstat starts but vnstat itself doesn't. I couldn't find out where in the starting sequence precisely it failed, but the S33 starting code is not necessary for me after the initial installation, I think, so I hard-coded the choice of jffs or usb storage location and removed the S32 tests. Now it starts on a reboot.
I seem to recall other instances where a lot of Sxx code created a race condition or some other starting issue. Not sure why, as other add-ons seems to run ok even with a lot; Scribe has a lot offloaded to another file that gets called, for example.
/opt/etc/init.d/S33vnstat check
/opt/etc/init.d/S33vnstat start
Hi,
Is there a way to transfer the stats across to a newer model of router ? I have it currently stored in jffs.
Please advise thanks
Hey @elorimer I'm having a similar issue with the stats. I've checked and it appears dn-vnstat runs after reboot, but vnstat is "dead" based on running this command:Code:/opt/etc/init.d/S33vnstat check
After starting vnstat using this command:the stats are updating just fine.Code:/opt/etc/init.d/S33vnstat start
Can you please post what you modified in /opt/etc/init.d/s33vnstat file?
Thanks.
@dev_null thanks! I've gone through those threads but no luck.Please also see: https://www.snbforums.com/goto/post?id=910373 and https://www.snbforums.com/goto/post?id=910422 (recent posts on this issue) and https://www.snbforums.com/goto/post?id=892704.
It would be helpful for you to add your configuration (router, firmware version, scripts) to your signature and describe your topology (setup).
dn-vnstat
script.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!