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

QoS Stop/Start Script help

Discussion in 'Tomato Firmware' started by Oreo1982, Dec 31, 2009.

  1. Oreo1982

    Oreo1982 Addicted to LI Member

    Hi all,

    I'm running Tomato 1.27 and trying to figure out how to enable and disable QoS based on a script. I've tried 'service qos start' and 'stop' but it doesn't seem to work!

    Also, is there any way of using a script to alter parameters of the classification list?
    Like altering the Class assigned to a Match Rule based on time of day.

    Thank you for your help!
     
  2. bogderpirat

    bogderpirat Network Guru Member

    you might want to try modyfing the nvram variables that show up under

    nvram show | grep qos_

    (i.e. qos_enable) and doing your "service qos restart" afterwards. not quite sure if it works that way, but it sorta seemed to stick for me.
     
  3. Oreo1982

    Oreo1982 Addicted to LI Member

    Hey, your solution works great! Thanks for the help :D
     
  4. Toastman

    Toastman Super Moderator Staff Member Member

    Where did you put the script? Maybe the script runs before QOS has been started, anyone tried a delay before the script runs - say "wait 5" or something? That would prove the point.
     
  5. Oreo1982

    Oreo1982 Addicted to LI Member

    Well, I tried the start and stop service commands while Tomato was already up in BusyBox, but it didn't seem to have any effect...

    I've tested it using the method of nvram set qos_enable=0, service qos restart and that seems to work just fine!

    The purpose was that I wanted to limit a range of ports, but only during some daytime hours, and then QoS wasn't necessary at night.
     
  6. Toastman

    Toastman Super Moderator Staff Member Member

    That's odd, I start and stop it all the time. I use RAF1.23 version though, maybe there's some difference. Anyway, have a Happy New Year !
     
  7. Oreo1982

    Oreo1982 Addicted to LI Member

    I think it might be your RAF version... I'm thinking about getting on that bandwagon once the RAF based on 1.27 comes out! Heard it's a lot more optimized...

    Happy New Year! :)
     

Share This Page