I have a netgear nighhawk r7000 router with the DD-WRT "Kong Mod" release: 04-19-2016. I was trying to block ads directly on the router with pixelserv following this tutorial (and yes I have set the script to be executable).
Unfortunately it doesn't work.
It is written in the tutorial that saving the command for startup like this /jffs/dns/disable_adds.sh
should result in the script beeing run at startup.
When trying to start the script directly like written above via the command shell of the webinterface of the router I get the following message:
sh: eval: line 1: /jffs/dns/disable_adds.sh: not found
Trying an echo $PWD
in the mentioned command shell returns /www
which is a folder parallel in the hierarchy to /jffs
.
Using ls ../jffs/dns
in the same shell does show that the script is found where it is supposed to be. Trying to run the script with ../jffs/dns/disable_adds.sh
produces the same message as above.
It seems worth noting that the output field sometimes doesn't show anything even with just echo and that more than one command also doesn't seem to work
I have no idea how to proceed now to find out why the router doesn't acknowledge the existance of the script and how to get it to run.
Edit: I guess I should mention that I already tried following the troubleshooting steps at the end of the mentioned tutorial and that I'm trying to get it to work from a pc with windows 7.
Edit2: I formatted the text a bit as was suggested in the comments and added some more information. I hope it is more readable now.
/jffs/dns/
is not the same as../jffs/dns