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!

wisdom_of_the_ancients.png

All long help threads should have a sticky globally-editable post at the top saying 'DEAR PEOPLE FROM THE FUTURE: Here's what we've figured out so far'.
 
Well, I tried to fiddle with the dnsmasq entry with my manual adblocking thing. Now when I tried to re-enable diversion, I am seeing this,

Code:
  i  Checking dnsmasq.conf entries
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  ✖  blockinglist entry timed out
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  ✖  log-facility entry timed out

Any idea how I can resolve this?
 
Well, I tried to fiddle with the dnsmasq entry with my manual adblocking thing. Now when I tried to re-enable diversion, I am seeing this,

Code:
  i  Checking dnsmasq.conf entries
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  [emoji808]  blockinglist entry timed out
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  [emoji808]  log-facility entry timed out

Any idea how I can resolve this?

Try a force reinstall by entering 12 if you can open Diversion menu.
 
Well, I tried to fiddle with the dnsmasq entry with my manual adblocking thing. Now when I tried to re-enable diversion, I am seeing this,

Code:
  i  Checking dnsmasq.conf entries
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  i  Waiting for blockinglist entry...
  ✖  blockinglist entry timed out
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  i  Waiting for log-facility entry...
  ✖  log-facility entry timed out

Any idea how I can resolve this?
Post the content of dnsmasq-postconf. Use sf to show the file.
While your at it, also post dnsmasq.conf content.
 
Try a force reinstall by entering 12 if you can open Diversion menu.
That only re-downloads the Diversion addon files and does not reinstall anything.
Seeing the output, protic either ran update or re-install. The first re-downloads all files new, the second installs from local files.
 
That only re-downloads the Diversion addon files and does not reinstall anything.
Seeing the output, protic either ran update or re-install. The first re-downloads all files new, the second installs from local files.

Ahh alright, thanks for the detailed information.
 
I can't post the content here. So rather here it is: https://pastebin.com/an2Eduke
You commented the Diversion entry out in dnsmasq-postconf, remove the #:
Code:
#. /opt/share/diversion/file/post-conf.div # Added by Diversion
And then you should have:
Code:
#!/bin/sh
. /opt/share/diversion/file/post-conf.div # Added by Diversion
Turn off logging and back on and you should be good.
 
You commented the Diversion entry out in dnsmasq-postconf, remove the #:
Code:
#. /opt/share/diversion/file/post-conf.div # Added by Diversion
And then you should have:
Code:
#!/bin/sh
. /opt/share/diversion/file/post-conf.div # Added by Diversion
Turn off logging and back on and you should be good.

That did it! I forgot I edited that one.
 
That looks pretty nice, is that a custom top? (having the same issue with Diversion eating my CPU)
Thats htop from Entware. Install it with this, then use htop instead of top as command:
Code:
opkg install htop
 
If you see all that code, then you do something wrong. Make sure you copy the whole install command line and paste it into the SSH terminal.
fyi, i got the same code on first attempt - & network could no longer see attached usb drive thou router could still see it... eventually rebuilt router, partitioned ext4 on usb drive, tried again & got the same code... then tried a 2nd time & it worked fine...
btw, running 384.10_gnuton4 on dsl-ac68u ... thanks for your work.
 
fyi, i got the same code on first attempt - & network could no longer see attached usb drive thou router could still see it... eventually rebuilt router, partitioned ext4 on usb drive, tried again & got the same code... then tried a 2nd time & it worked fine...
btw, running 384.10_gnuton4 on dsl-ac68u ... thanks for your work.
I can't reproduce that output, however I paste, modify or mangle the install command.
If you do, let me know how.
 
i am noticing alot of these in my logs lately Diversion: rotated dnsmasq log files, from /opt/share/diversion/file/rotate-logs.div what is this mr.coder sir?
 
i am noticing alot of these in my logs lately Diversion: rotated dnsmasq log files, from /opt/share/diversion/file/rotate-logs.div what is this mr.coder sir?
A lot of these entries would be 10 to 15 a day. But you'll notice they'll only occur once a day at 5:20 in the morning.
That's when the Dnsmasq log files are rotated and the ads counters are updated.
Enter cj into Diversion to see what cron jobs are scheduled. A short description is given for Diversion jobs.
 
A lot of these entries would be 10 to 15 a day. But you'll notice they'll only occur once a day at 5:20 in the morning.
That's when the Dnsmasq log files are rotated and the ads counters are updated.
Enter cj into Diversion to see what cron jobs are scheduled. A short description is given for Diversion jobs.
thank you for the wonderful reply---btw i love your scripts... the only complaint is the dnsmasq is tricky and sometimes causes diversion to corrupt or fail----- I am still trying to master this aspect.

*edit* what happens it will get into a cycle of continuous restart of DNSMASQ
 
the only complaint is the dnsmasq is tricky and sometimes causes diversion to corrupt or fail----- I am still trying to master this aspect
I understand that remark as admitting that your tinkering causes such a fail ;)
 
not necessarily tinkering i could just change a simple setting in the gui and it causes it. is there away other than uninstalling and reinstalling to recover the settings?
 
not necessarily tinkering i could just change a simple setting in the gui and it causes it. is there away other than uninstalling and reinstalling to recover the settings?
Let us in on the secret? What actions cause Diversion to stop or corrupt. I am not aware of any.
 

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!

Staff online

Top