-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Launch on Boot (Asus Merlin) #327
Comments
Does cake-autorate run when the launcher script is manually run? |
Yes it does |
Should be easy to fix but this is Asus Merlin specific. Perhaps it is a path or permissions issue. @dave14305? |
Entware isn’t in the path yet when the system boots, so custom scripts executed by init (pid 1) prefer the built-in paths first. Try adding |
But autorate is still not running after reboot. |
@RMerl or @LiveWire1968 any chance you could advise here? Namely, according to @davidjirovec, manually launching:
works, but the following qos-start script:
does not operate on boot (even though the qos-start script is itself executed as confirmed by touching files as suggested in the documentation). |
Does it run after running Maybe the USB with Bash isn’t mounted yet when QoS starts on boot? |
Ah good point @dave14305. I see that in his fork before we explicitly added support for Asus Merlin, @LiveWire1968 instead used:
|
And now it starts on boot! |
@lynxthecat For some reason my response didnt go through apparently the other day. It was a issue with |
Glad we got to the bottom of this. The README will need to be updated. Nice work all. @davidjirovec how does it run for you on Asus Merlin? |
Seems to be running fine, but I have a few questions. Typical result of buffer bloat test https://www.waveform.com/tools/bufferbloat?test-id=c2666ba8-bfac-46ca-ae01-ed827551ed88 My config
Upload active always causes higher latency than download active, is this normal? Can I do something for download and upload link load to have similar impact on latency? Also can I do something to get even better grade than B? When I've set cake manually to low bandwidth, something like 100/100 I got something like A+ grade. When I change the autorate configuration, is there a nice way to reload it? Since it is started by the post-mount script, only idea I have would be something like to kill the autorate processes and start the launcher again manually. Too complicated so I reboot the router instead. |
i added these lines by editing the post-mount with nano:
and it works great at boot. thanks for this. if for any reason the script stops on its own, then how to check that it has exited and then how to automate its start? |
cake-autorate works fine when run manually by calling cake-autorate.sh
When I want to make it launch on boot on Asus Merlin 3006.102.3 on RT-BE88U, it never starts and nothing appears in log.
Following the instructions here https://github.com/lynxthecat/cake-autorate/blob/master/INSTALLATION.md#launch-on-boot-asus-merlin results in
I tried also adding to post-mount, did not help.
Following the instruction https://github.com/RMerl/asuswrt-merlin.ng/wiki/User-scripts#troubleshooting-scripts I tried wrapping the luncher call with touch temp files.
Both tmp files are created, but cake-autorate is not running. What is wrong?
The text was updated successfully, but these errors were encountered: