thelonelycoder
Part of the Furniture
AB-Solution is now Diversion
Please check the Diversion website for latest version and discussion link.
Welcome to AB-Solution Ad-blocking!
Please check the AB-Solution website for latest version and discussion link.
The important part:
The install process is as simple as one can make a shell script install.
Download the latest version from GitHub and place the file ab-solution.sh onto a ext2, ext3 or ext4 formatted USB Stick.
Plug it into the router, open a ssh terminal and start the install with
Your path may be different but for many it is sh /tmp/mnt/sda1/ab-solution.sh
Within a few minutes the installation is finished and ads are blocked.
You can also wget the latest version by entering this into the terminal:
Note: ALL previous installs of the AdBlock-wchfa can be updated without the need to remove it first.
Even a install of "Adblocking with combined hosts files" is reliably detected and replaced.
The script should remain on the router for later use as it is no longer just a install script.
Remember to clear your OS's DNS cache as well as your browsers. This is important.
Hit CTRL-F5 for a complete refresh of a webpage.
The Background of AB-Solution:
This is a continuation of AdBlocking with combined hosts file, that led to the automated version, aptly named Adblock WCHFA. The intensive beta phase is over and a better suited name was suggested by @ICDeadPpl the other day. Many thanks, loved that name from the start!
Many thanks also to the brave beta testers. Your input and suggestions were and are a great help and motivates extremely.
The long version, lets just list the highlights.
The install script is more like a control center now than just a installer.
- See the attached screenshots for an overview
- Turn on or off Ad-Blocking in seconds
- Turn on or off logging in seconds
- Three types of amalgamated hosts files to chose from
- Change hosts file type in seconds (the largest might take a minute or two to process though)
- Process whitelist without the need to rerun the update script. Thanks @faria for the real fast method!
- Follow the logfile without the need to enter the command (# tail -f /var/log/mylife...)
Then, improvements were made as follows:
- removes blank and empty lines in black- and whitelist.txt. This caused many a problem
- services-start and dnsmasq.postconf sensibly delay the adding of the entries to dnsmasq. This also caused a lot of grief for many and I hope to have it solved, for the time being.
- Syslog entries clearly define when and why the scripts are run. Look for this scripts name in the log..
- Final file check are made before the install script proudly declares that Ads be gone now!
Here's how the control center looks like:
http://i.imgur.com/RAnMIBg.png
Please check the Diversion website for latest version and discussion link.
Welcome to AB-Solution Ad-blocking!
Please check the AB-Solution website for latest version and discussion link.
The important part:
The install process is as simple as one can make a shell script install.
Download the latest version from GitHub and place the file ab-solution.sh onto a ext2, ext3 or ext4 formatted USB Stick.
Plug it into the router, open a ssh terminal and start the install with
Code:
sh ab-solution.sh
Within a few minutes the installation is finished and ads are blocked.
You can also wget the latest version by entering this into the terminal:
Code:
wget https://raw.githubusercontent.com/decoderman/AB-Solution/master/ab-solution.sh --no-check-certificate
Note: ALL previous installs of the AdBlock-wchfa can be updated without the need to remove it first.
Even a install of "Adblocking with combined hosts files" is reliably detected and replaced.
The script should remain on the router for later use as it is no longer just a install script.
Remember to clear your OS's DNS cache as well as your browsers. This is important.
Hit CTRL-F5 for a complete refresh of a webpage.
The Background of AB-Solution:
This is a continuation of AdBlocking with combined hosts file, that led to the automated version, aptly named Adblock WCHFA. The intensive beta phase is over and a better suited name was suggested by @ICDeadPpl the other day. Many thanks, loved that name from the start!
Many thanks also to the brave beta testers. Your input and suggestions were and are a great help and motivates extremely.
The long version, lets just list the highlights.
The install script is more like a control center now than just a installer.
- See the attached screenshots for an overview
- Turn on or off Ad-Blocking in seconds
- Turn on or off logging in seconds
- Three types of amalgamated hosts files to chose from
- Change hosts file type in seconds (the largest might take a minute or two to process though)
- Process whitelist without the need to rerun the update script. Thanks @faria for the real fast method!
- Follow the logfile without the need to enter the command (# tail -f /var/log/mylife...)
Then, improvements were made as follows:
- removes blank and empty lines in black- and whitelist.txt. This caused many a problem
- services-start and dnsmasq.postconf sensibly delay the adding of the entries to dnsmasq. This also caused a lot of grief for many and I hope to have it solved, for the time being.
- Syslog entries clearly define when and why the scripts are run. Look for this scripts name in the log..
- Final file check are made before the install script proudly declares that Ads be gone now!
Here's how the control center looks like:
http://i.imgur.com/RAnMIBg.png
Last edited: