Re: Adblock Plugin
Posted: Tue Apr 26, 2016 6:05 am
its completely normal to get 1 of those errors the first time. subsequent loads should not have that problem. its about how it is cached into the browser.
A forum to discuss the Gargoyle web interface for Openwrt
https://www.gargoyle-router.com/phpbb/
On Gargoyle 1.8.0, and no going directly to adblock.sh does not work get redirected to overview.shLantis wrote:Manually navigate to http://192.168.1.1/ablock.sh
If that works, we can deal with that issue later. The primary issue is whether or not the plugin itself works properly.
n8b wrote:I got it working by using another browser (But I don't understand why).
Code: Select all
logger -t ADBLOCK Retrieving ad lists from remote source
wget -qO- "http://www.mvps.org/winhelp2002/hosts.txt"| awk -v r="$ENDPOINT_IP4" '{sub(/^0.0.0.0/, r)} $0 ~ "^"r' > /tmp/block.build.list
wget -qO- "http://adaway.org/hosts.txt"|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list
Code: Select all
wget -qO- "http://jazz.tvtom.pl/download/hosts"|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list
wget -qO- "http://jazz.tvtom.pl/download/hosts.deny"|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list
Code: Select all
Sun Jan 29 21:43:51 2017 daemon.err uhttpd[3507]: sh: write error: Broken pipe
Sun Jan 29 21:44:48 2017 daemon.err uhttpd[3507]: cat: can't open '/plugin_root/adblock/block.hosts': No such file or directory
Sun Jan 29 21:44:49 2017 user.notice ADBLOCK: Modifying black/white lists from GUI
Sun Jan 29 21:44:49 2017 daemon.err uhttpd[3507]: sh: can't open '/plugin_root/adblock/runadblock.sh'
Sun Jan 29 21:44:49 2017 daemon.err uhttpd[3507]: cat: can't open '/plugin_root/adblock/block.hosts': No such file or directory
Sun Jan 29 21:44:51 2017 daemon.info hostapd: wlan0: STA 70:de:e2:c6:ef:cb WPA: group key handshake completed (RSN)
Sun Jan 29 21:44:51 2017 daemon.info hostapd: wlan0: STA 28:cf:da:f0:19:38 WPA: group key handshake completed (RSN)
Sun Jan 29 21:44:51 2017 daemon.info hostapd: wlan0: STA 94:fe:22:c8:75:ea WPA: group key handshake completed (RSN)
Sun Jan 29 21:44:52 2017 daemon.info hostapd: wlan0: STA fc:e9:98:a7:dc:32 WPA: group key handshake completed (RSN)
Sun Jan 29 21:44:53 2017 user.notice ADBLOCK: Modifying black/white lists from GUI
Sun Jan 29 21:44:53 2017 daemon.err uhttpd[3507]: sh: can't open '/plugin_root/adblock/runadblock.sh'
Sun Jan 29 21:44:53 2017 daemon.err uhttpd[3507]: cat: can't open '/plugin_root/adblock/block.hosts': No such file or directory
Sun Jan 29 21:44:54 2017 daemon.info hostapd: wlan0: STA 60:d8:19:1b:24:45 WPA: group key handshake completed (RSN)
Sun Jan 29 21:47:05 2017 daemon.err uhttpd[3507]: sh: can't open '/plugin_root/adblock/runadblock.sh'
Sun Jan 29 21:47:34 2017 daemon.err uhttpd[3507]: ln: /plugin_root/etc: Operation not permitted
Sun Jan 29 21:47:34 2017 daemon.err uhttpd[3507]: ln: /plugin_root/tmp: Operation not permitted
Sun Jan 29 21:47:34 2017 daemon.err uhttpd[3507]: ln: /plugin_root/var: Operation not permitted
Sun Jan 29 21:48:02 2017 daemon.err uhttpd[3507]: cat: can't open '/plugin_root/adblock/block.hosts': No such file or directory
Sun Jan 29 21:48:05 2017 user.notice ADBLOCK: Modifying black/white lists from GUI
Sun Jan 29 21:48:05 2017 daemon.err uhttpd[3507]: sh: can't open '/plugin_root/adblock/runadblock.sh'
Sun Jan 29 21:48:05 2017 daemon.err uhttpd[3507]: cat: can't open '/plugin_root/adblock/block.hosts': No such file or directory