AR300M with openwrt firmware 2.264: no adblock in repository

The repository /openwrt/ar71xx_nand/2.264/ for my AR300M does not contain any adblock package. Why?

The repositoy /openwrt/ramips/2.264/ for my MT300A does contain adblock packages. Why?

I’ve check the two adblock package files adblock and luci-app-adblock. Both packages install shell scripts and HTML files, no binary files: The program “file” gives the following output:

file $(opkg files adblock | grep -v ^Package)
/usr/bin/adblock-helper.sh: POSIX shell script, ASCII text executable
/etc/hotplug.d/iface/90-adblock: POSIX shell script, ASCII text executable
/www/adblock/index.html: HTML document, ASCII text
/etc/adblock/adblock.conf.default: ASCII text
/etc/config/adblock: ASCII text
/etc/adblock/adblock.whitelist: empty
/usr/bin/adblock-update.sh: POSIX shell script, ASCII text executable
/etc/adblock/adblock.blacklist: ASCII text
/etc/init.d/adblock: POSIX shell script, ASCII text executable

file $(opkg files luci-app-adblock | grep -v ^Package)
/usr/lib/lua/luci/controller/adblock.lua: ASCII text
/usr/lib/lua/luci/model/cbi/adblock.lua: HTML document, ASCII text

If I manually transfer the package files adblock and luci-app-adblock from the MT300A to the AR300M and then install them with “opkg install ”, would this procedure do any harm to the AR300M?

Barney

I tested it by installing from the other repo. Seems to work. It’s just shell scripts and lua. Just install the package from there.

You need:

wget http://download.gl-inet.com.s3.amazonaws.com/openwrt/ramips/2.264/packages/packages/adblock_1.5.4-1_all.ipk
wget http://download.gl-inet.com.s3.amazonaws.com/openwrt/ramips/2.264/packages/luci/luci-app-adblock_git-17.136.58961-13aa5ff-1_all.ipk

opkg install those two and wget with ssl support is needed from the normal repo

The CPU architecture of MT300A and AR300M are different.

But you can transfer adblock and luci-app-adblock to your AR300M. Then install it manually.