SoAd blocking on Firmware: DD-WRT v3.0-r40559 std (08/06/19)

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
Beeanka
DD-WRT Novice


Joined: 07 Dec 2015
Posts: 10

PostPosted: Thu Nov 26, 2020 21:30    Post subject: SoAd blocking on Firmware: DD-WRT v3.0-r40559 std (08/06/19) Reply with quote
It is TP-Link ARCHER-C7 v2 with DD-WRT v3.0-r40559 std.

I had followed instructions from this page: https://wiki.dd-wrt.com/wiki/index.php/Ad_blocking

The settings do not seem to take a stance against Ads.

I could access URIs in browsers mentioned in https://winhelp2002.mvps.org/hosts.txt with no problems. Running a PING command resolves to original IP of say static.uk.addynamo.com

Restarted router, restarted several machines, nara.

Where do I look?
Sponsor
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 2046

PostPosted: Thu Nov 26, 2020 21:48    Post subject: Reply with quote
11/21/2020 - r44849 | 11/24/2020 - r44863

Do not use Chrome or Chromium-based web browsers with DD-WRT Web GUI firmware upgrade.

Pale Moon, Waterfox (Current 78 or Classic 56), Firefox ESR 78 or Firefox Portable Legacy (ESR 52 or 45).

...or Internet Explorer or Safari. Please disable add-ons, extensions, plugins & clear all history in advance.

As for ad blocking, there are lots different methods and threads about it though I just use uBlock Origin.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=307533

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327028

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=326525

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=326292

This isn't all of them, so use search or duckduckgo etc.


Last edited by blkt on Thu Nov 26, 2020 22:10; edited 2 times in total
Beeanka
DD-WRT Novice


Joined: 07 Dec 2015
Posts: 10

PostPosted: Thu Nov 26, 2020 21:58    Post subject: Reply with quote
I am on FireFox 84.0b4 (64-bit) with UBLock.
Beeanka
DD-WRT Novice


Joined: 07 Dec 2015
Posts: 10

PostPosted: Fri Nov 27, 2020 13:33    Post subject: Reply with quote
--Just put this script into "Startup":--

Code:
#!/bin/sh
logger WAN up script executing
if test -s /tmp/hosts0
then
        rm /tmp/hosts0
fi

logger Downloading http://winhelp2002.mvps.org/hosts.txt
wget -O - http://winhelp2002.mvps.org/hosts.txt | grep 0.0.0.0 |
   sed 's/[[:space:]]*#.*$//g;' |
   grep -v localhost | tr ' ' '\t' |
   tr -s '\t' | tr -d '\015' | sort -u >/tmp/hosts0
grep addn-hosts /tmp/dnsmasq.conf ||
   echo "addn-hosts=/tmp/hosts0" >>/tmp/dnsmasq.conf
logger Restarting dnsmasq
killall dnsmasq
dnsmasq --conf-file=/tmp/dnsmasq.conf


I also tried to run the command in Administration/Commands/Run Commands and get the following error message:

Code:
sh: eval: line 17: syntax error: unexpected end of file (expecting "then")


Sorry I am new to Shell...
servicetech
DD-WRT User


Joined: 26 Jun 2019
Posts: 294

PostPosted: Fri Nov 27, 2020 15:18    Post subject: Re: SoAd blocking on Firmware: DD-WRT v3.0-r40559 std (08/06 Reply with quote
Beeanka wrote:
It is TP-Link ARCHER-C7 v2 with DD-WRT v3.0-r40559 std.

I had followed instructions from this page: https://wiki.dd-wrt.com/wiki/index.php/Ad_blocking

The settings do not seem to take a stance against Ads.

Restarted router, restarted several machines, nara.

Where do I look?


The r40559 build has issues on other quite similar hardware. Most issues are fixed on the r40750 build.
I would reset all settings , update to a known good build for C7 v2 (r41791 or r41113) reset to default settings again and manually redo your config, that avoids importing a bad config into an updated system.
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 5383
Location: Texas

PostPosted: Fri Nov 27, 2020 15:46    Post subject: Reply with quote


servicetech
DD-WRT User


Joined: 26 Jun 2019
Posts: 294

PostPosted: Fri Nov 27, 2020 18:47    Post subject: Reply with quote
I know that there are browser plugins, if someone wants a centralised solution, a dynamically created "blacklist" on the main "gateway" should work quite similar. Am I wrong ?
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 1517
Location: WCentral Indiana USA

PostPosted: Fri Nov 27, 2020 19:31    Post subject: Reply with quote
I used this one from eibgrad for a while before deciding I didn't really need it.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=326525

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=326292

_________________
STUBBY DoT install guide----Forum Guide Lines (Please read!) --- How to get help the right way----PIA Setup Guide by egc----Reports
Beeanka
DD-WRT Novice


Joined: 07 Dec 2015
Posts: 10

PostPosted: Sat Nov 28, 2020 20:15    Post subject: Reply with quote
@servicetech

Thank You for your recommendations. I was starting to think that the firmware needs to be updated as well.

Did not look at the updates for a while. Now that we got more devices/kinds/OSs on this network I think it would be better to run things from one location.

I also tried putting the script mentioned on WIKI into Firewall section - No Cigar.
servicetech
DD-WRT User


Joined: 26 Jun 2019
Posts: 294

PostPosted: Sun Nov 29, 2020 12:18    Post subject: Reply with quote
Beeanka wrote:
@servicetech

Thank You for your recommendations. I was starting to think that the firmware needs to be updated as well...


You are welcome. Since BS publishes a lot of builds the challenge is to pick up a "rocksolid" one from the betas published for the hardware. Posts from other owners of the same hardware are really helpful, this makes it possible to do some "preselection". Appreciate any info what build is working reliable for you here:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321284

PS: I do not own a C7 but its a really common budget device with a small cpu, so its in my list
Beeanka
DD-WRT Novice


Joined: 07 Dec 2015
Posts: 10

PostPosted: Mon Nov 30, 2020 18:25    Post subject: Reply with quote
This is what I might not understand:
Beeanka
DD-WRT Novice


Joined: 07 Dec 2015
Posts: 10

PostPosted: Mon Nov 30, 2020 18:26    Post subject: Reply with quote
Did I originally load wrong version of WRT? ..2 instead of 3?


And if do where do I find the latest?

Thank You for you help!!!
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 2046

PostPosted: Mon Nov 30, 2020 19:53    Post subject: Reply with quote
Do you have the files originally downloaded? Not sure which builds you used previously, but here is r40559.

You can compare file hash or checksum, for example with freeware HashMyFiles from NirSoft.

Beeanka wrote:
And if do where do I find the latest?

I already answered this, so scroll up to the top.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 7610
Location: Texas, USA

PostPosted: Mon Nov 30, 2020 22:18    Post subject: Reply with quote
1) Please resize your images to ~765-800 pixels wide.

2) Don't use the router database. There is a disclaimer on the landing page that tells you it is out of date and to look in the forum and wiki.

3) https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/

_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net
Beeanka
DD-WRT Novice


Joined: 07 Dec 2015
Posts: 10

PostPosted: Wed Dec 02, 2020 14:56    Post subject: Reply with quote
@kernel-panic69 - Thank You.

1) Sorry. Got it.
2) Got it
3) So in my case it would be this as the latest: https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/11-24-2020-r44863/tplink_archer-c7-v3/ . Or should I go with something earlier?
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum