this post was submitted on 03 Sep 2023
401 points (96.3% liked)

You Should Know

33195 readers
8 users here now

YSK - for all the things that can make your life easier!

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with YSK.

All posts must begin with YSK. If you're a Mastodon user, then include YSK after @youshouldknow. This is a community to share tips and tricks that will help you improve your life.



Rule 2- Your post body text must include the reason "Why" YSK:

**In your post's text body, you must include the reason "Why" YSK: It’s helpful for readability, and informs readers about the importance of the content. **



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-YSK posts.

Provided it is about the community itself, you may post non-YSK posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you harass or discriminate against any individual member, you will be removed.

If you are a member, sympathizer or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- The majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities:

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

Credits

Our icon(masterpiece) was made by @clen15!

founded 1 year ago
MODERATORS
 

I just discovered this and it works fantastically on any old / unused android device you might have lying around, I was shocked at how easy it was, all the instructions are there, once you have it running all you need to do is set your router DNS settings to your pihole IP address and presto! Ads and trackers are gone!

https://github.com/DesktopECHO/Pi-hole-for-Android

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 88 points 1 year ago (6 children)

Take the battery out if you can to avoid lithium fires.

Old batteries on constant charge... I worry about this kind of thing.

[–] [email protected] 26 points 1 year ago (1 children)

This is where fair phone and framework laptops shine. So easy to take the batteries out.

[–] elbarto777 32 points 1 year ago

Not to take away from what you're saying but old phones and laptops are very likely to have easily replaceable batteries as well.

[–] [email protected] 18 points 1 year ago (1 children)

I removed the battery but now I can't get the fucker to turn on lol

[–] [email protected] 32 points 1 year ago (1 children)

Most mobile devices won't work without batteries. The best way to work around this is to supply it with 4.2V (anything between 3V and 4.2V will do) over the battery connector.

[–] [email protected] 12 points 1 year ago (1 children)

I think I might have broken something, even when I clip the battery back in I get nothing 😟

[–] [email protected] 23 points 1 year ago (1 children)

This could be a long shot but if it's a Samsung Galaxy Tab S, the battery connector solder joints kinda die after a while, which can either be fixed by reflowing them or by applying pressure (I have a tablet with that issue). You could try pressing on the battery connector and see if it works then.

[–] [email protected] 30 points 1 year ago (1 children)

I looked a little closer at the battery connectors and when pulling the battery out I must have yanked the little wires out of the clip just ever so slightly (I could see a little bit of them reflecting on one side) I carefully pushed them back in and avast! There is life again! Thank you kind stranger!

[–] [email protected] 7 points 1 year ago

If you're in the mood for tinkering, you might want to try this: https://www.instructables.com/Power-an-Android-Phone-Without-Battery/

[–] [email protected] 9 points 1 year ago (2 children)

I have an old Nexus running as a weather station. I just bought a WiFi controlled plug for the power supply so it switches on and off continuously

[–] [email protected] 5 points 1 year ago (1 children)

Can I ask what kind of setup you have there? In terms of software etc..

[–] [email protected] 4 points 1 year ago

It's just a screen that shows me the weather forecast tbh. It's a paid app called whatweatherpro

[–] [email protected] 4 points 1 year ago (1 children)

Thanks for the tip. Got a tablet running HA and thus plugged in 24/7. Just ordered a smart plug to schedule the charging.

[–] StandingCat 2 points 1 year ago* (last edited 1 year ago) (1 children)

Home assistant runs on old tablets now? Or are you saying as a dashboard?

[–] [email protected] 2 points 1 year ago

Sorry, yes as dashboard :)

[–] googlrr 7 points 1 year ago (2 children)

I run pihole on a Raspberry Pi Zero with an Ethernet adapter. Runs great, runs off USB power of my router, no risk of battery explosion. Recommend that over a phone any day

[–] teruma 2 points 1 year ago (1 children)

I tried to set up something similar but it doesn't block a damn thing and I can't find whatever router setting I'm missing for the life of me....

[–] pirat 1 points 1 year ago (1 children)

