Script to increase speedy queue/pppoe
- pppoe
- queue
- script
0
voters
I made a script for when it's midnight increases the speed of the connection, and 8 am back to normal, but it happens that everything gets crazy, the first time I ran the script, which increased it worked, then when it decreases, did not work, tried the same line of script on different servers and not the same result, I observed the following: SIMPLE QUEUE exists in the max-limit and limit-at, these two do not go together, then duplicated my script to work, but does not work.
my script:
--- increase profile ---
/ppp profile set [find rate-limit=160k/160k] rate-limit=320k/320k
/ppp profile set [find rate-limit=350k/350k] rate-limit=600k/600k
--- increase queues ---
/queue simple set [find max-limit=160000/160000] max-limit=320000/320000
/queue simple set [find max-limit=350000/350000] max-limit=600000/600000
/queue simple set [find limit-at=160000/160000] limit-at=320000/320000
/queue simple set [find limit-at=350000/350000] limit-at=600000/600000
--- decrease profile ---
/ppp profile set [find rate-limit=320k/320k] rate-limit=160k/160k
/ppp profile set [find rate-limit=600k/600k] rate-limit=350k/350k
--- decriase queues ---
/queue simple set [find limit-at=320000/320000] limit-at=160000/160000
/queue simple set [find limit-at=600000/600000] limit-at=350000/350000
/queue simple set [find max-limit=320000/320000] max-limit=160000/160000
/queue simple set [find max-limit=600000/600000] max-limit=350000/350000
OK, OK, I try to separate everyone.