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!

OK, that helped. Additional tests will be included in Diversion 4.0.4 when re-installing or updating Diversion.
Great I had a similar issue with my selected IP for pixelserv not 'taking' on install (even though IIRC it did actually say the address I selected was free); the message in the diversion console was pixelserve-tls (not running).

As above, I followed your steps to select ep,5 then re-added the (same) IP, disabled then re-enabled pixelserv. Then it worked. Cheers.
k.
 
I am running Merlin 384.7.2, Diversion 4.0.3, Skynet 6.5.2 and - 2.1.1. I also have Astrill VPN. Diversion fails on several popup ad testing sites. Is that normal? It is my understanding unless the ad server is in the blocking list no popup will be blocked.

The ad counter seems stuck at Oct 25th and the counter does not change.

thanks, Bj
 
Why so rude?

IMHO, sometimes the instructions are helpful, sometimes not.
Ok @M@rco is not a rude person, and stating the obvious is also not rude, it is just being clear and concise. People do not do enough reading, and just ask a question no matter how many times it has been asked before. (Ironically, some people are put out by comments like, RTFM). Next time try to invest in looking for the answer, by doing so, you may be able to help someone else. IMHO
 
Just found this in syslog:
Code:
Oct 27 01:10:00 Diversion: unable to send firmware notification, email.conf or diversion.conf not found, from /opt/share/diversion/file/update.div
Never seen this before. I did not setup any notification or email.
Should I be concerned? What should I do?
 
Last edited:
Just found this in syslog:
Code:
Oct 27 01:10:00 Diversion: unable to send firmware notification, email.conf or diversion.conf not found, from /opt/share/diversion/file/update.div
Never seen this before. I did not setup any notification or email.
Should I be concerned? What should I do?
You should not be concerned.
In c, does it say "1. Diversion update notification DivUn"?
If so, disable it.
 
I am running Merlin 384.7.2, Diversion 4.0.3, Skynet 6.5.2 and - 2.1.1. I also have Astrill VPN. Diversion fails on several popup ad testing sites. Is that normal? It is my understanding unless the ad server is in the blocking list no popup will be blocked.

The ad counter seems stuck at Oct 25th and the counter does not change.

thanks, Bj


Same problem reinstalled all the scripts but it doesn't work at all nothing is blocked
Ate there more people having this problem? or even beter an solution??
 
Diversion 4.0.4 is now available

What's new in Diversion 4.0.4
  • Fixes glitch that presented local client names as being blocked when following the dnsmasq.log in f
  • Includes "Press Ctrl-C to exit" for all f options
  • Timestamp added to f option 3 (Filtered by blocked domains)
  • Included checks in Re-install and Update routines for reserved pixelserv-tls IP address
  • Correctly sets blocking IP when changing the pixelserv-tls IP in ep
  • Checks for valid email.conf file when enabling Firmware update notification FWun in c
  • Correctly sets cron job when enabling Diversion update notification DivUn in c
  • Some wording corrections in UI and Syslog messages
How to update to Diversion 4.0.4
To update to this latest version use d and select Update.
 
I just updated diversion, but there was a red "X" at "Additional hosts" during update.
Is that normal? I'm concerned, because it's red.

1.PNG

Code:
Do you want to update now? [1=Yes 2=No] 1

  i  Getting latest diversion file here
  ✔  diversion           integrated

  !  Diversion update detected
  i  Running function auto-update now

  i  Getting latest installer file
  ✔  install.div         integrated

  i  Probing for Entware
  ✔  Entware is already installed

  i  Getting Diversion Lite files
     from diversion.ch
  ✔  functions.div       integrated
  ✔  install.div         integrated
  ✔  post-conf.div       integrated
  ✔  post-mount.div      integrated
  ✔  rotate-logs.div     integrated
  ✔  stats.div           integrated
  ✔  theme.div           integrated
  ✔  update-bf.div       integrated
  ✔  write-config.div    integrated

  i  Checking /jffs/scripts entries
  ✔  dnsmasq.postconf
  ✔  post-mount
  ✔  services-stop

  i  Initializing Diversion

  ✔  Blocking file

  i  Checking cron jobs
  ✔  Blocking file update

  i  Checking dnsmasq.conf entries
  ✖  Additional hosts

  ✔  Diversion Lite v4.0.4 auto-update complete
 
Last edited:
I just updated diversion, but there was a red "X" at "Additional hosts" during update.
Is that normal? I'm concerned, because it's red.

View attachment 14928

Code:
Do you want to update now? [1=Yes 2=No] 1

  i  Getting latest diversion file here
  ✔  diversion           integrated

  !  Diversion update detected
  i  Running function auto-update now

  i  Getting latest installer file
  ✔  install.div         integrated

  i  Probing for Entware
  ✔  Entware is already installed

  i  Getting Diversion Lite files
     from diversion.ch
  ✔  functions.div       integrated
  ✔  install.div         integrated
  ✔  post-conf.div       integrated
  ✔  post-mount.div      integrated
  ✔  rotate-logs.div     integrated
  ✔  stats.div           integrated
  ✔  theme.div           integrated
  ✔  update-bf.div       integrated
  ✔  write-config.div    integrated

  i  Checking /jffs/scripts entries
  ✔  dnsmasq.postconf
  ✔  post-mount
  ✔  services-stop

  i  Initializing Diversion

  ✔  Blocking file

  i  Checking cron jobs
  ✔  Blocking file update

  i  Checking dnsmasq.conf entries
  ✖  Additional hosts

  ✔  Diversion Lite v4.0.4 auto-update complete
Is ad-blocking enabled? If so, what's the output of:
Code:
grep "blockinglist.*" /etc/dnsmasq.conf
Also, post content of dnsmasq.conf, use sf to show the file.
 
update to 4.04 smooth for me thanks.
sf function has a small cosmetic anomaly for me. For the list of jffs script files, only the first two scripts ( 7 & 8 in my case) were on their own line. The remainder of the scripts ( 9 to 19) were all listed on one line.
Cant say if this was the case in previous versions or not but i think i would have noticed it.
 
sf function has a small cosmetic anomaly for me. For the list of jffs script files, only the first two scripts ( 7 & 8 in my case) were on their own line. The remainder of the scripts ( 9 to 19) were all listed on one line.
This space saving feature was added in v4.0.1. When more than three files are found in a directory, the remainders are listed on one line starting with the third file.
 
Same problem reinstalled all the scripts but it doesn't work at all nothing is blocked
Ate there more people having this problem? or even beter an solution??

I have no great answers except that I powered off my router, restarted it and the problem has resolved itself. Reporting the failing on pop-up sites was me completely forgetting how it works. It blocks the sites that serve the ads and does an awesome job at that.

Until this incident, it has never hiccuped on me. I am very pleased with it and the authors support.

Bj
 
This space saving feature was added in v4.0.1. When more than three files are found in a directory, the remainders are listed on one line starting with the third file.
Ah .. none of the other directories have more than three entries (which they wouldn't in normal circumstances i guess) .... that just shows that i haven't used the cf function since you first released diversion... also proving how nothing has been on the fritz in a long time to cause me to look there :) I use the cj function a lot though ... cos i suck at setting cron jobs up properly, so I'm happy that one made the transition from AB-Solution to Diversion.
Great work as always.
 
Is ad-blocking enabled?
If so, what's the output of:
Code:
grep "blockinglist.*" /etc/dnsmasq.conf

Also, post content of dnsmasq.conf, use sf to show the file.
Yes, adblocking is enabled. Output is:
Code:
addn-hosts=/opt/share/diversion/list/blockinglist

Code:
 /etc//dnsmasq.conf has this content:

 START FILE, --- lines are not part of file
 ---------------------------------------------------
 pid-file=/var/run/dnsmasq.pid
 user=nobody
 bind-dynamic
 interface=br0
 interface=pptp*
 no-dhcp-interface=pptp*
 no-resolv
 servers-file=/tmp/resolv.dnsmasq
 no-poll
 no-negcache
 cache-size=1500
 min-port=4096
 bogus-priv
 domain-needed
 dhcp-range=lan,192.168.1.2,192.168.1.254,255.255.255.0,86400s
 dhcp-option=lan,3,192.168.1.1
 dhcp-option=lan,252,"\n"
 dhcp-authoritative
 interface=tun21
 interface=tun22
 dhcp-name-match=set:wpad-ignore,wpad
 dhcp-ignore-names=tag:wpad-ignore
 address=/trendmicro.com/127.0.0.1
 address=/trendmicro.co.jp/127.0.0.1
 # start of Diversion directives #
 address=/0.0.0.0/0.0.0.0
 ptr-record=0.0.0.0.in-addr.arpa,0.0.0.0
 addn-hosts=/opt/share/diversion/list/blacklist
 addn-hosts=/opt/share/diversion/list/blockinglist
 # end of Diversion directives #
 ---------------------------------------------------
 END FILE
Edit:
I tried to force-update, reinstall and force-update again, still there is a red "X" at additional hosts during update.
 
Last edited:
Yes, adblocking is enabled. Output is:
Code:
addn-hosts=/opt/share/diversion/list/blockinglist

Code:
 /etc//dnsmasq.conf has this content:

 START FILE, --- lines are not part of file
 ---------------------------------------------------
 pid-file=/var/run/dnsmasq.pid
 user=nobody
 bind-dynamic
 interface=br0
 interface=pptp*
 no-dhcp-interface=pptp*
 no-resolv
 servers-file=/tmp/resolv.dnsmasq
 no-poll
 no-negcache
 cache-size=1500
 min-port=4096
 bogus-priv
 domain-needed
 dhcp-range=lan,192.168.1.2,192.168.1.254,255.255.255.0,86400s
 dhcp-option=lan,3,192.168.1.1
 dhcp-option=lan,252,"\n"
 dhcp-authoritative
 interface=tun21
 interface=tun22
 dhcp-name-match=set:wpad-ignore,wpad
 dhcp-ignore-names=tag:wpad-ignore
 address=/trendmicro.com/127.0.0.1
 address=/trendmicro.co.jp/127.0.0.1
 # start of Diversion directives #
 address=/0.0.0.0/0.0.0.0
 ptr-record=0.0.0.0.in-addr.arpa,0.0.0.0
 addn-hosts=/opt/share/diversion/list/blacklist
 addn-hosts=/opt/share/diversion/list/blockinglist
 # end of Diversion directives #
 ---------------------------------------------------
 END FILE
Edit:
I tried to force-update, reinstall and force-update again, still there is a red "X" at additional hosts during update.

Just a timing issue then, nothing to worry about. I‘ll allow more time for Dnsmasq to restart in the next update.
 

Similar threads

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