steelman10
Occasional Visitor
Make sure you do check the Daily or Monthly page. Hourly traffic is not saved, because it would make the data file grow astronomically after a few months.
Do you reboot your router cleanly (with either the webui or ssh), or are you just power-cycling? Doing a power-cycle will cause issues, with unwritten data still in buffer and so on.
Are you running in router mode? Traffic monitoring is not officially supported while in AP mode.
Also check the router's logfile to see if there is any error message.
I can have yet another look at that code just in case, but so far I am unable to reproduce this issue here. My own traffic stats go all the way back to April 2012, despite many dozens of reboot during that whole year.
I think I managed to get it to work, and I may have found the issue along the way.
To eliminate as many variables as possible I went ahead and reset to the factory defaults using the GUI and reformatted the flash drive (ext2).
The first time I plugged in the USB drive it mounted as /mnt/sdb1. I mapped the traffic history to /mnt/sdb1/traffic/. (yes for Create or reset data files)
After a reboot the USB drive mounted as /mnt/sda1. The traffic history would not load.
So, then all I did was change the history location to /mnt/sda1/traffic/ (no for Create or reset data files). The next time I rebooted the history survived!
I think the issue was the USB drive path changing after the first reboot.
Last edited: