thelonelycoder
Part of the Furniture
This script is out of beta and released as AB-Solution.
Thank you to all the brave testers!
Please check the Diversion website for latest version and discussion link.
The beta is no longer under development.
I've gone all the way and automated the setup of AdBlocking with combined hosts file.
Hence the (preliminary) name Adblock WCHFA, the A stands for automated.
The way it works is you put the setup script on a USB device, plug it into the router and run it from a terminal.
The script guides you through the setup steps, so far I have the following implemented:
1. Detect attached devices (ext2/ext3/ext4,fat), select where to install the files
2. Choose directory name for the files to be placed in on the device
3. Checks for previous Adblock WCHFA or the manual install of the linked thread above
4. Backup of /jffs/* before changes are made to dnsmasq.postconf and services-start files
5. Select dnsmasq logging on or off at install. If set to on, a rotation script is added to prevent large log file(s)
6. Generation of combined hosts file during setup, auto updates once a week
7. No reboot of router required to make it active
I have tested it on my two routers, RT-AC66U and RT-AC87U with each the current stable asuswrt-Merlin 378.56_2 as well as the 380.57_alpha4 build with a selection of devices attached to them.
The script will work on a vanilla install of asuswrt-Merlin, no additional software packages are needed to make it do it's magic.
Soon I will be at a stage where I need some beta testers to run the script on other Asus models and firmware versions, with a greater variety of attached USB devices.
I don't know when I will release this script to the public. But for now I'd like to have a small group only to give feedback and maybe even contribute to the code.
One other important goal I have is to find a mechanism to allow the SmallNetBuilder site and this forum to be exempt from ad-blocking. There are ways to do this but I am not there yet and need help in that regard.
In fact, this is a mandatory requirement for me to release a public version of this automated script.
If you are interested in becoming a beta tester please leave a reply and let me know why you'd like to participate and what router model(s) you have.
No PM's please, I will gently ignore them.
(intentionally no code posted in this post...)
Good news: Testing starts now! See post #7
Thank you to all the brave testers!
Please check the Diversion website for latest version and discussion link.
The beta is no longer under development.
I've gone all the way and automated the setup of AdBlocking with combined hosts file.
Hence the (preliminary) name Adblock WCHFA, the A stands for automated.
The way it works is you put the setup script on a USB device, plug it into the router and run it from a terminal.
The script guides you through the setup steps, so far I have the following implemented:
1. Detect attached devices (ext2/ext3/ext4,fat), select where to install the files
3. Checks for previous Adblock WCHFA or the manual install of the linked thread above
4. Backup of /jffs/* before changes are made to dnsmasq.postconf and services-start files
5. Select dnsmasq logging on or off at install. If set to on, a rotation script is added to prevent large log file(s)
6. Generation of combined hosts file during setup, auto updates once a week
I have tested it on my two routers, RT-AC66U and RT-AC87U with each the current stable asuswrt-Merlin 378.56_2 as well as the 380.57_alpha4 build with a selection of devices attached to them.
The script will work on a vanilla install of asuswrt-Merlin, no additional software packages are needed to make it do it's magic.
Soon I will be at a stage where I need some beta testers to run the script on other Asus models and firmware versions, with a greater variety of attached USB devices.
I don't know when I will release this script to the public. But for now I'd like to have a small group only to give feedback and maybe even contribute to the code.
One other important goal I have is to find a mechanism to allow the SmallNetBuilder site and this forum to be exempt from ad-blocking. There are ways to do this but I am not there yet and need help in that regard.
In fact, this is a mandatory requirement for me to release a public version of this automated script.
If you are interested in becoming a beta tester please leave a reply and let me know why you'd like to participate and what router model(s) you have.
No PM's please, I will gently ignore them.
Good news: Testing starts now! See post #7
Last edited: