Page 17 of 33

Re: Adblock Plugin

Posted: Wed Feb 10, 2016 9:15 pm
by ple0max
block.hosts exists and it is 145kb in size.

Re: Adblock Plugin

Posted: Wed Feb 10, 2016 9:48 pm
by Lantis
I don't have access to a working router at the moment.
It may be easier for you to re-enable the plugin and then show me the output of the logread. The install process logs itself.

logread | grep ADBLOCK

Re: Adblock Plugin

Posted: Thu Feb 11, 2016 10:44 pm
by Ziggy
I installed version 1.9.0 on my TL-WDR3600, manually removed the 1.0.4 version of DNS Adblock and installed version 1.1, however, I'm unable to get it to work.
I see that I'm missing the block.hosts file. I tried enabling and re-enabling the plugin as previously suggested and it didn't work. It doesn't uninstall through the GUI, so I tried doing it manually, did every step except for "sh /plugin_root/usr/lib/opkg/info/plugin-gargoyle-adblock.postrm" because this package isn't present.
I've attached my logread as well, please help? :)

Re: Adblock Plugin

Posted: Fri Feb 12, 2016 12:47 am
by ple0max
Lantis wrote:I don't have access to a working router at the moment.
It may be easier for you to re-enable the plugin and then show me the output of the logread. The install process logs itself.

logread | grep ADBLOCK
I apologize, but how do I execute the command "logread | grep ADBLOCK"?
Am I supposed to copy some lines from Gargoyle System Logs?

Re: Adblock Plugin

Posted: Fri Feb 12, 2016 12:55 am
by ispyisail
https://www.youtube.com/watch?v=9gx3MCxwEeI

username: root
password: <your router login>

Re: Adblock Plugin

Posted: Fri Feb 12, 2016 2:39 am
by ple0max
ispyisail wrote:https://www.youtube.com/watch?v=9gx3MCxwEeI

username: root
password: <your router login>
This is what I get:

Code: Select all

Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Enabling adblock plugin
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Removing hosts file from dnsmasq
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Removing cron entry
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Removing firewall rules
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Reverting server error page
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Adding hosts file to dnsmasq
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Adding cron entry
Fri Feb 12 12:30:55 2016 user.notice ADBLOCK: Tor is enabled, discarding firewall rules
Fri Feb 12 12:30:55 2016 user.notice ADBLOCK: Removing old hosts file
Fri Feb 12 12:30:55 2016 user.notice ADBLOCK: Retrieving ad lists from remote source
Fri Feb 12 12:31:16 2016 user.notice ADBLOCK: Adding entries from black.list
Fri Feb 12 12:31:18 2016 user.notice ADBLOCK: Removing entries from white.list
Fri Feb 12 12:31:18 2016 user.notice ADBLOCK: Restarting firewall
Fri Feb 12 12:31:25 2016 user.notice ADBLOCK: Restarting dnsmasq
Fri Feb 12 12:31:29 2016 user.notice ADBLOCK: Restarting web server
But I still see ads on the http://ads-blocker.com/testing/ but I don't see any ads on youtube. I also noticed that the ads on most sites are ads by google.

So, how can I be sure if it is working or not?

Also after enabling adblock plugin, I noticed that one of the entires of port 80 from "Individual Port Forwarding" has disappeared and even after clicking save I cannot add it back. I can't seem to add any NEW entries on "Individual Port Forwarding". BTW this was working before adding the adblock plugin.

Re: Adblock Plugin

Posted: Fri Feb 12, 2016 2:44 am
by Lantis
ple0max wrote:
ispyisail wrote:https://www.youtube.com/watch?v=9gx3MCxwEeI

username: root
password: <your router login>
This is what I get:

Code: Select all

Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Enabling adblock plugin
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Removing hosts file from dnsmasq
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Removing cron entry
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Removing firewall rules
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Reverting server error page
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Adding hosts file to dnsmasq
Fri Feb 12 12:30:54 2016 user.notice ADBLOCK: Adding cron entry
Fri Feb 12 12:30:55 2016 user.notice ADBLOCK: Tor is enabled, discarding firewall rules
Fri Feb 12 12:30:55 2016 user.notice ADBLOCK: Removing old hosts file
Fri Feb 12 12:30:55 2016 user.notice ADBLOCK: Retrieving ad lists from remote source
Fri Feb 12 12:31:16 2016 user.notice ADBLOCK: Adding entries from black.list
Fri Feb 12 12:31:18 2016 user.notice ADBLOCK: Removing entries from white.list
Fri Feb 12 12:31:18 2016 user.notice ADBLOCK: Restarting firewall
Fri Feb 12 12:31:25 2016 user.notice ADBLOCK: Restarting dnsmasq
Fri Feb 12 12:31:29 2016 user.notice ADBLOCK: Restarting web server
But I still see ads on the http://ads-blocker.com/testing/ but I don't see any ads on youtube. I also noticed that the ads on most sites are ads by google.

So, how can I be sure if it is working or not?

Also after enabling adblock plugin, I noticed that one of the entires of port 80 from "Individual Port Forwarding" has disappeared and even after clicking save I cannot add it back.

Looks like it installed correctly.
Try navigating to

Code: Select all

http://googleads.g.doubleclick.com/
If it fails, it is working correctly.

Re: Adblock Plugin

Posted: Fri Feb 12, 2016 2:45 am
by Lantis
Ziggy wrote:I installed version 1.9.0 on my TL-WDR3600, manually removed the 1.0.4 version of DNS Adblock and installed version 1.1, however, I'm unable to get it to work.
I see that I'm missing the block.hosts file. I tried enabling and re-enabling the plugin as previously suggested and it didn't work. It doesn't uninstall through the GUI, so I tried doing it manually, did every step except for "sh /plugin_root/usr/lib/opkg/info/plugin-gargoyle-adblock.postrm" because this package isn't present.
I've attached my logread as well, please help? :)
Looks like it isn't working because you're using the TOR plugin.
Is this correct?

Due to the nature of TOR there is currently no way for them to work together (that i know of). I simply made it so that installing this plugin wouldn't break TOR.

Re: Adblock Plugin

Posted: Fri Feb 12, 2016 2:51 am
by ple0max
Lantis wrote: Looks like it installed correctly.
Try navigating to

Code: Select all

http://googleads.g.doubleclick.com/
If it fails, it is working correctly.
It failed. :D
I don't think I was ever this happy when a web page failed to load.

Another thing is after enabling adblock plugin, I noticed that one of the entries from "Individual Port Forwarding" of port 80 has disappeared and even after clicking save I cannot add it back. I can't seem to add any new entries through "Individual Port Forwarding".

I will be grateful if you kindly mention how I can add new entries through "Individual Port Forwarding" again.

Re: Adblock Plugin

Posted: Fri Feb 12, 2016 3:12 am
by Lantis
No idea, that is an unrelated issue. The two systems don't touch each other so i don't know what would cause that.

I just tried it and i can do it just fine.