thelonelycoder
Part of the Furniture
I am also interested if and how it works on that fork...has anyone tested this with johns fork?
I am grateful for every feedback, please mention router model and firmware used.
I am also interested if and how it works on that fork...has anyone tested this with johns fork?
I assume this will detect partitions on a USB stick? How big a partition would you recommend for the install?1. Detect attached devices (ext2/ext3/ext4,fat), select where to install the files
Do you mind running this command for me and post the value (should be 0):Yes, it has installed anyway without error.
Router is AC87U with the latest 380.57.2_HGG-FINAL firmware with optware-ng . After the reboot is the same... I have placed the script in the /home/root directory, after the install I have removed the script.
nvram get lan_dns_fwd_local
A typical install with the Extended hosts file (with some backups if you have a existing dnsmasq.postconf and services.start file) is about 12 MB.I assume this will detect partitions on a USB stick? How big a partition would you recommend for the install?
My friend: Click on the List of Adblockers link on that page. Is my super duper simple adblocker listed there?Ok.. So I have this installed, but how can I tell that it is working?
I tried a site like http://www.adblocktest.com/ and it shows that an ad-blocker is not working.
I turned on the dns logging but I don't see any blocking occurring there.
Thanks.
Yes, it show 0Do you mind running this command for me and post the value (should be 0):
Code:nvram get lan_dns_fwd_local
That's what it's supposed to be. My script did absolutely fine then.Yes, it show 0
Then why I see ads all of my devices?That's what it's supposed to be. My script did absolutely fine then.
Do you use IPV6 or dnscrypt / vpn?Then why I see ads all of my devices?
Also would you mind sending me your nvram settings file? It would help tremendously in finding the culprit and how to warn users during setup that some settings can cause AdBlocking not working.Do you use IPV6 or dnscrypt / vpn?
What is the DNS Server set to when you run ipconfig/all in a command prompt on your winbox (ifconfig on *nix)? It should point to your routers IP.
nvram show | sort > /jffs/nvram.txt
I can send you the TXT tomorrow morning.Also would you mind sending me your nvram settings file? It would help tremendously in finding the culprit and how to warn users during setup that some settings can cause AdBlocking not working.
If you run
And attach the file to a private message. ThanksCode:nvram show | sort > /jffs/nvram.txt
My friend: Click on the List of Adblockers link on that page. Is my super duper simple adblocker listed there?
It shows a red NOT WORKING with my perfectly working setup here...
Try a website you frequent that is riddled with ads.
The output of the dnsmasq.log file will show entries like these:
dnsmasq[19047]: /tmp/mnt/sda1/adblocking/hosts-adblock settings-win.data.microsoft.com is 0.0.0.0
dnsmasq[19047]: /tmp/mnt/sda1/adblocking/hosts-adblock spynet2.microsoft.com is 0.0.0.0
dnsmasq[19047]: /tmp/mnt/sda1/adblocking/hosts-adblock s2.symcb.com is 0.0.0.0
You may have to reboot your router. Also interesting would be your router model and firmware to further help. And if you have IPV6 enabled.
i have it running on johns fork 16e1.I am also interested if and how it works on that fork...
I am grateful for every feedback, please mention router model and firmware used.
Thanks for the explanation. I will try your script this evening.An automatic uninstall is planned in one of the next beta releases.
For the time being (and if you had no other scripts installed on your router before running my setup script):
Remove the following files:
/jffs/scripts/services-start
/jffs/scripts/dnsmasq.postconf
And then reboot your router. This will effectively disable AdBlocking.
Then you can also remove the adblocking and adb-backup (may not exist) folders on your USB device.
You need an external device such as a USB-Stick to run this on.Thanks for the explanation. I will try your script this evening.
Another quick question. Would WGET and put it in /tmp/home/root be oke with the file size? Or do you advise using a USB stick?
You need an external device such as a USB-Stick to run this on.
Edit: Do you mean to wget the install script and run it from there?
Best method in my opinion! Go ahead.
Not at all, its only about 15 KB at the moment.Yes I meant WGET the install script and install it. Great.
So I not have to worry about free space?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!