I was able to get HBOGO working again by whitelisting telegraph.api.hbo.com
Code
./adbhostgen.sh --wl=telegraph.api.hbo.com
Thank you for reporting and fixing it. Domain whitelisted in the official file.
Moose wrote:
Yamaraj,
I tried the new VERSION: 20200407 on the the old Kong Firmware: DD-WRT v3.0-r39855M std (05/25/19) and still had the problom curl: (28). Since Kong stopped doing DD-WRT Firmware I switched over to Firmware: DD-WRT v3.0-r40559 std (08/06/19) thinking maybe this would fix it but still getting: curl: (28) Connection timed out after 300469 milliseconds.
I'm a NOOB to all this so sorry for the question just not sure what the curl does. I've attached a pictures.
Thank you for all your help.
Moose
Fixed. Not in the script, but the whitelist. mine.nu was inaccessible. Running the script again should download the official whitelist automatically and whitelist the domain. However, blocklist downloads are attempted before the whitelist is updated and processed, so this might take two runs. _________________ Routers
NETGEAR R7800 x2: DD-WRT v3.0-r42847 std (04/06/20)
NETGEAR R8500: DD-WRT v3.0-r41517 std (11/11/19)
sorry for reporting another problem: Adblocker is not working for me.
The new version, i could install it now, made it run, it generates the files with no errors. I made conf edits in GUI just like the tutorial on first page.
Made a fresh install, resseting the router settings. Build is stable 40559, router is TP LInk Archer C5.
Still is like the adblocker is not there. I get ads all over my network.
Please tell me what more info you need to find out the cause and fix it.
sorry for reporting another problem: Adblocker is not working for me.
The new version, i could install it now, made it run, it generates the files with no errors. I made conf edits in GUI just like the tutorial on first page.
Made a fresh install, resseting the router settings. Build is stable 40559, router is TP LInk Archer C5.
Still is like the adblocker is not there. I get ads all over my network.
Please tell me what more info you need to find out the cause and fix it.
Thank You, Joe
It's works. I notice it more on my phone when browsing than on my desktop though.
Yamaraj wrote:
This script, like Pi-Hole and others, operates at domain level not on page elements and as such cannot use those lists. Although quite effective, it cannot block 100% of ads, especially those leveraging browser features like Javascript, frames etc. For that adding another layer of protection like uBlock Origin is recommended.
As he said, try to add uBlock origin to your browser. I personally use nano adblocker, which is based on uBlock.
I haven't tried it myself, but if you have time try to play with the BLITZ level(Increase it to 2 or 3). I'd be interested to hear your results if you do so
Today i regenerated with the -2 blitz level and it seems to work better. Any ideea why lvl 2 is better than lvl 3 for me?
I always check first on speedtest.net. Eith lvl 3 blitz is full of ads. With lvl 2 no ads.
Just a thought: whouldnt be easyer just to copy these files to usb rather to generate them?
Tnx, Joe
Update: the adblock is working just a few minutes for me. Same on blitz -1. Tp link Archer C5 has 128Mb of Ram..
I will look for logs to see any errors
Update 2: i didnt see this one coming: i generated with cmd
Sh adblock.sh -3 --wget
The mphosts file is under 1Mb. It do it fast. And it works! Further testing offciurse, but for now it holds and it works.
Today i regenerated with the -2 blitz level and it seems to work better. Any ideea why lvl 2 is better than lvl 3 for me?
I always check first on speedtest.net. Eith lvl 3 blitz is full of ads. With lvl 2 no ads.
Just a thought: whouldnt be easyer just to copy these files to usb rather to generate them?
Tnx, Joe
Update: the adblock is working just a few minutes for me. Same on blitz -1. Tp link Archer C5 has 128Mb of Ram..
I will look for logs to see any errors
Update 2: i didnt see this one coming: i generated with cmd
Sh adblock.sh -3 --wget
The mphosts file is under 1Mb. It do it fast. And it works! Further testing offciurse, but for now it holds and it works.
Even the default (BLITZ=1) should block enough ads for most. I recommend the following steps:
1. Walk through all the installation steps, ensure the directories, paths, settings, and files are correct.
2. If your firmware does not come with curl, install through entware. BusyBox wget is severely limited.
3. Clear your browser cache and reboot your router and system(s).
If you encounter any problems, include logs and/or screenshots. _________________ Routers
NETGEAR R7800 x2: DD-WRT v3.0-r42847 std (04/06/20)
NETGEAR R8500: DD-WRT v3.0-r41517 std (11/11/19)
Posted: Thu Apr 23, 2020 14:52 Post subject: Curl: error
Everything was working good up untill yesterday, internet connection was acting weird. I tried to first update my adblock script and it returned an error, I then ran debug-no luck. I followed by running: curl -s -k ..... and I get the same error.
curl: (22) The requested URL returned error: 500 Internal server Error
I have zero knowledge about writing scripts etc. Can one of the experts help me resolve this issue? TIA
Just wondering why the ads blackhole cannot be neither 0.0.0.0 or 127.0.0.1 and therefore 0.1.2.3 is the default one.
Since I've some web pages taking forever to load, I was thinking that perhaps it could be more efficient to have the ads pointing localy to lo instead.
Posted: Sat May 02, 2020 17:48 Post subject: Which host to whitelist for CNN
Hi All
I am able to access cnn.com via the broswer, but he CNN app on my android phone/tablet/.... etc throw a blank screen and don't start. If I disable this wonderful script, the app loads/functions.
Do any of you know which host to whitelist for CNN app to work?
BTW, overtime I ended-up having to whitelist the below:
Posted: Sun May 03, 2020 18:17 Post subject: Re: Adblock.sh: 0.1.2.3 justification
dragonii wrote:
Hi all,
Just wondering why the ads blackhole cannot be neither 0.0.0.0 or 127.0.0.1 and therefore 0.1.2.3 is the default one.
Since I've some web pages taking forever to load, I was thinking that perhaps it could be more efficient to have the ads pointing localy to lo instead.
only adding
addn-hosts=/jffs/dnsmasq/mphosts
works, and also seems to block ads, when I use this website to check if it's working;
https://thepcspy.com/blockadblock/
So my question is 2 fold;
- Why do we need to add the conf-file parameter?
- If it's necessary and not everything is blocked when not added, how would I go about doing this without breaking my guest WiFi?