Help install adblock-fast

I'm trying to install adblock-fast on my be9300 flint 3.

I can't get it to run.

I've tried wiping the config via SSH then reinstalling, and now I've lost the block lists that comes with it too from the config… Even a reinstall doesn't fix that now.

Has anyone managed to get it working with the luci web interface package?

Hi

We tested this on Flint 3 running firmware v4.8.1, and the following steps worked on our side:

  1. SSH into the router and install adblock-fast:
opkg update && opkg install luci-app-adblock-fast
  1. In LuCI under Services > AdBlock Fast, configure it as needed. In our test, we selected the dnsmasq instance and enabled one list.

  1. SSH into the router again and enable adblock-fast:
uci set adblock-fast.config.enabled='1'; uci commit adblock-fast;
/etc/init.d/adblock-fast restart

Test results are shown above.


image

Reference: Welcome to docs.openwrt.melmac.ca! | stangri’s OpenWrt Packages Documentation.

Thanks. Thats what I did previously…. And it all seems to work fine from the temrinal.

However from the services → adblock fast web gui I see:

AdBlock-Fast - Status
Service Status
Not installed or not found

However from the ssh console it looks like its working:

root@GL-BE9300:~# opkg update && opkg install luci-app-adblock-fast
Downloading https://fw.gl-inet.com/releases/qsdk_v12.5/kmod-4.7/be9300-ipq53xx/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_core
Downloading https://fw.gl-inet.com/releases/qsdk_v12.5/packages-4.x/ipq53xx/be9300/glinet/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_pub
Downloading https://fw.gl-inet.com/releases/qsdk_v12.5/packages-4.x/ipq53xx/be9300/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/opnwrt_packages
Updating database.
Database update completed.
Installing luci-app-adblock-fast (1.1.1-3) to root...
Downloading https://fw.gl-inet.com/releases/qsdk_v12.5/packages-4.x/ipq53xx/be9300/packages/luci-app-adblock-fast_1.1.1-3_all.ipk
Installing adblock-fast (1.1.1-r7) to root...
Downloading https://fw.gl-inet.com/releases/qsdk_v12.5/packages-4.x/ipq53xx/be9300/packages/adblock-fast_1.1.1-r7_all.ipk
Configuring adblock-fast.
ERROR: adblock-fast is currently disabled!
Run the following commands before starting service again:
uci set adblock-fast.config.enabled='1'; uci commit adblock-fast;
ERROR: adblock-fast is currently disabled!
Run the following commands before starting service again:
uci set adblock-fast.config.enabled='1'; uci commit adblock-fast;
Configuring luci-app-adblock-fast.
Updating database.
Database update completed.
root@GL-BE9300:~# uci set adblock-fast.config.enabled='1'; uci commit adblock-fast;
root@GL-BE9300:~# /etc/init.d/adblock-fast restart
Starting adblock-fast 1.1.1-r7...
[DL] Blocked File: cdn.jsdelivr.net (hosts) [✓]
Sorting combined list [✓]
Optimizing combined list [✓]
Allowing domains [✓]
Formatting merged file [✓]
Creating dnsmasq servers file [✓]
Removing temporary files [✓]
Restarting dnsmasq [✓]
adblock-fast 1.1.1-r7 is blocking 55308 domains (with dnsmasq.servers) [✓]
root@GL-BE9300:~# 

So i assume its jut an issue with the webgui?

Edit: blocking is working, seems like just a gui issue!

curl mclean.f.360.cn
curl: (6) Could not resolve host: mclean.f.360.cn
1 Like

Ok now that adblock-fast is working I have lost DNS on tailscale.

Does adblock-fast interfere with DNS and tailscale? How can I fix it?