What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

I'm still interested to know how to get my own list (in .txt?) included in Diversion if that's possible.
I'm using github to host my own list of Turkish ad servers. Process is pretty simple: just create a new document or upload it from your drive with the right formatting, get the RAW link of that file and add it to Diversion (b, 1, 2)
 
You could add your list to somewhere like Pastebin and then use the RAW link to it to add it as a source in your blocking list.
Make sure to use this format, otherwise it will not be included:
Code:
0.0.0.0 domain.com

Code:
127.0.0.1  domain.com

This would also work, right?
 
What router are you using this on?

What firmware version?

How is your USB drive configured and formatted? Did you use amtm to format it as Ext4 with journaling?

Did you create a swap file before you tried installing Diversion?

What other scripts do you have installed before you try to install Diversion?

Do you have Entware installed beforehand?

It's a RT-AC68U
It's using 384.10_2.
The usb drive was formatted with ext2 using amtm.
I also create a 520mb swap file.
Entware was installed.
 
It's a RT-AC68U
It's using 384.10_2.
The usb drive was formatted with ext2 using amtm.
I also create a 520mb swap file.
Entware was installed.

It doesn't seem that you used amtm to do the above?

https://diversion.ch/amtm.html

I would recommend the following steps to get this working.

First, save any files you need off of the USB drive. Once done, from the GUI, Safely remove it.

At this point, I would also format the USB drive in a computer to ensure there will be no unwanted interactions when re-used in the router, below.

Next, save any files you are using or have created in the jffs partition. Including any OpenVPN (or other files) you need to re-use. If it is easier to re-create them (and if they are using just default settings, it is easier), save them 'just in case'.

Now, with the USB drive removed;
  • Enable 'format jffs partition on next reboot' and make sure you hit the 'Apply' button on that page.
  • Reboot the router 3 times in the next 15 minutes or so. Making sure to wait for 5 to 10 minutes between reboots.
  • After the last reboot, wait at least 5 minutes to allow the router to settle (the CPU cores should be idle by then) and then SSH into the router and use the curl command to install amtm from the link above.
  • Plug in the USB drive and be sure it is the only USB device plugged in.
  • Using amtm, format the USB drive using 'fd' using Ext4 with journaling enabled.
  • Make sure to create a label for the drive too.
  • After the router has rebooted, SSH into the router, start amtm and create a swap file (I always use 2GB, max).
  • Enable the disk checker in amtm for the drive. Use the command 'dc' in amtm to do so.
  • Using amtm, enter '1' and this will begin the installer for Diversion.
  • It will also install Entware (and optionally, pixelserv-tls, if selected).
At this point, you should have a properly formatted USB drive, a usable swap file, and amtm Diversion and Entware installed and all properly integrated. :)

After about an hour of the above working as expected, I would recommend you reboot the router and check the disk checker log (in amtm, 'dcl') to make sure there are no errors showing.

Now, you should be able to install available amtm scripts as needed, knowing that amtm, Entware, and the supported scripts will all work properly.
 
Ben_, you'll be teaching me soon! :)

I'm a Freshman and you are my IT professor:cool:.

OK, I created my own list https://pastebin.com/raw/TU2N0VJh which I got from "blackbird" to "cure" Windows 10 telemetries plus a few entries (7) to prevent auto-updates for Amazon FireTV. I took out two entries from "blackbird" login.live.com & ssl.gstatic.com or else Microsoft OutlookLive Mail wouldn't work.

In compiling the above file, the "blackbird" list https://www.getblackbird.net/blacklist/hosts/ is combined with winhelp2002.mvps.org/hosts.txt http://winhelp2002.mvps.org/hosts.txt and then a "Redundancy check" is performed using https://arestwo.org/famlam/redundantRuleChecker.html.

Thanks underdose for the (b, 1, 2) in Diversion!

Someone please check If I've done it correctly, see attached.

OK, who is this StevenBlack? Diversion creator?

Now I'm a little confused, I'm using Diversion Lite, is Diversion Lite using winhelp2002.mvps.org/hosts.txt or the hosts list from StevenBlack from Github?
 

Attachments

  • 1.PNG
    1.PNG
    46.2 KB · Views: 579
  • 2.PNG
    2.PNG
    43 KB · Views: 429
Last edited:
Ben_, I'm learning, I'm learning! :)
 
It doesn't seem that you used amtm to do the above?

https://diversion.ch/amtm.html

I would recommend the following steps to get this working.

First, save any files you need off of the USB drive. Once done, from the GUI, Safely remove it.

At this point, I would also format the USB drive in a computer to ensure there will be no unwanted interactions when re-used in the router, below.

Next, save any files you are using or have created in the jffs partition. Including any OpenVPN (or other files) you need to re-use. If it is easier to re-create them (and if they are using just default settings, it is easier), save them 'just in case'.

Now, with the USB drive removed;
  • Enable 'format jffs partition on next reboot' and make sure you hit the 'Apply' button on that page.
  • Reboot the router 3 times in the next 15 minutes or so. Making sure to wait for 5 to 10 minutes between reboots.
  • After the last reboot, wait at least 5 minutes to allow the router to settle (the CPU cores should be idle by then) and then SSH into the router and use the curl command to install amtm from the link above.
  • Plug in the USB drive and be sure it is the only USB device plugged in.
  • Using amtm, format the USB drive using 'fd' using Ext4 with journaling enabled.
  • Make sure to create a label for the drive too.
  • After the router has rebooted, SSH into the router, start amtm and create a swap file (I always use 2GB, max).
  • Enable the disk checker in amtm for the drive. Use the command 'dc' in amtm to do so.
  • Using amtm, enter '1' and this will begin the installer for Diversion.
  • It will also install Entware (and optionally, pixelserv-tls, if selected).
At this point, you should have a properly formatted USB drive, a usable swap file, and amtm Diversion and Entware installed and all properly integrated. :)

After about an hour of the above working as expected, I would recommend you reboot the router and check the disk checker log (in amtm, 'dcl') to make sure there are no errors showing.

Now, you should be able to install available amtm scripts as needed, knowing that amtm, Entware, and the supported scripts will all work properly.

Geeeeze Louise so it’d take ~1.5 hours to complete this procedure exactly. All those long long wait times between steps... doing 3 reboots over 15-30 minute period. I can understand 1 reboot, 2 max. What is the science behind this? Is it actually flushing some residual settings?
 
Geeeeze Louise so it’d take ~1.5 hours to complete this procedure exactly. All those long long wait times between steps... doing 3 reboots over 15-30 minute period. I can understand 1 reboot, 2 max. What is the science behind this? Is it actually flushing some residual settings?

I'm not Louise! :D

This is nowhere close to a 1.5-hour task. :D

Three reboots in the 'next' 15 minutes mean reboot, wait for 5 to 10 minutes, reboot, then wait for 5 to 10 minutes, then reboot. ;)

At the most, in half an hour this is fully set up and should be rock solid stable. :)
 
I'm a Freshman and you are my IT professor:cool:.

OK, I created my own list https://pastebin.com/raw/TU2N0VJh which I got from "blackbird" to "cure" Windows 10 telemetries plus a few entries (7) to prevent auto-updates for Amazon FireTV. I took out two entries from "blackbird" login.live.com & ssl.gstatic.com or else Microsoft OutlookLive Mail wouldn't work.

In compiling the above file, the "blackbird" list https://www.getblackbird.net/blacklist/hosts/ is combined with winhelp2002.mvps.org/hosts.txt http://winhelp2002.mvps.org/hosts.txt and then a "Redundancy check" is performed using https://arestwo.org/famlam/redundantRuleChecker.html.

Thanks underdose for the (b, 1, 2) in Diversion!

Someone please check If I've done it correctly, see attached.

OK, who is this StevenBlack Diversion creator?

Now I'm a little confused, I'm using Diversion Lite, is Diversion Lite using winhelp2002.mvps.org/hosts.txt or the hosts list from StevenBlack from Github?
You're doing too much manual work and work against what's common procedure for Diversion.
1. Put every static domain in your pastebin, such as those in your original list and the ones on "blackbird".
2. Forget about adding the winhelp2002.mvps.org hosts, they are already part of StevenBlack's hosts list
3. Forget about doing any redundancy checks, this is what Diversion automatically does when compiling the blocking file, once every week
4. Add login.live.com and ssl.gstatic.com to the whitelist in Diversion

That's it, there is nothing more to do. Diversion takes care of the rest.
 
You're doing too much manual work and work against what's common procedure for Diversion.
1. Put every static domain in your pastebin, such as those in your original list and the ones on "blackbird".
2. Forget about adding the winhelp2002.mvps.org hosts, they are already part of StevenBlack's hosts list
3. Forget about doing any redundancy checks, this is what Diversion automatically does when compiling the blocking file, once every week
4. Add login.live.com and ssl.gstatic.com to the whitelist in Diversion

That's it, there is nothing more to do. Diversion takes care of the rest.

Yes, Sir!

How do you get to be so smart?:D
 
How do you get to be so smart?:D
I just type a bunch of words, letters and numbers. Then I group them with some brackets, equal signs and other unusual characters and finally sprinkle the document with a fair amount of dollar signs and call it a script.
That's all there is to it.
 
I just type a bunch of words, letters and numbers. Then I group them with some brackets, equal signs and other unusual characters and finally sprinkle the document with a fair amount of dollar signs and call it a script.
That's all there is to it.

I just tried this, I can now time-travel! :D:D:D

This post brought to you by my future-self, back from 1955! Sorry, gotta run... a storm is coming! :D:D:D
 
Speaking of Dollars and riches beyond dreams: Here's a way to block YouTube ads on your router, if you believe that guy:


The video is from 2017 so I doubt this will still work, if it ever did.

The site he's promoting is https://alternate-dns.com and if you want to use their blocking file (https://alternate-dns.com/license.php), it costs a mere $24.95 a month.
That brings me to the real topic of this post. Read the first sentence again, put two and two together and let me live my dream.
Thanks :D
 
It doesn't seem that you used amtm to do the above?

https://diversion.ch/amtm.html

I would recommend the following steps to get this working.

First, save any files you need off of the USB drive. Once done, from the GUI, Safely remove it.

At this point, I would also format the USB drive in a computer to ensure there will be no unwanted interactions when re-used in the router, below.

Next, save any files you are using or have created in the jffs partition. Including any OpenVPN (or other files) you need to re-use. If it is easier to re-create them (and if they are using just default settings, it is easier), save them 'just in case'.

Now, with the USB drive removed;
  • Enable 'format jffs partition on next reboot' and make sure you hit the 'Apply' button on that page.
  • Reboot the router 3 times in the next 15 minutes or so. Making sure to wait for 5 to 10 minutes between reboots.
  • After the last reboot, wait at least 5 minutes to allow the router to settle (the CPU cores should be idle by then) and then SSH into the router and use the curl command to install amtm from the link above.
  • Plug in the USB drive and be sure it is the only USB device plugged in.
  • Using amtm, format the USB drive using 'fd' using Ext4 with journaling enabled.
  • Make sure to create a label for the drive too.
  • After the router has rebooted, SSH into the router, start amtm and create a swap file (I always use 2GB, max).
  • Enable the disk checker in amtm for the drive. Use the command 'dc' in amtm to do so.
  • Using amtm, enter '1' and this will begin the installer for Diversion.
  • It will also install Entware (and optionally, pixelserv-tls, if selected).
At this point, you should have a properly formatted USB drive, a usable swap file, and amtm Diversion and Entware installed and all properly integrated. :)

After about an hour of the above working as expected, I would recommend you reboot the router and check the disk checker log (in amtm, 'dcl') to make sure there are no errors showing.

Now, you should be able to install available amtm scripts as needed, knowing that amtm, Entware, and the supported scripts will all work properly.

Thanks for your detailed instruction. I will try it.
 
Speaking of Dollars and riches beyond dreams: Here's a way to block YouTube ads on your router, if you believe that guy:


The video is from 2017 so I doubt this will still work, if it ever did.

The site he's promoting is https://alternate-dns.com and if you want to use their blocking file (https://alternate-dns.com/license.php), it costs a mere $24.95 a month.
That brings me to the real topic of this post. Read the first sentence again, put two and two together and let me live my dream.
Thanks :D

Sounds like snake oil. And expensive snake oil at $25/month. I bet most people pay once then cancel. The free to use AdGuard DNS admits it technically cant block YouTube ads. You need to use browser based adblockers. I’d trust the word of guys at adguard.

The YouTube app on Android can't be filtered anymore (well, for now, there's going to be new research on this in the future). And no, it's not possible to block them via DNS as DNS blocking blocks whole domains. YouTube loads everything (videos, ads, etc.) from a single domain.

https://forum.adguard.com/index.php?threads/youtube-ads-with-adguard-dns.27731/#post-163428
 
Hello,
why doesn't diversion take over my hosts-lists? They are all correctly specified and if I ping a ip-address via cmd, my pings always get through. Only the blacklisted ips are working
 

Attachments

  • sd.png
    sd.png
    29.9 KB · Views: 437
  • sda.png
    sda.png
    19.3 KB · Views: 369
Hello,
why doesn't diversion take over my hosts-lists? They are all correctly specified and if I ping a ip-address via cmd, my pings always get through. Only the blacklisted ips are working
The file sd.png is too small to read anything.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top