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

Disable QOS from the shell

Discussion in 'Tomato Firmware' started by rs232, Aug 21, 2009.

  1. rs232

    rs232 Network Guru Member

    Hello, as I've set shaping in input for some type of traffic and I'm very happy with it. Now I'd like to disable either the shaping or directly QoS after 1am and re-enable it after 9am.
    Is there any way to achieve this with the sceduler?
    What would it be the command?

    Regards
    rs232
     
  2. Toastman

    Toastman Super Moderator Staff Member Member

    service qos stop

    service qos start
     
  3. rs232

    rs232 Network Guru Member

    Thanks I also have found the qos config file. So If I do a:

    Code:
    tc filter del dev eth1  parent ffff: prio 4 protocol ip handle 4 fw police rate 900kbit burst 50kbit drop flowid ffff:4
    tc filter del dev eth1 parent ffff: prio 5 protocol ip handle 5 fw police rate 900kbit burst 50kbit drop flowid ffff:5
    at midnight

    and a
    Code:
    tc filter add dev eth1  parent ffff: prio 4 protocol ip handle 4 fw police rate 900kbit burst 50kbit drop flowid ffff:4
    tc filter add dev eth1 parent ffff: prio 5 protocol ip handle 5 fw police rate 900kbit burst 50kbit drop flowid ffff:5
    at 8am

    it should do the job.
     

Share This Page