What's new

[Beta] Adblock WCHFA (Closed, use AB-Solution thread).

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Thanks guys for your feedback's so far, seems to work well for all of you except if you use ipv6 (no surprise there).
I'll look into ipv6 when my ISP switches over. Until then, only ipv4 is supported with my scripts.

I have further improved my local development version:
- No reboot required after setup
- Complete install log
- An existing services-start file will not be replaced
- some minor inconsistencies

I aim to release the 0.9.5_beta this Sunday.
 
Installed extended config on my RT-AC68U. So far, so good. I like the install script menu. Adding a choice for Disable or Uninstall would be a nice to have feature. Thanks for the work!
 
Last edited:
0.9.5_beta is out for testing!

As stated in the previous post, the following improvements were made:
- No reboot required after setup
- Complete install log
- An existing services-start file will not be replaced
- some minor inconsistencies

You can wget the file with:
Code:
wget http://raw.githubusercontent.com/decoderman/AdBlock-wchfa/master/adblock-setup.sh --no-check-certificate
Download:
Github
 
Last edited:
Installed extended config on my RT-AC68U. So far, so good. I like the install script menu.
Good to hear! Thanks
Adding a choice for Disable or Uninstall would be a nice to have feature.
You know, this is still a beta release.
But it is high up on my to do list...
 
Any advantages to using this method if you already have the manual method setup and running? Aside from the automated setup this method brings is there any functional difference between this and your original method?
 
Any advantages to using this method if you already have the manual method setup and running? Aside from the automated setup this method brings is there any functional difference between this and your original method?
Not really. And it depends which version you've installed.
If the one you have is working then there is no reason to use the automated script.

I have some nice features planned for the 1.0 release. You might reconsider then...
 
Sweet. So far this is working, where other solutions would not. I am actually one of those bad guys that runs an adserver for my job. It would be very helpful if I could only allow one computer on my network to be whitelisted. So my internal address is 192.168.0.10 can I whitelist everything going to that computer?

I appreciate your work!
 
Hello, first of all thanks for the effort of making this script. I have a relatively noob question is that, how do I actually navigate to the directory of the USB that has been attached to the router? I have been trying to ssh and telnet to the usb directory but it keeps on showing the "permission denied" message. With that being the case, I would like to know what is the proper command to navigate to the USB directory?

Any help would be appreciated.
 
Hello, first of all thanks for the effort of making this script. I have a relatively noob question is that, how do I actually navigate to the directory of the USB that has been attached to the router? I have been trying to ssh and telnet to the usb directory but it keeps on showing the "permission denied" message. With that being the case, I would like to know what is the proper command to navigate to the USB directory?

Any help would be appreciated.
you could try winscp to navigate through the directories of the router.
set it up fpr the scp connection and input the credentials.
dont forget to turn on ssh acces on the router.

then you can place the script on ssd and see the full directory.
input the directory line in ssh command line and follow the instructions:)
 
you could try winscp to navigate through the directories of the router.
set it up fpr the scp connection and input the credentials.
dont forget to turn on ssh acces on the router.

then you can place the script on ssd and see the full directory.
input the directory line in ssh command line and follow the instructions:)
Thanks for the reply. I've placed the script onto the stick through scp. But I'm still getting the permission denied message when trying to execute it. I've input the full directory command line in ssh as "/tmp/mnt/sda1" and still getting the error. Any workarounds?
 
Thanks for the reply. I've placed the script onto the stick through scp. But I'm still getting the permission denied message when trying to execute it. I've input the full directory command line in ssh as "/tmp/mnt/sda1" and still getting the error. Any workarounds?
If your stick is called sda1 and adblock-setup.sh is placed there then you can start the setup with:
Code:
sh /tmp/mnt/sda1/adblock-setup.sh
 
Is there an easy way to test if it's working ?
Visit a webpage that you know is full of ads.
You should see the difference immediately.

Make sure you clear your browsers cache first and if you're on windows to run ipconfig/flushdns in a command prompt.
 
Yeah I know but I had Addblocker on chrome so i don't find a page that it's full of adds LOL
Use a different browser or your phone to test.
 
If your stick is called sda1 and adblock-setup.sh is placed there then you can start the setup with:
Code:
sh /tmp/mnt/sda1/adblock-setup.sh
Thanks a bunch! It works great now!

Just wondering though, will the adblock lists be updated regularly by itself through the url?
 
Thanks a bunch! It works great now!

Just wondering though, will the adblock lists be updated regularly by itself through the url?
If you read the output of the script during setup you'd know...
Of course it does, once every week on Friday 2am.
Since 0.9.5_beta this has changed to be the weekday you ran the setup script.
So, if you run the setup script on Thursday, the hosts file will update at 2am every Thursday.
 
0.9.5.1_beta is out for testing!

This is a minor bug fix release.
Also, the router prompts for a reboot before setup continues if initial checks requires it.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top