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

Satellite Bandwidth Monitoring

Discussion in 'Tomato Firmware' started by Mykhx, May 30, 2013.

  1. Mykhx

    Mykhx Reformed Router Member

    Hello,

    I have satellite internet, it has a monthly cap of only 10 Gb. They have a usage monitor but it is not in real time.

    So, I bought a WRT54GL and flashed Tomato 1.28 on it so I can monitor bandwidth in real time on my network. However my satellite internet has a "Late Night Free Zone" which allows unlimited usage from 12 am to 5 am. If I download something from 12am - 5am it is not counted toward my cap, but obviously tomato still records it toward the total bandwidth usage.

    How can I get tomato to ignore usage from 12 am to 5 am? Is it possible with a script? I also noticed under Administration/Scheduler there is a place to set up a command that can be run at a specific time, would this work somehow to accomplish what I want?

    Thanks for your help.
     
  2. Mykhx

    Mykhx Reformed Router Member

    So I am guessing this is not possible without some major programming to tomato?
     
  3. Monk E. Boy

    Monk E. Boy Network Guru Member

    I imagine you could turn off bandwidth monitor at 12am and turn it back on at 5am and accomplish what you want, though I don't know the commands to do so.
     
  4. fubdap

    fubdap Addicted to LI Member

    Bandwidth.PNG As suggested by Monk E. Boy. Look at the image above. Disable and do your download and enable when you are done.
     
  5. lancethepants

    lancethepants Network Guru Member

    If you find how to do it at the command line, you could place it in the scheduler to automatically startup and shutdown at those times.
     
  6. Victek

    Victek Network Guru Member

    stop iptraffic counters using scheduler utility by setting ending time, starting time:
    service cstats stop
    and to continue...
    service cstats start

    Then you may have an accurate day,week, monthly report of traffic counters and machines
     
    Monk E. Boy likes this.
  7. jerrm

    jerrm Network Guru Member

    Reminds me of a (very) minor wish list item - an option in service to list what's available if called without arguments.

    I just go to the source to find the values, but many probably can't or don't know how to do that. I don't think we would even need descriptions if we just had a list. Is it service www or service http or service httpd? Is it service syslog or service log or service logging? etc, etc.
     
  8. Monk E. Boy

    Monk E. Boy Network Guru Member

    Documentation is always a good thing and saves a lot of confusion, but it takes a lot of time to document.

    At my last job I was the only guy who actually took decent notes in the change control system, everyone else just put in one line descriptions that not even they could look at later and remember what they did.
     
  9. Mykhx

    Mykhx Reformed Router Member

    This is exactly what I needed. I am using rstat instead of cstat, I needed to stop just bandwidth monitoring.

    I found that from here http://technologician.wordpress.com/2013/05/17/tomato-bandwidth-monitoring/

    Thanks everyone for the help, much appreciated.
     
  10. Victek

    Victek Network Guru Member

    You can find service name and a short description for each in the source ../release/src/router/rc/services.c and init.c for services when router starts, may be it's a little bit cryptic for non C language readers but it helps.

    Thanks, glad to solve the original request.
     

Share This Page