Cool. Was that just a reboot, or did you change compression config also?
both, should I put ''1'' again? (enable)
Would you mind trying that as "1" again. Just so we know if it was the reboot or config that fixed it.
seems to break thing
hecking for any rogue elements.
Successfully generated preprocessed blocklist file with 249871 line(s).
Removing duplicates and forming new preprocessed blocklist file.
No local allowlist identified.
Processed blocklist file size: 6843 KB.
Performing dnsmasq --test on the processed blocklist.
dnsmasq --test output: dnsmasq: syntax check OK.
The dnsmasq --test on the processed blocklist passed.
New blocklist file check passed.
Successfully injected new blocklist file for use by dnsmasq with size: 1813 KB.
Restarting dnsmasq.
Restart of dnsmasq completed.
Checking dnsmasq instance.
No instance of dnsmasq detected with new blocklist.
The dnsmasq check failed with new blocklist file.
No previous blocklist file found.
lost wifi
Weird, must be something to do with left over config as mentioned. At least you can run with compression=0
I don't know cause as I said, adblock is really gone
Output from running:
service
?
you mean, etc/init.d/adblock-lean.....?
Nah just ‘service’. I’m thinking you still have the adblock service running?
root@OpenWrt:~# service
Usage: service <service> [command]
/etc/init.d/adblock-lean disabled stopped
/etc/init.d/avahi-daemon enabled running
/etc/init.d/banip enabled running
/etc/init.d/boot enabled stopped
/etc/init.d/bootcount enabled stopped
/etc/init.d/collectd enabled running
/etc/init.d/cron enabled running
/etc/init.d/dbus enabled running
/etc/init.d/dnsmasq enabled running
/etc/init.d/done enabled stopped
/etc/init.d/dropbear enabled running
/etc/init.d/firewall enabled stopped
/etc/init.d/fstab enabled stopped
/etc/init.d/gpio_switch enabled stopped
/etc/init.d/https-dns-proxy enabled running
/etc/init.d/irqbalance enabled running
/etc/init.d/led enabled stopped
/etc/init.d/lm-sensors enabled stopped
/etc/init.d/log enabled running
/etc/init.d/luci_statistics enabled stopped
/etc/init.d/minidlna enabled running
/etc/init.d/miniupnpd enabled stopped
/etc/init.d/network enabled running
/etc/init.d/odhcpd enabled running
/etc/init.d/openssl enabled stopped
/etc/init.d/packet_steering enabled stopped
/etc/init.d/pbr enabled stopped
/etc/init.d/radius enabled stopped
/etc/init.d/rpcd enabled running
/etc/init.d/samba4 enabled running
/etc/init.d/sqm enabled stopped
/etc/init.d/sysctl enabled stopped
/etc/init.d/sysfixtime enabled stopped
/etc/init.d/sysfsutils enabled stopped
/etc/init.d/sysntpd enabled running
/etc/init.d/system enabled stopped
/etc/init.d/ucitrack enabled stopped
/etc/init.d/uhttpd enabled running
/etc/init.d/umount enabled stopped
/etc/init.d/urandom_seed enabled stopped
/etc/init.d/urngd enabled running
/etc/init.d/wpad enabled running
/etc/init.d/wsdd2 enabled running
root@OpenWrt:~#
I just saw that adblock-lean is disabled, ...... everything was ok 10 minutes ago on status command
root@OpenWrt:~# /etc/init.d/adblock-lean status
Checking dnsmasq instance.
The dnsmasq check passed and the presently installed blocklist has good line count: 249871.
adblock-lean appears to be active.
Generating dnsmasq stats.
dnsmasq stats available for reading using 'logread'.
So to be clear when you have compress blocklist enabled and issue service adblock-lean start then you see dnsmasq errors on logread?
Fri Feb 23 17:19:41 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Fri Feb 23 17:19:43 2024 user.notice adblock-lean: Download of new blocklist file part from: https://raw.githubusercontent.com/hagezi/dns-blocklists/main/dnsmasq/pro.txt suceeded (downloaded file size: 6843 KB; line count: 249871).
Fri Feb 23 17:19:43 2024 user.notice adblock-lean: Sanitizing blocklist file part.
Fri Feb 23 17:19:49 2024 user.notice adblock-lean: Checking for any rogue elements.
Fri Feb 23 17:19:53 2024 user.notice adblock-lean: Successfully generated preprocessed blocklist file with 249871 line(s).
Fri Feb 23 17:19:53 2024 user.notice adblock-lean: Removing duplicates and forming new preprocessed blocklist file.
Fri Feb 23 17:19:53 2024 user.notice adblock-lean: No local allowlist identified.
Fri Feb 23 17:19:55 2024 user.notice adblock-lean: Processed blocklist file size: 6843 KB.
Fri Feb 23 17:19:55 2024 user.notice adblock-lean: Performing dnsmasq --test on the processed blocklist.
Fri Feb 23 17:19:56 2024 user.notice adblock-lean: dnsmasq --test output: dnsmasq: syntax check OK.
Fri Feb 23 17:19:56 2024 user.notice adblock-lean: The dnsmasq --test on the processed blocklist passed.
Fri Feb 23 17:19:56 2024 user.notice adblock-lean: New blocklist file check passed.
Fri Feb 23 17:19:57 2024 user.notice adblock-lean: Successfully injected new blocklist file for use by dnsmasq with size: 1813 KB.
Fri Feb 23 17:19:57 2024 user.notice adblock-lean: Restarting dnsmasq.
Fri Feb 23 17:19:57 2024 daemon.info dnsmasq[1]: exiting on receipt of SIGTERM
Fri Feb 23 17:20:01 2024 daemon.crit dnsmasq[1]: cannot execute sh /tmp/dnsmasq.d/.extract_blocklist: No such file or directory
Fri Feb 23 17:20:01 2024 daemon.crit dnsmasq[1]: FAILED to start up
Fri Feb 23 17:20:06 2024 daemon.crit dnsmasq[1]: cannot execute sh /tmp/dnsmasq.d/.extract_blocklist: No such file or directory
Fri Feb 23 17:20:06 2024 daemon.crit dnsmasq[1]: FAILED to start up
Fri Feb 23 17:20:11 2024 daemon.crit dnsmasq[1]: cannot execute sh /tmp/dnsmasq.d/.extract_blocklist: No such file or directory
Fri Feb 23 17:20:11 2024 daemon.crit dnsmasq[1]: FAILED to start up
Fri Feb 23 17:20:16 2024 daemon.crit dnsmasq[1]: cannot execute sh /tmp/dnsmasq.d/.extract_blocklist: No such file or directory
Fri Feb 23 17:20:16 2024 daemon.crit dnsmasq[1]: FAILED to start up
Fri Feb 23 17:20:21 2024 daemon.crit dnsmasq[1]: cannot execute sh /tmp/dnsmasq.d/.extract_blocklist: No such file or directory
Fri Feb 23 17:20:21 2024 daemon.crit dnsmasq[1]: FAILED to start up
Fri Feb 23 17:20:26 2024 daemon.crit dnsmasq[1]: cannot execute sh /tmp/dnsmasq.d/.extract_blocklist: No such file or directory
Fri Feb 23 17:20:26 2024 daemon.crit dnsmasq[1]: FAILED to start up
Fri Feb 23 17:20:26 2024 daemon.info procd: Instance dnsmasq::cfg01411c s in a crash loop 6 crashes, 0 seconds since last crash
Fri Feb 23 17:21:01 2024 user.notice adblock-lean: Restart of dnsmasq completed.
Fri Feb 23 17:21:01 2024 user.notice adblock-lean: Checking dnsmasq instance.
Fri Feb 23 17:21:01 2024 user.notice adblock-lean: No instance of dnsmasq detected with new blocklist.
Fri Feb 23 17:21:01 2024 user.notice adblock-lean: The dnsmasq check failed with new blocklist file.
Fri Feb 23 17:21:01 2024 user.notice adblock-lean: No previous blocklist file found.
Can you add ‘ls -alh /tmp/dnsmasq.d’ here:
Then rerun?
The output from logread suggests the extract script isn’t there for some reason.
I’m wondering if there is some remnant of adblock or hotplug script that’s scrubbing the dnsmasq folder on restart.
something like that?
root@OpenWrt:/tmp# cd dnsmasq.d
root@OpenWrt:/tmp/dnsmasq.d# ls
root@OpenWrt:/tmp/dnsmasq.d# ls -alh
drwxr-xr-x 2 root root 40 Feb 23 17:21 .
drwxrwxrwt 26 root root 680 Feb 23 17:21 ..
root@OpenWrt:/tmp/dnsmasq.d#
Need to see that from when script is running. Maybe easiest if we hop on IRC and I can guide you through some diagnostics and figure out what the issue is. I’ll be available from circa 10am UK time.
dont know why it is always on stop in servive
Usage: service <service> [command]
/etc/init.d/adblock-lean enabled stopped
/etc/init.d/avahi-daemon enabled running
/etc/init.d/banip enabled running
I did;
enable, start
and still on stop.
also status seems to be good;
root@OpenWrt:~# /etc/init.d/adblock-lean status
Checking dnsmasq instance.
The dnsmasq check passed and the presently installed blocklist has good line count: 249871.
adblock-lean appears to be active.
That's normal. It runs once on boot, and then on schedule from the cron tab. The service stops in between runs.
Which OpenWrt version are you running?
Please could you edit the adblock-lean service file and place:
ls -alh /tmp/dnsmasq.d
at exactly this line:
Then run a start and paste the output here.
I run snapshot for wrt3200 with patch from divested.
root@OpenWrt:/etc/init.d# /etc/init.d/adblock-lean restart
Stopping adblock-lean.
Removing any adblock-lean blocklist files in /tmp/dnsmasq.d/ and restarting dnsmasq.
Removing any leftover adblock-lean temporary files.
Stopped adblock-lean.
Started adblock-lean.
No existing compressed or uncompressed blocklist identified.
No local blocklist identified.
Downloading new blocklist file part(s).
Downloading new blocklist file part from: https://raw.githubusercontent.com/hagezi/dns-blocklists/main/dnsmasq/pro.txt.
Download of new blocklist file part from: https://raw.githubusercontent.com/hagezi/dns-blocklists/main/dnsmasq/pro.txt suceeded (downloaded file size: 6848 KB; line count: 250090).
Sanitizing blocklist file part.
Checking for any rogue elements.
Successfully generated preprocessed blocklist file with 250090 line(s).
Removing duplicates and forming new preprocessed blocklist file.
No local allowlist identified.
Processed blocklist file size: 6848 KB.
Performing dnsmasq --test on the processed blocklist.
dnsmasq --test output: dnsmasq: syntax check OK.
The dnsmasq --test on the processed blocklist passed.
New blocklist file check passed.
Successfully injected new blocklist file for use by dnsmasq with size: 6848 KB.
Restarting dnsmasq.
drwxr-xr-x 2 root root 80 Feb 24 08:44 .
drwxrwxrwt 26 root root 700 Feb 24 08:44 ..
-rw-r--r-- 1 dnsmasq root 0 Feb 23 23:07 adb_list.overall
-rw-r--r-- 1 root root 6.7M Feb 24 08:44 blocklist
Restart of dnsmasq completed.
Checking dnsmasq instance.
The dnsmasq check passed with new blocklist file.
New blocklist installed with good line count: 250090.
root@OpenWrt:/etc/init.d#
root@OpenWrt:/etc/init.d# /etc/init.d/adblock-lean status
Checking dnsmasq instance.
The dnsmasq check passed and the presently installed blocklist has good line count: 250090.
adblock-lean appears to be active.
Generating dnsmasq stats.
dnsmasq stats available for reading using 'logread'.
root@OpenWrt:/etc/init.d# service
Usage: service <service> [command]
/etc/init.d/adblock-lean enabled stopped
/etc/init.d/avahi-daemon enabled running
/etc/init.d/banip enabled running
/etc/init.d/boot enabled stopped
/etc/init.d/bootcount enabled stopped
/etc/init.d/collectd enabled running
/etc/init.d/cron enabled running
/etc/init.d/dbus enabled running
/etc/init.d/dnsmasq enabled running
/etc/init.d/done enabled stopped