well fairly this script is not working for my 1043nd v2
it says connecting to...
Updating adblocker FAILED!
witch lead me to the clue either curl is not working or something else, i just cant find where it dl the stuff
what is the difference in using this method vs. using a pihole as DNS server? PiHole would be better to configure, as new lists can be added easily, are there other differences? Is the method used the same - DNS blocking on both?
Joined: 16 Nov 2015 Posts: 6436 Location: UK, London, just across the river..
Posted: Sun Jun 02, 2019 10:07 Post subject:
hmmm i don't have a pi but i do use an this ad-block script as long as it does the job, on pi you might have better options for it, also there are some other ad-blocking scripts for ddwrt routers that are more advanced...
as far efficiency is concerned, those are host lists based scripts...blocking works only if you use the local DNS, if you use unbound, DoH or DoT it wont work i guess...
so if you can do it on Pi hole instead you may be more efficient...the other question is if this will hit speed performance instead... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
I use this script above running as a cron job. What I like about this host file, its a collection of multiple host files from various contributors with Steven Black Host file leading the way.
https://github.com/StevenBlack/hosts
its currently blocking 39k addresses..
This script has been running fine for me for six months now.
I just upgraded my router to v3.0-r43420 std (06/15/20)
Now, that command line fails. I get the error "Illegal instruction".
I've run that single line pipe by pipe, and it doesn't fail until the "sort -u >/tmp/hosts1" command.
I removed the "sort -u" and sent the output up until then directly to hosts1. That script runs. But the hosts0 file is significantly larger because of duplicates.
This script has been running fine for me for six months now.
I just upgraded my router to v3.0-r43420 std (06/15/20)
Now, that command line fails. I get the error "Illegal instruction".
I've run that single line pipe by pipe, and it doesn't fail until the "sort -u >/tmp/hosts1" command.
I removed the "sort -u" and sent the output up until then directly to hosts1. That script runs. But the hosts0 file is significantly larger because of duplicates.
Thoughts?
That hosts file has no duplicates so not sure which url/s you are curling. Replace the sort with: