this post was submitted on 29 Dec 2023
845 points (97.1% liked)

linuxmemes

21263 readers
494 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!

    founded 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] chandz05@lemmy.world 88 points 10 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@lemmy.world 46 points 10 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@lemmy.world 7 points 10 months ago (1 children)

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

    [–] KrapKake@lemmy.world 9 points 10 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)
    [–] swampdownloader@lemmy.dbzer0.com 17 points 10 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@lemmy.world 11 points 10 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@lemmy.world 58 points 10 months ago* (last edited 10 months ago) (1 children)
    [–] DacoTaco@lemmy.world 10 points 10 months ago

    Its an old meme sir, but it checks out

    [–] crsu@lemmy.world 44 points 10 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@lemmy.world 36 points 10 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@lemmy.world 7 points 10 months ago (1 children)
    [–] MargotRobbie@lemmy.world 10 points 10 months ago (1 children)
    load more comments (1 replies)
    load more comments (1 replies)
    [–] possiblylinux127@lemmy.zip 36 points 10 months ago (3 children)
    [–] DacoTaco@lemmy.world 33 points 10 months ago* (last edited 10 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 )

    [–] possiblylinux127@lemmy.zip 8 points 10 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@lemmy.world 29 points 10 months ago (7 children)
    load more comments (7 replies)
    [–] cyberpunk007@lemmy.world 8 points 10 months ago (6 children)

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

    load more comments (6 replies)
    [–] lightnegative@lemmy.world 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@lemmy.world 15 points 10 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@lemmy.world 13 points 10 months ago

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

    [–] thorcik@lemmy.world 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@lemmy.world 14 points 10 months ago (3 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 (3 replies)
    [–] pewpew@feddit.it 11 points 10 months ago (3 children)

    Does YouTube trigger his anti-adBlock with a piHole?

    [–] LazaroFilm@lemmy.world 55 points 10 months ago

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

    [–] Ashiette@lemmy.blahaj.zone 26 points 10 months ago

    No because pi-hole does not block YT ads

    [–] Breakyfix@lemmy.blahaj.zone 10 points 10 months ago

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

    [–] Octopus1348@lemy.lol 10 points 10 months ago (8 children)

    My block ads Magisk module:

    load more comments (8 replies)
    [–] Rooki@lemmy.world 10 points 10 months ago (1 children)

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

    [–] lemann@lemmy.dbzer0.com 19 points 10 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@lemmy.world 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@lemmy.world 8 points 10 months ago (2 children)
    load more comments (2 replies)
    [–] Faresh@lemmy.ml 7 points 10 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@lemmy.world 27 points 10 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@lemmy.world 9 points 10 months ago

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

    load more comments (4 replies)
    [–] A_Random_Idiot@lemmy.world 13 points 10 months ago (1 children)

    cant use adblocking on xbox/roku/etc.

    pihole blocks ads on those.

    load more comments (1 replies)
    [–] Landless2029@lemmy.world 9 points 10 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@lemmy.world 8 points 10 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.

    [–] Kiddkao@lemmy.dbzer0.com 7 points 10 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@lemmy.world 7 points 10 months ago (1 children)

    And there's also AdBlock plugin in OpenWRT

    load more comments (1 replies)
    [–] GlitchyDigiBun@lemmy.dbzer0.com 6 points 10 months ago (6 children)

    I've wanted to do this for some time, but everyone tells me there's no way to make it work without constantly updating the blacklist. Is it really such a hassle?

    [–] ratman150@sh.itjust.works 15 points 10 months ago

    No lol It's so low maintenance that it took me about a month to figure out why it kept crashing. The answer was completely my fault as I forgot I gave the container running it only about 8gb of disk space and it filled up.

    I only log into the console to check some metrics/verify no issues/run updates and I maybe do that once every 3 months. I don't have my pi-hole set up the same way as the basic tutorial but as far as lists go I just subscribed and forgot.

    Worth noting my pihole is really only good for banner ads or ads that rely on DNS. YouTube ads require a clientside adblocker so far.

    [–] ApathyTree@lemmy.dbzer0.com 8 points 10 months ago

    I forget about mine until I need to log into it to allow/block something, then I run my updates if I remember to think about it.

    So like once every few months at best. Usually 2x/yr. Still works fine.

    [–] Telodzrum@lemmy.world 7 points 10 months ago

    The blocklist automatically updates as long as you’re using maintained sources. It’s pretty easy tbh.

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