IPTV is a total unknown because I don't have any experience with it. I might suggest (and ask for other's thoughts) to try Vnstat on vlan10 and see what happens (honestly I'm not sure whether vnstat handles vlans very well or even at all). Try it and let us know.Will this work with my settlings? nvram get wan0_ifname shows vlan10
I did not see this conflict in my testing, so this may be an edge case.Everything seems to be back running OK (but I lost the vnstat history).
vnstat --exportdb > /path/to/vnstat-export-db.txt
which will export your current database/opt/etc/init.d/S33vnstat kill
, followed by vnstat --importdb /path/to/vnstat-export-db.txt -i eth0 --force
(enter the correct interface for your setup), followed by /opt/etc/init.d/S33vnstat start
Thanks, good to know. I just realized that there is an Uninstall option in the vnstat menu when run at the terminal. I should have used that (was not paying attention when I ran it to see if it was still running and didn't look at all the options --DOH!).I did not see this conflict in my testing, so this may be an edge case.
For others that want to purge and reset, you could consider exporting your current usage data and importing it. I describe those steps on the Vnstat on Merlin github site.
Export/import:
a. Export withvnstat --exportdb > /path/to/vnstat-export-db.txt
which will export your current database
Re-import the data by running
b./opt/etc/init.d/S33vnstat kill
, followed by
c.vnstat --importdb /path/to/vnstat-export-db.txt -i eth0 --force
(enter the correct interface for your setup), followed by
d./opt/etc/init.d/S33vnstat start
I did notice on one occasion that the import cause a "spike" in daily use (on the date of import). I could not repeat it (that did not occur on subsequent imports) but I put it out there for the sake of complete disclosure.
Do you have a system log from this reboot?I rebooted my router and the spdMerlin and vnStat Tabs are no longer displayed on the Addons Tab in Merlin GUI
View attachment 31548
But, if I go into XShell, I can see that both are still running.
Here is spdMerlin
View attachment 31549
And, Here is vnstat
View attachment 31550
How do I get the pages back? The only change I made recently was adding VNSTAT, so I am assuming this is a vnstat issue and not a spdMerlin issue. In any case, Jack Yaz posts here, too.
What should I do to solve this?
Thanks
If the Entware team honour my package request and update vnstat to v2.x, yes, as that version moves from a c struct database to Sqlite. Sqlite is used by my chart pages, so it should be trivial to hook upDev_Null
I have a suggestion for vnstat. Is there any way to add a graph that shows rx & tx over time. I'm thinking something similar to the way spdMerlin shows dl & ul bandwidth over various time
View attachment 31577
Your time frames could be 1 week, 1 month, 1 year or something similar.
Thanks
I tried to PM you but I could not figure out how to attach a file to a PMDo you have a system log from this reboot?
Please upload it to pastebin as unlisted and pm me the linkI tried to PM you but I could not figure out how to attach a file to a PM
As Jack commented, he's opened a ticket to hopefully get Entware/vnstat updated. I'd be interested in seeing what magic can be done with sqlite.Dev_Null
I have a suggestion for vnstat. Is there any way to add a graph that shows rx & tx over time. I'm thinking something similar to the way spdMerlin shows dl & ul bandwidth over various time
Your time frames could be 1 week, 1 month, 1 year or something similar.
Thanks
looks like the ol' NTP delayI rebooted my router and the spdMerlin and vnStat Tabs are no longer displayed on the Addons Tab in Merlin GUI
View attachment 31548
But, if I go into XShell, I can see that both are still running.
Here is spdMerlin
View attachment 31549
And, Here is vnstat
View attachment 31550
How do I get the pages back? The only change I made recently was adding VNSTAT, so I am assuming this is a vnstat issue and not a spdMerlin issue. In any case, Jack Yaz posts here, too.
What should I do to solve this?
Thanks
May 5 01:12:25 RT-AC86U-07F8 uiScribe: NTP failed to sync after 5 minutes. Please resolve!
May 5 01:12:25 RT-AC86U-07F8 spdMerlin: NTP failed to sync after 5 minutes. Please resolve!
Currently my NTP setup is:looks like the ol' NTP delay
I'm not sure why dn-vnstat didn't print a similar log entry. I'm going to take a look at improving this a bit, I think.Code:May 5 01:12:25 RT-AC86U-07F8 uiScribe: NTP failed to sync after 5 minutes. Please resolve! May 5 01:12:25 RT-AC86U-07F8 spdMerlin: NTP failed to sync after 5 minutes. Please resolve!
Maybe if this gets integrated we'll have a fully reliable way on 386 https://github.com/RMerl/asuswrt-merlin.ng/pull/707
Considering moving to the diskmon event that @dave14305 suggested, but it feels wrong to use that event!
Currently I deliberately design my scripts so the tab mounts don't happen if NTP doesn't sync (for scripts that need time accuracy such as dn-vnstat, spdMerlin etc.) as a clear indicator something isn't right. Perhaps I should still mount the tab but with a message warning re. NTP...I'll experiment
As Jack commented, he's opened a ticket to hopefully get Entware/vnstat updated. I'd be interested in seeing what magic can be done with sqlite.
For me the beauty of the current view - and the reason I pursued vnstat (vnstati) as opposed to other Entware tools - is you can see "at a glance" the current usage: for all time periods, in a condensed manner with no further drop-downs or other manipulation. I'm a very big fan of "glances" or "dashboards".
(Telling example: years ago someone posted a workaround that allowed dd-wrt users to see all settings on a single, scrollable page. It was about 30 screens long, but everything was there, on one page. Swoon!)
If the Entware team honour my package request and update vnstat to v2.x, yes, as that version moves from a c struct database to Sqlite. Sqlite is used by my chart pages, so it should be trivial to hook up
Hi @JohnD5000,Currently my NTP setup is:
View attachment 31632
Should I add something to Secondary NTP? Should I enable Local NTP? Should I change NTP Server? Thanks.
--user "$USERNAME:$PASSWORD" $SSL_FLAG
* Closing connection -1
curl: (3) URL using bad/illegal format or missing URL
dn-vnstat: Summary statistic email failed to send
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!