openwrt ad blocking master repair patch luci-app-adbyby plus + lite

Patch location:
Address http://pan.ezdial.cn/nasone/a
Backup: https://bak.ezdial.cn:8000/nasone/a
Because it is worth buying, after reviewing this article repeatedly, simply submit it here, yes Simplification of the previous cheating article.

current usage

The openwrt platform and the adbyby plug-ins of various resource platforms have stopped updating around 2020, but the existing rules are still valid. Open the web interface Ad Blocking Master, plus mode. And add the IP address of the TV player to the global mode. It was able to successfully block a large wave of video app advertisements, because the APP advertisements have not been updated for many years.

However, there is a common problem that the rules cannot be downloaded

It may be because adbyby has stopped updating, the github project luci-app-adbyby plus, and related reference projects are currently using the online update address. coding...; has expired

As a result, lazy.txt and video.txt under /usr/share/adbyby/data, and /tmp/adbyby/data at runtime cannot use valid versions. Unable to download previously available xwhyc versions of the library.

So you can manually copy the rules from anywhere

As the first verification, download the two files lazy.txt and video.txt to cover the above two paths /usr/share/adbyby/data, and run it under /tmp/adbyby/data, restart adbyby, or /etc/ init.d/adbyby restart should do the trick. As for how to do it, you can SSH root@yourouterip

cd /tmp/adbyby/data
rm lazy.txt
rm video.txt
wget http://pan.ezdial.cn/nasone/a/xwhyc/lazy.txt
wget http://pan.ezdial.cn/nasone/a/xwhyc/video.txt
 /etc/init.d/adbyby restart 

/tmp is the directory running in the memory and is lost after booting, usr is persistent, add a certain IP: that you are using to the global, and try again. If this works, proceed to the final stage.
insert image description here

at last

If the above is valid and you want to take effect permanently, you can update the download file and i-related components. For luci-app-adbyby-lite, you also need to update /etc/init.d/adbyby. Otherwise, dnsmaq may fail to start.

First-time installation of x86-64 and patch steps:

1. For x86-64, in the luci browser, select the software, install from the address, and enter the address to install the three local ipk.

2. Send 0502fix.tar.gz, replace.sh. to the tmp directory.

3. Run chmod +x replace.sh in the directory where the file is located; ./replace.sh

4. On the web, open the Ad Blocking Master function. Should download the rules by itself

4. Check whether the size of /usr/share/adbyby/data/lazy.txt is 547kb

For other versions of luci-app-adbyby-plus, overwrite with the file at the above address, /usr/share/adbyby/adupdate.sh adbybyupdate.sh to replace

hint

luci-app-adbyby-lite may cause the dns service to crash, prepare to clear some rule files displayed in the system log in advance, and try to stop adbyby until the repair is completed.
The above operations will have a certain impact on the operation, please handle it as appropriate, and we will not be responsible for any problems.

Guess you like

Origin blog.csdn.net/wjcroom/article/details/130509262