You need to change the DNS settings in your router to the IP of the Pi-Hole if you want it to affect all devices on your network. If that doesn't work, you'll need to change the DNS on each of your devices instead.

[–] teruma 1 points 1 year ago (1 children)

Yeah, when I change the dns on the router, I lose Internet completely. I am unwilling to change it on literally every device because that's a huge pain in the ass.

[–] pirat 1 points 1 year ago (1 children)

Sounds like your Pi-Hole isn't set up properly then... Your Pi-Hole itself needs internet connection.

[–] teruma 1 points 1 year ago

yeah, I'm not sure what part of the instructions I missed, though I'm not terribly knowledgeable when it comes to network setup.

[–] lostferret 1 points 1 year ago (1 children)

Amazing! I have an old ZeroW thats been sitting around. Any issues? Latency?

[–] googlrr 2 points 1 year ago

Nope can't say I've ever noticed any issues with it. I've had it for a long time now. Kind of forgot they aren't really new anymore lol. Maybe 7-8 years running? I update it every 6 months or whenever I remember and it still works great.

[–] [email protected] 7 points 1 year ago (1 children)

Good point, I'll have to look into that

[–] [email protected] 13 points 1 year ago (3 children)

You might also be able to turn on Battery Idle Mode, although it's not supported on every device.

[–] [email protected] 4 points 1 year ago

Got it up and running now! Thanks mate

[–] [email protected] 5 points 1 year ago (1 children)

Is there any modern day android phones that work without the battery. I feel like they'd probably run POST checks to make sure there's a battery inside. Maybe fairphoness?

load more comments (1 replies)
[–] [email protected] 32 points 1 year ago (5 children)

Good concept but the WiFi latency and the processing speed would I'm sure slow down your browsing experience.

Cool though!

[–] herrvogel 13 points 1 year ago (3 children)

Running a pi-hole doesn't require much juice. It's a fancy DNS server, not a router. First gen raspberry pis were pretty weak and even those things didn't even break a sweat.

load more comments (3 replies)
[–] couragethebravedog 8 points 1 year ago

I believe you can do Ethernet over USB c on some devices.

[–] [email protected] 6 points 1 year ago

Oh for sure. I think this is for a very niche user base: People who know about PiHole but don't have a pi/linux box but do have an old Android phone. It's definitely a strange but cool project.

[–] [email protected] 4 points 1 year ago (1 children)

I haven't seen any notable issues yet, a lot of people use a wireless pi zero to do the same thing so as long as you aren't running a state of the art gaming rig (which i'm not) I think it'll be fine

[–] Boxtifer 4 points 1 year ago (1 children)

Your client hardware wouldn't matter tho. State of the art or whatnot of a gaming rig would be fairly low. In sure most modern mobile phones create more DNS requests these days compared to a Windows machine and steam. It's the configured software on the hosts that will dictate how much traffic your devices will get. A lot also cache by listening to the TTL. There will be some form of additional latency but your average Joe won't probably notice.

[–] [email protected] 1 points 1 year ago

Oh I see well I could say I'm an average Joe lol

[–] [email protected] 1 points 1 year ago (2 children)

I'm not sure about that. The average consumer router is fairly underpowered but is still capable of handling the needs of most home networks.

[–] [email protected] 10 points 1 year ago (2 children)

Wifi adds latency. Adding 30-300 ms of latency will noticeably affect your browsing experience.

[–] [email protected] 4 points 1 year ago

Exactly, I'm being down voted for two comments which are wrong, meh.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 20 points 1 year ago* (last edited 1 year ago)

Oh shit. Something to use that old galaxy s4 I still have for. Been wanting to set up a pihole, but didn't want to buy a raspberry pi just for that.

[–] [email protected] 13 points 1 year ago (2 children)

On should have a look on the energy saving behavior of the device, as android tends to shutdown processes occasionally. Which is pretty bad for a DNS server IMHO

[–] elbarto777 4 points 1 year ago

Sure it does. But you can also tell it to put some processes in a top priority list.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Yeah I'll keep an eye on it and see how it goes, should be alright though I turned the battery optimization off

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)