adblock on OpenWRT
Here are the steps I followed to get adblock installed on Chaos Calmer OpenWRT running on a TL-WR1043N/ND.
- Downloaded and installed
adblock
andluci-app-adblock
as per the readme - The Adblock page in Luci reported
runtime error, please check the log!
- Couldn’t find any logs via SCP so SSH in and execute
/etc/init.d/adblock start
for a more helpful error - With that hint, edited
uhttpd config
as per the readme - Try starting again and get
warn : please install 'uclient-fetch' or 'wget' with ssl support to use adblock
- Install wget:
opkg update & opkg install wget
- Try a restart:
/etc/init.d/adblock start
-
Success!
domain adblock processing finished successfully (1.5.3, r46767, 03.12.2016 10:00:46)
- Update DNS entries, surf the web, run some spammy apps on the iPad
- Query the stats:
/etc/init.d/adblock stats
firewall statistics: 9.85%/0% of all packets in prerouting chain are ad related & blocked
Done!