Page 22 of 33

Re: Adblock Plugin

Posted: Tue Apr 26, 2016 6:05 am
by Lantis
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.

Re: Adblock Plugin

Posted: Tue Apr 26, 2016 7:04 am
by arejaytee
Lantis 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.
On Gargoyle 1.8.0, and no going directly to adblock.sh does not work get redirected to overview.sh

Re: Adblock Plugin

Posted: Tue Apr 26, 2016 7:19 am
by Lantis
then installation didnt go fine. on 1.8.0 don't upgrade past 1.0.4

Re: Adblock Plugin

Posted: Tue Apr 26, 2016 7:28 am
by Lantis
I've now lost track of who i'm dealing with and what problems you're having.
Unless you're experiencing an issue related to an external plugin_root, please reinstall the plugin.
Note, that uninstallation of plugins is kind of buggy, and that can cause additional issues that can be resolved by a reflash.

Re: Adblock Plugin

Posted: Tue Apr 26, 2016 8:47 am
by n8b
I got it working by using another browser (But I don't understand why).

What is needed to be cleared in the original browser?
And should it be stated somewhere to free your time? ;)

Re: Adblock Plugin

Posted: Tue Apr 26, 2016 2:40 pm
by keychi
n8b wrote:I got it working by using another browser (But I don't understand why).


I confirm, when I turn the option on the browser opera - include additional options

when you do it on a chrome, a website is like not configured (empty)

However, the problem files on /../sda1/ is still (when install script)

i must manually move them to the correct folder

Image

It would have been nice to make it possible to import other links to adblock, because I have a list of my country and I can not hook -I will have to manually edit


To another users ( if you want be max adblock sites) if you have USB Drive, and /public_root/adblock on this drive, i have list from my country and another banned sites, you must edit runadblock.sh and add two lines (then file of hosts have 3MB - oryginally on list author have 0,3MB)

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
enter into code

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

Re: Adblock Plugin

Posted: Sun May 15, 2016 3:52 am
by keychi
author, your script from time to time erases the file block.hosts

Re: Adblock Plugin

Posted: Mon Oct 31, 2016 6:24 am
by Daeron
Thanks for the great plugin Lantis!

I have a feature request however. Any chance a newer version would allow us to edit the sources from which the plugin gets its blocklist?

So for example, one could subscribe to a localized hosts file which contains additional ad servers based on language/geographical location of the user which would otherwise not be included in the currently used sources.

It would also mean that one could hone the plugin to the capabilities of his/her router. Presumably more RAM = can handle larger lists and so on.

I realize there is probably a way to edit the source file on the router itself or edit the files beforehand and compile an alternate version of the plugin yourself, but I'd find surfacing that in the GUI a much more elegant solution that perhaps others would deem useful as well.

Re: Adblock Plugin

Posted: Sun Jan 29, 2017 7:51 am
by arejaytee
After a update previously Adblock stopped working for me, tonight I have installed the latest ispy build (very nice btw) and its still not working,

In system logs I have the below,

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
Any thoughts?

EDIT: Plugins are using USB storage, I uninstalled and reinstalled a few times to make sure it was pointing to the drive but same errors.

Re: Adblock Plugin

Posted: Sun Jan 29, 2017 8:10 am
by Lantis
What version have you installed?
It doesn't look like the latest based on the errors provided.