this post was submitted on 29 Dec 2023
851 points (97.0% liked)

linuxmemes

21392 readers
1450 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] chandz05 89 points 11 months ago (5 children)

    My Raspberry Pi SD card finally died after almost 10 years, and I was hosting Pi-Hole on it. After a year of Pi-Hole I didn't realize how many things had freaken ads. They pop up everywhere! I really need to get a new SD card :(

    [–] KrapKake 46 points 11 months ago (2 children)

    Then install log2ram to avoid constant writes to SD card. Or install DietPi instead of the stock OS, its installed automatically. Honestly DietPi just rocks for SBCs in general, good text UI and utilities.

    [–] chandz05 7 points 11 months ago (1 children)

    Is dietPi the same as PiOS lite? I use PiOS lite with no GUI etc

    [–] KrapKake 9 points 11 months ago (1 children)

    Probably not, think of it as a different distro. It is Debian based, and supports many different SBCs and not just the RPi. https://dietpi.com/

    load more comments (1 replies)
    load more comments (1 replies)
    [–] [email protected] 17 points 11 months ago (2 children)

    10 years is a pretty good run for an SD card.. was it an endurance SD? That’s what I’m running. Fried a non-endurance one in under a year, replaced it with an endurance and reduced log writing frequency with some config change and have been cruising for 3-4 years so far.

    [–] Telodzrum 11 points 11 months ago

    Endurance cards are so worth it. They’re what I use in my Pi units and our dash cams. I just whish I hadn’t fried so many normal cards before coming around.

    load more comments (1 replies)
    load more comments (3 replies)
    [–] Kase 58 points 11 months ago* (last edited 11 months ago) (1 children)
    [–] DacoTaco 10 points 11 months ago

    Its an old meme sir, but it checks out

    [–] crsu 45 points 11 months ago (1 children)

    When I want an ad gone, I reach for brand name soda. Brand name soda, it means you're smart.

    load more comments (1 replies)
    [–] MargotRobbie 36 points 11 months ago (2 children)

    Not if it is my ad, Golden Globe nominated movie, Barbie, is now available on Blu-ray and select streaming services.

    Nowhere is safe. No where.

    [–] Thcdenton 7 points 11 months ago (1 children)
    [–] MargotRobbie 10 points 11 months ago (1 children)
    load more comments (1 replies)
    load more comments (1 replies)
    [–] [email protected] 36 points 11 months ago (3 children)
    [–] DacoTaco 34 points 11 months ago* (last edited 11 months ago) (4 children)

    That only stops browser activity? What about windows, discord, nvidia, ... ? :p
    Those are all blocked on my pihole ( i run both pihole and ublock btw )

    [–] [email protected] 8 points 11 months ago (3 children)

    I guess I just don't trust Windows discord and Nvidia. I don't think DNS filtering will protect you if they control the computer

    load more comments (3 replies)
    load more comments (3 replies)
    [–] ObsidianZed 29 points 11 months ago (7 children)
    load more comments (7 replies)
    [–] cyberpunk007 8 points 11 months ago (6 children)

    Works great when you have a device that can use it.

    load more comments (6 replies)
    [–] lightnegative 16 points 10 months ago (6 children)

    I don't bother with PiHole because DNS-based ad blocking quite frankly sucks and is only getting worse.

    I'm still waiting for someone like AdGuard to release a MITM proxy that does something similar to uBlock Origin and strips ads directly from the network traffic

    But until then, browser extensions are good enough for most usecases (Firefox user so the adblocking ones work on mobile as well)

    load more comments (6 replies)
    [–] Subverb 15 points 11 months ago (8 children)

    I wish I could pi-hole.

    I use NextDNS and it's good for my devices, but Google sponsored links won't work with it. Sometimes I have to turn it off temporarily to get something done.

    Also, my wife works from home in social media. I can't really block ads network-wide because she needs to see them.

    😕

    [–] SomeKindaName 13 points 11 months ago

    You can setup separate vlans, or even separate networks for allowing the ads if you need.

    [–] thorcik 8 points 10 months ago (1 children)

    You can - my wife works with ads as well.

    What I ended up doing - I set her laptop with a static IP and added TCP and UDP routes for port 53 (the one used for DNS queries) to 8.8.8.8 - no complaints since ;) I use a cheap Mikrotik router between my ISP one and the actual network (well, a NAS and a Unifi AP, the rest is wireless) so doing it was easy ;)

    load more comments (1 replies)
    load more comments (6 replies)
    [–] ndupont 14 points 11 months ago (6 children)

    We're on holidays and the kids had me install WireGuard on their devices to get rid of the ads, you know, like it is at home.

    load more comments (6 replies)
    [–] [email protected] 11 points 11 months ago (3 children)

    Does YouTube trigger his anti-adBlock with a piHole?

    [–] LazaroFilm 55 points 11 months ago

    YouTube ads come from the same server as the content so you can’t isolate them with pihole

    [–] [email protected] 26 points 11 months ago

    No because pi-hole does not block YT ads

    [–] [email protected] 10 points 11 months ago

    uBlock Origin on Firefox still works great if you keep the filters up to date every once in a while c:

    [–] [email protected] 10 points 11 months ago (8 children)

    My block ads Magisk module:

    load more comments (8 replies)
    [–] Rooki 10 points 11 months ago (1 children)

    Tell me, what is your most reliable ad list source?

    [–] [email protected] 20 points 11 months ago

    Personally I use Stevenblack's default one, in combination with a personal one that i've curated since 2019. Previously I used to use MVPS, however that list's included in the SB default.

    Stuff that tends to slip through the cracks with a lot of the common lists includes things like admiral 🤬, user session recorders, and app monitoring platforms like sentryio (useful for development, but I didn't consent my activity being recorded). There's also Bauer Media Group garbage that I've resorted to creating firewall packet inspection rules for, because they're using a subdomain technique that's even worse than Admiral's autogenerated domains - at least with those you can use DNS analysis tools like dnsdumpster to uncover the rest of autogenerated domains in that batch

    [–] Cihta 9 points 10 months ago (4 children)

    I've used Pihole for so long.. I bought the original pi as a curiosity but Pihole was best use of it.

    Here is the problem though, which i assume applies to all adblockers: everything is now "sponsored links". Google, Amazon, etc. They are of course blocked which is getting really frustrating.

    So what do we do now? Is there a way to just send fake telemetry? Saw VLANs mentioned. Is that the way? I'm getting older and life gets busier and it's harder for me to keep up on this.

    load more comments (4 replies)
    [–] havokdj 8 points 11 months ago (2 children)
    load more comments (2 replies)
    [–] [email protected] 7 points 11 months ago (8 children)

    I don't quite understand the use-case for the pi-hole. Why use it, when one could simply use something like µBlock Origin?

    [–] TeddE 27 points 11 months ago (5 children)

    µBlock Origin is great for browsers that support extensions. But that won't get most Android TV ads or Apple TV users. And I suspect many of the people with pi hole also use µBlock Origin for redundancy.

    [–] Manifish_Destiny 10 points 11 months ago

    Correct. I haven't seen an ad for years.

    load more comments (4 replies)
    [–] A_Random_Idiot 13 points 11 months ago (1 children)

    cant use adblocking on xbox/roku/etc.

    pihole blocks ads on those.

    load more comments (1 replies)
    [–] Landless2029 9 points 11 months ago (1 children)

    One example. Can't really AD block ios that easily. But with a pi hole you don't need to worry about anything.

    Just setup the pi hole static IP as the dns in your routers settings and all devices are behind the one interface.

    Got an issue? Just login to the pi hole website to manage it. White list some critical AD site for some stupid mobile game your kids play for example.

    load more comments (1 replies)
    [–] Dehydrated 8 points 11 months ago

    Ads are not only present in the browser. For example, there are Smart (not really lol) TVs that have ads embedded right into the operating system (https://reddit.com/r/assholedesign/comments/co5aw4/unremovable_ads_on_my_2500_samsung_smart_tv/). You can't install an adblocker there, but a DNS based filter will know how to deal with this. There are other alternatives, some are cloud hosted like NextDNS or ControlD, there are other local alternatives like AdguardHome or PfBlockerNG if you run a PfSense Firewall. There are also simple solutions like AdGuard's Public DNS or Mullvad's Adblocking DNS servers. If you use an iPhone or iPad, you can easily download a configuration profile that includes the DNS settings for these services. I think NextDNS offers a similar service. On Android, you can just set up Dns over TLS, I think it's called Private DNS in the settings. DNS adfiltering can't get rid of all ads though, e.g. YouTube's mechanism for displaying ads is resistant to DNS filtering. That's what uBlock Origin if for though.

    [–] [email protected] 8 points 11 months ago (1 children)

    It blocks ads in apps on your cell phone too, not just in browsers

    load more comments (1 replies)
    load more comments (3 replies)
    [–] feecoomeeq 7 points 11 months ago (1 children)

    And there's also AdBlock plugin in OpenWRT

    load more comments (1 replies)
    load more comments
    view more: next ›