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!

Diversion Diversion 5.4.2 - the Router Ad-Blocker, February 02, 2025

(also incorrectly posted in uiDivStats thread), but if I enable dnsmasq logging in diversion, I am unable to properly unmount my external ssd, the log is spammed with:

Jan 12 11:10:35 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:36 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:37 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:38 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:39 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:40 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:41 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:42 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:43 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:44 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:45 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:46 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:47 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:48 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:49 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:50 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:51 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:52 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:53 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:54 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:55 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:56 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:57 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:58 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:10:59 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:11:00 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:11:01 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:11:02 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:11:03 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:11:04 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:11:05 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:11:06 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:11:07 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:11:08 ejusb: USB partition unmounted from /tmp/mnt/Samsung_T5 fail. (return -1, Device or resource busy)
Jan 12 11:11:09 ejusb: USB partition busy - will unmount ASAP from /tmp/mnt/Samsung_T5

unmount I am using is from frontend: 'safely remove disk', then spinner freezes, eventually it will return unmounted status there, but the log is as above and it gives me the feeling that it just gave up unmounting.
If I disable dnqmasq logging the behaviour is back to normal.

running (latest versions of) diversion and skynet on GT-AXE16000
 
If I disable dnqmasq logging the behaviour is back to normal.
You can see what other files are open on the drive with this command:
Code:
/usr/bin/lsof | /bin/grep "/tmp/mnt/Samsung_T5"
 
Last edited:
lsof is included in the firmware now!?
A very primitive Busybox implementation. Only useful for very basic output.
Code:
rtradmin@router:/tmp/home/root# /usr/bin/lsof | /bin/grep jffs
3260    /bin/busybox    /jffs/syslog.log
11935   /usr/sbin/dnsmasq       /jffs/dhcp/dnsmasq.leases
 
A very primitive Busybox implementation. Only useful for very basic output.
Code:
rtradmin@router:/tmp/home/root# /usr/bin/lsof | /bin/grep jffs
3260    /bin/busybox    /jffs/syslog.log
11935   /usr/sbin/dnsmasq       /jffs/dhcp/dnsmasq.leases
Strange. I don't have that on my RT-AX86U (3004.388.8_4).
Code:
admin@RT-AX86U:/# /usr/bin/lsof
-sh: /usr/bin/lsof: not found

admin@RT-AX86U:/# find / -name lsof
/tmp/mnt/TOSHIBA1/entware/bin/lsof
 
I do. Must be the latest firmware feature fragmentation.
Previously, Asus only added lsof if running on the 675x platform. With 3006 they added it to all Broadcom devices, and any device that uses a single UBIFS partition for the firmware.
 
Setting it to No allows iOS devices and some Browsers to use their own hard-coded IP and thus circumnavigating Diversion. This is what I want to prevent.
This is what's so wrong with this setting there is no choice whether to allow apple icloud services on its own, it's a shotgun approach to block apple icloud services and browser embedded dns. In my opinion apple icloud services has its added security for users, not necessarily evil intention. I believe we should have a separate option to allow/disallow apple icloud services.
 
Hi TLC

In Diversion GUI is the Blocked Domains count supposed to reflect the current blocking list in use? Eg if I have FS enabled and the secondary blocking list as active it seems that the blocked domains count is indicating blocked domain count from primary list only - dosent change even when refreshing.
 
Switching to a different list won't change the counts created by the previous list. It can't show what hasn't been blocked yet so you'll have to wait a while for the effect of the change to show.
 
Switching to a different list won't change the counts created by the previous list. It can't show what hasn't been blocked yet so you'll have to wait a while for the effect of the change to show.
Im not talking about the ads counter - Im talking about the total number of blocked domains. Waiting wont change a thing. Probably because stats are run against the primary blocking list only - thats why this number is relective of primary blocking list only - rather than a secondary list even though that is made active via FS switch.
 
I did a recent update of Diversion and found that the DNS were not resolving after a while. I checked the router log and found these entries. Looks like dnsmasq getting hung?
Jan 18 11:26:11 watchdog: restart dnsmasq
Jan 18 11:26:11 custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf )
Jan 18 11:26:11 Diversion: restarted Dnsmasq to apply settings

I set these dnsmasq settings as found in a previous post, but still the issue persists.

1. Enable Dnsmasq settings
2. log-async 5
3. cache-size
4. bogus-priv on
5. domain-needed on
6. log-queries=extra on

Not sure what could be the problem.
 
Hi TLC

In Diversion GUI is the Blocked Domains count supposed to reflect the current blocking list in use? Eg if I have FS enabled and the secondary blocking list as active it seems that the blocked domains count is indicating blocked domain count from primary list only - dosent change even when refreshing.
This will be fixed with the next update. Thanks for reporting.
 
I woke up to find this:
Code:
https://big.oisd.nl/dnsmasq2 appears not to be a valid compatible file format, skipping
update of Large blocking list failed completely, no blocking list in use
Is there a reason you can't continue to use the previous blocking list after an error like this,
instead of leaving my network totally unprotected?
It did the same thing again. I changed my update schedule. Maybe there is scheduled maintenance going on at this time preventing the download?
I am still very concerned why a temporary error such as this results in "no blocking list in use".
 
When on RT-BE88U and 3006.102.3_beta1 firmware after changing and applying any setting change the page end like this:

View attachment 63254

Sometimes the deleting cookies helps to see the Diversion page correctly again.
Latest Diversion and amtm installed.
I see the the same with GT-BE98 Pro with Merlin 3006.102.3_beta1. It isn't a huge deal as I typically use the script-based interface (as opposed to web UI).
I'm actually seeing exactly the same. No matter if I reinstall, clear cache - in fact nothing is helping.
An observation. This error showed originally with firefox. I've just now tried with chrome and it seemed to be working fine, but the error started in chrome after CTRL+ f5. Anyone else?
*edit* happens in any browser under android or ubuntu, can't test windoze.
 
I'm actually seeing exactly the same. No matter if I reinstall, clear cache - in fact nothing is helping.
An observation. This error showed originally with firefox. I've just now tried with chrome and it seemed to be working fine, but the error started in chrome after CTRL+ f5. Anyone else?
*edit* happens in any browser under android or ubuntu, can't test windoze.
UI drawing error reports should really be accompanied by any output on the browser console window (F12).
 
UI drawing error reports should really be accompanied by any output on the browser console window (F12).
I'm using a small screen - notebook. Besides, I don't know what you need other from me to hit F12 and post some info. I guess I'll just have to wait for someone to give me some pointers.
 

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!
Back
Top