Posted: Thu Jul 30, 2015 0:59 Post subject: Asus RT-AC56U adblock
I recently upgraded from a Linksys WRT54G with DD-WRT to the Asus RT-AC56U with DD-WRT. Everything is working except that for some reason the adblock command script that I had working on the old Linksys does not work on my Asus.
I must first preface this by saying I know very little about Unix/Linux and am probably exploring territory that everyone will say I don't belong. With that being said, I don't understand why my script from my old router which did work great does not work on this router even though there are both running DD-WRT.
Here is what I have in my startup script:
Code:
#!/bin/sh
sleep 10
logger "WAN up script executing"
if test -s /tmp/hosts0
then
rm /tmp/hosts0
fi
Also posting a screenshot of the code in case this tag doesn't work properly.
Again, I am not a Nix guy so when I see things like grep,sed,etc I have no idea what it is doing. I basically grabbed this from some other user's post and it was working great before.
I wouldn't have switched routers except that I recently went from a 16Mb connection to 75Mb and quickly discovered that the Linksys was maxing out at around 25Mb. As soon as I changed routers I immediately jumped to the 75Mb.
I also saw a lot of postings about getting adblock to work by more advanced functionality like having a proxy service running on the router and installing merlin (or something like that) but it was all well beyond me.
Is there a step by step newbie guide for doing something like this? All I want is for my kids to not get bombarded with "Game of Fire" and other type nonsense ads that seem to be everywhere these days.