Ad blocking on Linksys WRT3200ACM

https://openwrt.org/docs/guide-user/services/ad-blocking

Hostname	OpenWrt
Model	Linksys WRT3200ACM
Architecture	ARMv7 Processor rev 1 (v7l)
Firmware Version	OpenWrt 19.07.3 r11063-85e04e9f46 / LuCI openwrt-19.07 branch git-20.136.49537-fb2f363
Kernel Version	4.14.180

I'm trying to install this but I can't get it to install over terminal or web

Terminal Errors

root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/mvebu/cortexa9/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/mvebu/cortexa9/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/mvebu/cortexa9/kmods/4.14.180-1-a92a3f5c5bed2671533484c7ace9d5b5/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/mvebu/cortexa9/kmods/4.14.180-1-a92a3f5c5bed2671533484c7ace9d5b5/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install adblock
Installing adblock (4.0.5-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/packages/adblock_4.0.5-1_all.ipk
Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/packages/adblock_4.0.5-1_all.ipk, wget returned 8.
 * opkg_install_pkg: Failed to download adblock. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package adblock.
root@OpenWrt:~#

Web Error

Under Software
1) Actions: Update lists...
2) adblock Install...
Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/packages/adblock_4.0.5-1_all.ipk, wget returned 8.
 * opkg_install_pkg: Failed to download adblock. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package adblock.

The opkg install command failed with code 255.

Please help?

just curious which install docs your following?

try installing wget 1st ?

If you look into the repo it appears your update / install is trying for the wrong version?

I'm following this
https://openwrt.org/docs/guide-user/services/ad-blocking

No, I looked version looks right

In the repo I see * adblock_4.0.5-2_all.ipk*

I see 4.0.5-2 also, although I just installed 19.07.3 and Adblock a couple of days ago and my Adblock version is 4.0.4-4, so it apparently got updated pretty recently. You should be able to install it manually, scp the .ipk to your 3200 /tmp file, ssh in, cd to /tmp and run opkg install adblock_4.0.5-2_all.ipk.

Thank you I will try that now

actually I can't install any of this, I did run opkg update 1st

opkg install adblock
opkg install libustream-mbedtls
opkg install luci-app-adblock

Does the problem persist when you update LuCI to the latest available LuCI openwrt-19.07 branch git-20.145.59100-515bd92?

Maybe we're looking in the wrong package architecture, the 3200acm seems to be arm_cortex-a9_vfpv3, and that shows the same Adblock version 4.0.4-4 that I have.

edit - just checked on my mvebu device and it is *d16.

It is now arm_cortex-a9_vfpv3-d16 (unfortunately) so that is the old / outdated tree, but going by the OP paste I think that is the correct repo. There was also a minor update to adblock (.2) yesterday.

1 Like
root@192.168.1.1's password:


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.3, r11063-85e04e9f46
 -----------------------------------------------------
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/mvebu/cortexa9/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/mvebu/cortexa9/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/mvebu/cortexa9/kmods/4.14.180-1-a92a3f5c5bed2671533484c7ace9d5b5/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/mvebu/cortexa9/kmods/4.14.180-1-a92a3f5c5bed2671533484c7ace9d5b5/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install adblock
Installing adblock (4.0.5-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/packages/adblock_4.0.5-2_all.ipk
Installing coreutils (8.30-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/packages/coreutils_8.30-2_arm_cortex-a9_vfpv3-d16.ipk
Installing coreutils-sort (8.30-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/packages/coreutils-sort_8.30-2_arm_cortex-a9_vfpv3-d16.ipk
Installing ca-bundle (20190110-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/base/ca-bundle_20190110-2_all.ipk
Configuring coreutils.
Configuring coreutils-sort.
Configuring ca-bundle.
Configuring adblock.
root@OpenWrt:~# opkg install libustream-mbedtls
Installing libustream-mbedtls20150806 (2020-03-13-40b563b1-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/base/libustream-mbedtls20150806_2020-03-13-40b563b1-1_arm_cortex-a9_vfpv3-d16.ipk
Installing libmbedtls12 (2.16.6-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/base/libmbedtls12_2.16.6-1_arm_cortex-a9_vfpv3-d16.ipk
Configuring libmbedtls12.
Configuring libustream-mbedtls20150806.
root@OpenWrt:~# opkg install luci-app-adblock
Installing luci-app-adblock (git-20.145.59100-515bd92-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/luci/luci-app-adblock_git-20.145.59100-515bd92-1_all.ipk
Configuring luci-app-adblock.
root@OpenWrt:~# uci set adblock.global.adb_enabled="1"
root@OpenWrt:~# uci set adblock.global.adb_backupdir="/etc/adblock"
root@OpenWrt:~# uci commit adblock
root@OpenWrt:~# /etc/init.d/adblock restart
root@OpenWrt:~#

worked now but don't know how lol I didn't do anything new, not even a reboot just tried it again after some time and it worked

Sorry new to OpenWrt moved from DD-WRT love it so far

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.