1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bandwidth monitoring

Discussion in 'Tomato Firmware' started by wycf, Sep 24, 2006.

  1. wycf

    wycf Network Guru Member

    Under Administration-->Bandwidth monitoring, the default setting is "temporary memory only". There are also few other settings. I am not sure how they work. Now I am using the default so when I reboot the router it lost all the records. I am not clear that how NVRAM,CIFS,JFFS,or User driectory works. Can someone teach me how to set it? I am using WRT54G v4 and I just want the router keep all the records even after the reboot.

    Thanks in advance.
  2. bokh

    bokh LI Guru Member

    Store BW-data offsite

    With NVRAM and JFFS the BW-data is stored on the device itself, with CIFS and "User directory" the data is stored offsite, e.g. on a Windows-share (or Samba-share on Unix-like systems) that resides on a system that is up and running 24/7. FYI: CIFS = Common Internet File System, specially designed for file- and printersharing by Microsoft, but (also) ported to Unix / Linux as Samba.
    I'm not very keen on the use of the first ones, but personally I configured Tomato to put it's BW-data on a share through the CIFS1-client. If you have a Windows-system you can create a (separate) folder where Tomato can store its data and enable the sharing of that same folder. HTH.
  3. lboregard

    lboregard LI Guru Member

    i did the same thing, created a share on a 24/7 ubuntu box. created a new user and tomato creates a new file in the home directory for this user. works just fine. i also setup my own iptables rules and run them from this share.
    it's a great firmware, working very stable so far, i just need to learn a bit more about qos.
  4. mala88

    mala88 Network Guru Member

    I also setup a CIFS directory to save monitor my bandwidth and the stats file is being saved correctly to my Windows share.

    However, if I reboot the router the bandwidth history is lost. Is this working properly for any of you? Are there any other settings to restore the bandwidth history after a reboot?
  5. turbo53

    turbo53 Network Guru Member

    When you say that the bandwidth history is lost, do you mean the "Current" graph, which is a 5 hour window, or do you mean the daily and monthly statistics?

    When I reboot, I lose the current bandwidth graph, but not the daily and monthly statistics. It seems that the current 5 hour window IS stored in memory, regardless of using a CIFS share, but the other statistics are saved to the share.
  6. mala88

    mala88 Network Guru Member

    All bandwidth stats including daily and monthly are gone after a reboot.
  7. bokh

    bokh LI Guru Member

    Major bummer

    This is really getting confusing...
    I use Tomato since v0.03 (Sept. 2006) and have my bandwidth-stats saved on a CIFS-share. After every UPGRADE I found my (old) daily and monthly stats, because they were saved off-site.

    Until last night when I had a power-failure, hence an unclean reboot. It appeared I had lost A L L my stats of the last 3 months... Indeed the stats-file was reset to zero.

Share This Page