GregariousJB
New Around Here
Though I've been entrenched in the computer world for over 20 years, router configuration remains one of my few weak areas of expertise.
My interest is in preventing YouTube ads on my Android device much like Adblock on my desktop (or the newer, apparently better uBlock).
I followed the How to use Adblock Plus filter subscriptions to provide advertisement filtering to devices, which was a nightmare to get through since it required Entware, connecting to the router via Putty, reformatting a USB drive into Ent2/3, etc - all things I've never done before.
However, when I was finished, my phone was blocking ALL websites but still showing the damn ads on the Youtube app. So, I deleted my firewall-start and set off to find a new solution.
I have some Linux experience and so found the hosts file itself via Putty (I actually use mRemoteNG, which is just a nice GUI for Putty). I've been using the Amalgamated hosts file from StevenBlack on my desktop and it's been working fine, so I figure why not use it for the router's hosts file?
I realize now I'm probably doing it the slow way, but I ended up opening my router's hosts file in VIM and copy/pasting all 30,631 lines into it. It took several hours to complete (for reasons unknown - it's just text - but it was pasting one line per second towards the end), but it's done nonetheless.
Alas, websites are no longer blocked, but Youtube ads are STILL SHOWING.
My next step is to root my Android phone (Moto G) and edit the hosts file within it, but I'd prefer to avoid that in order to retain the warranty.
Any words of wisdom for me?
Edit: Windows 7 64bit, AsusWRT-Merlin 376.49_5
My interest is in preventing YouTube ads on my Android device much like Adblock on my desktop (or the newer, apparently better uBlock).
I followed the How to use Adblock Plus filter subscriptions to provide advertisement filtering to devices, which was a nightmare to get through since it required Entware, connecting to the router via Putty, reformatting a USB drive into Ent2/3, etc - all things I've never done before.
However, when I was finished, my phone was blocking ALL websites but still showing the damn ads on the Youtube app. So, I deleted my firewall-start and set off to find a new solution.
I have some Linux experience and so found the hosts file itself via Putty (I actually use mRemoteNG, which is just a nice GUI for Putty). I've been using the Amalgamated hosts file from StevenBlack on my desktop and it's been working fine, so I figure why not use it for the router's hosts file?
I realize now I'm probably doing it the slow way, but I ended up opening my router's hosts file in VIM and copy/pasting all 30,631 lines into it. It took several hours to complete (for reasons unknown - it's just text - but it was pasting one line per second towards the end), but it's done nonetheless.
Alas, websites are no longer blocked, but Youtube ads are STILL SHOWING.
My next step is to root my Android phone (Moto G) and edit the hosts file within it, but I'd prefer to avoid that in order to retain the warranty.
Any words of wisdom for me?
Edit: Windows 7 64bit, AsusWRT-Merlin 376.49_5
Last edited: