What's new
  • 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!

Thank you, i have format the USB drive and install x3mRouting and Diversion and now it works. But at the moment i don't know whats better Division or Pihole, i have both but at the moment is Diversion active.
 
Thank you, i have format the USB drive and install x3mRouting and Diversion and now it works. But at the moment i don't know whats better Division or Pihole, i have both but at the moment is Diversion active.
If you have an Asus router compatible with these scripts, I am liking Diversion more and more. It's fast, efficient, and reliable. I mean, technically you can send your WAN upstream to your Pi-hole if you really want, but filtering twice isn't going to provide much value.
 
No, i will not use both together, but only one of them. Pihole has been doing very well with me for the last few months and for the last one week i've been using Diversion
 
No, i will not use both together, but only one of them. Pihole has been doing very well with me for the last few months and for the last one week i've been using Diversion
So will Diversion. It too requires a learning curve to understand it, as any new thing does.
 
hello,
quick question, I'm getting the following error while trying to run pixel service:

Code:
/opt/bin/diversion: /opt/share/diversion/file/functions.div line 1776 syntax error unexpected ";;" (expecting "then")


syslog
Code:
Aug 15 19:30:26 kernel: pixelserv-tls[7848]: unhandled level 0 translation fault (11) at 0x47bf3e0dd00, esr 0x92000004
Aug 15 19:30:26 kernel: pgd = ffffffc011a5d000
Aug 15 19:30:26 kernel: [47bf3e0dd00] *pgd=0000000000000000, *pud=0000000000000000
Aug 15 19:30:26 kernel: CPU: 0 PID: 7848 Comm: pixelserv-tls Tainted: P           O    4.1.27 #2
Aug 15 19:30:26 kernel: Hardware name: Broadcom-v8A (DT)
Aug 15 19:30:26 kernel: task: ffffffc01393eb40 ti: ffffffc00a78c000 task.ti: ffffffc00a78c000
Aug 15 19:30:27 kernel: PC is at 0x7f8cdeae80
Aug 15 19:30:27 kernel: LR is at 0x7f8cdeb574
Aug 15 19:30:27 kernel: pc : [<0000007f8cdeae80>] lr : [<0000007f8cdeb574>] pstate: 80000000
Aug 15 19:30:27 kernel: sp : 0000007fc6ccba60
Aug 15 19:30:27 kernel: x29: 0000007fc6ccba60 x28: 0000007f8ce09000
Aug 15 19:30:27 kernel: x27: 0000007f8ce08000 x26: 0000007fc6ccc370
Aug 15 19:30:27 kernel: x25: 0000007f8cdf4000 x24: 0000000000000001
Aug 15 19:30:27 kernel: x23: 0000007fc6ccbc00 x22: 0000000000000000
Aug 15 19:30:27 kernel: x21: 0000007f8ce02ca0 x20: 0000000000000010
Aug 15 19:30:27 kernel: x19: 0000007f8ce033a0 x18: 0000000000000001
Aug 15 19:30:27 kernel: x17: 0000007fc6ccc4b8 x16: 0000000000554e47
Aug 15 19:30:27 kernel: x15: 0000007f8ce0a700 x14: 0000000000000000
Aug 15 19:30:27 kernel: x13: 0000007f8ce09008 x12: 0000000000000040
Aug 15 19:30:27 kernel: x11: 0000000000000001 x10: 0000000000000010
Aug 15 19:30:27 kernel: x9 : 0000000000000000 x8 : 0000007f8ce028b8
Aug 15 19:30:27 kernel: x7 : 0000000000000000 x6 : 0000000000000000
Aug 15 19:30:27 kernel: x5 : 0000000000000004 x4 : 0000007f8ce033b0
Aug 15 19:30:27 kernel: x3 : 0000007f8ce03340 x2 : fffffffffffffff0
Aug 15 19:30:27 kernel: x1 : 0000007f8cdfb3a0 x0 : 0000007f8ce033a0

anyone got some advice?
Line 1776 has no syntax error. Try to reinstall Diversion in d.
What router model are you running this on? Try rebooting maybe?
 
So will Diversion. It too requires a learning curve to understand it, as any new thing does.
I actually run both; and it's only because you cannot specify upstream DNS per MAC address in asuswrt-merlin. My entire network runs Cloudflare/Quad9 upstream DoT (WAN). But one client on the DNSFilter is set to bypass my router's DNS and use a Pi-hole for DNS which goes upstream to CleanBrowsing Family filter... and I also want ads blocked, so this was the best solution that I found. Attaching some screenshots to make more sense of it.

I couldn't live without both at the moment... unless there is a tweak that I'm not aware of that I could use.

wan.PNG dnsFilter.PNG
 
I couldn't live without both at the moment... unless there is a tweak that I'm not aware of that I could use.
You got the best of both worlds.
 
EDIT: When i make a update check on AMTM, then is behind Diversion "upd err"
That happens when the hosting server for the script cannot be reached by the router. Diversion auto-adds some domains as a hard coded whitelist, which includes diversion.ch and all other relevant domains. This list is also passed on to Skynet if it is installed.
No idea what prevented resolving my domain.
 
Does the blocked domains normally take awhile to run?
The update? A minute or two, depending on router and how many hosts files need updating.
 
That happens when the hosting server for the script cannot be reached by the router. Diversion auto-adds some domains as a hard coded whitelist, which includes diversion.ch and all other relevant domains. This list is also passed on to Skynet if it is installed.
No idea what prevented resolving my domain.
This happened to me when I had scheduled reboots setup in AMTM. After reboot, my date was not correct. This does NOT happen if I reboot by pulling the power cable or via the admin website; only from AMTM scheduled reboot. So I turned it off and it never came back.

Once the date was correct, I was able to update and use Diversion correctly.
 
Yep, they both need to be on the blocklist. www.domain.com is different than domain.com. Diversion does support wildcard-blacklist, too.
What exactly do I have to do so that domains are always blocked with and without www.? Both domain options must be on the lock list or not?
Enable it in el, but this is only when adding whitelisted domains. As for the hosts lists that Diversion uses: There is no need to add the www and non-www domain if it is missing. The curators of the hosts files DO KNOW what they're doing.
 
This happened to me when I had scheduled reboots setup in AMTM. After reboot, my date was not correct. This does NOT happen if I reboot by pulling the power cable or via the admin website; only from AMTM scheduled reboot. So I turned it off and it never came back.

Once the date was correct, I was able to update and use Diversion correctly.
amtm, Diversion and the GUI Reboot Button run the exact same command: service reboot
 
Yep, agreed. Don't know what to tell ya. Same thing happened to me as OP on AC86U.
Next time check the Syslog for ntpd errors. Likely that your WAN connection and/or DOT is not up for some reason.
 
That happens when the hosting server for the script cannot be reached by the router. Diversion auto-adds some domains as a hard coded whitelist, which includes diversion.ch and all other relevant domains. This list is also passed on to Skynet if it is installed.
No idea what prevented resolving my domain.
Maybe over-zealous country blocking in Skynet and blocking all of .ch?
 
Maybe you can try and see which one of those is not blocked when you are on 'small blacklist' and then whitelist the domain when you switch to standard . Could be a 'middle' domain which causes this issue

Finally found the domains.

c.amazon-adsystem.com
s.amazon-adsystem.com

were both in the blacklist and had to be whitelisted for Twitch desktop app to connect.
 
Last edited:

Latest threads

Sign Up For SNBForums Daily Digest

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