this post was submitted on 11 Mar 2025
302 points (99.3% liked)

Selfhosted

44070 readers
561 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

With the latest release of android it now supports some Linux functionality. I got docker installed simply by following Docker's docs.

Any thoughts or uses for a mobile homelab? What would be useful to have mobile?

(page 2) 28 comments
sorted by: hot top controversial new old
[–] mesamunefire@piefed.social 14 points 1 day ago (2 children)

Debian is supposedly coming to android. That would be cool.

load more comments (2 replies)
[–] neatobuilds 5 points 1 day ago

Get steam-headless running on there

[–] shadowtofu@discuss.tchncs.de 3 points 1 day ago (4 children)

While this is very exciting, I just tried it, and the network connectivity seems to be broken. No IPv6.

[–] Dust0741@lemmy.world 6 points 1 day ago* (last edited 1 day ago) (1 children)

Hmm I was messing with its networking. External vpns break stuff on GrapheneOS. Its internal IP was 192.168.0.2, and my network is different.

[–] shadowtofu@discuss.tchncs.de 4 points 1 day ago

Yes, Linux is running in a VM, and the network interface is a virtualized veth interface connected to a host bridge. The host android system has IP address 192.168.0.1, and this network interface is called avf_tap_fixed (as seen from termux).

load more comments (3 replies)
[–] confuser@lemmy.zip 4 points 1 day ago* (last edited 1 day ago)

How do we activate this feature? I have it enabled after going into the developer settings menu but nothing seems to happen, I see mentions of an app but idk what the app is. I am on grapheneOS though instead of normal android so there could be something with that here.

Oh nvm I figured it out, it just took a bit for me to realize there was a new terminal app on my phone

[–] knF@lemmy.world 4 points 1 day ago* (last edited 1 day ago) (1 children)

Impressive! Can you please link the instructions you followed?

Some time ago I was hosting the full ARR suite, bitwarden, AdGuard etc, but it was usually a mess with direct installs. With docker it might be worth revisiting it.

My only advice, buy a usb-ETH dongle, it will make a huge difference in stability

[–] Dust0741@lemmy.world 4 points 1 day ago

https://docs.docker.com/engine/install/debian/#install-using-the-repository

That's it lol. To turn on the terminal, it's a developer option for now, and is very alpha, just search for Linux in settings after turning on dev mode

[–] Selfhoster1728@infosec.pub 3 points 1 day ago* (last edited 1 day ago) (1 children)

Just installed arch with chroot on my old rooted phone a week ago.

Seeing this is great because it means there's no need for complicated workarounds or even root access! Plus the distro runs natively and not with difficulties like with chroot :D

[–] Tiuku@sopuli.xyz 4 points 1 day ago (1 children)

Native in what sense? As I understand it that uses a VM of some sort

load more comments (1 replies)
[–] shyguyblue@lemmy.world 3 points 1 day ago (2 children)

Oh nice! I'd love to run an ad blocker/dns/reverse proxy on something with a little more beef than the Pi zero I've got now.

Jellyfin and or Pi zero does not like streaming through the video.local address I've got setup, so i have to use IP address to get anything without stuttering.

[–] merthyr1831@lemmy.ml 1 points 1 day ago (1 children)

pi zero for streaming is insane not gonna lie. What sort of resolution do you stream it at?

A decently newish phone would blow even a pi 5 out of the water I bet. Modern GPU drivers from snapdragon or mediatek plus core designs that arent 7 years old out of the factory would be a godsend for low-watt homelabbers

[–] shyguyblue@lemmy.world 1 points 1 day ago

Dang, I just realized I didn't explain the setup well enough:

An old laptop runs the Jellyfin server, but the Pi runs the reverse proxy. For some reason, trying to use the reverse proxied address causes problems, but connecting directly to the laptop via IP address and port runs fine.

I tried a Jellyfin server with a pi 2 or 3 and it couldn't serve more than one client at a time. So i imagine a zero wouldn't even be able to load the app, much less serve anything :/

My main reason for running my DNS/ad block/nginx through the zero, sometimes the laptop goes down, freezes, or fails to clear the transcodes folder, so having that stuff separate keeps at least part of the network running.

[–] lka1988@sh.itjust.works 2 points 1 day ago* (last edited 1 day ago) (1 children)

The VM eats through the battery, that's the only hangup I have with this. Otherwise that's a fantastic idea.

[–] shyguyblue@lemmy.world 1 points 1 day ago (1 children)

If I trusted the battery tech more, I would use an old phone. But I've had one of those white plastic Mac books hooked up to power so long, the battery swelled out of its enclosure :/

Maybe there's a way to disconnect the battery, or an app that switches off charging, so it drains enough to keep that from happening

[–] lka1988@sh.itjust.works 2 points 1 day ago* (last edited 1 day ago)

There are root apps that can limit battery charge level. If you have an older phone that's rootable, I would look into that.

[–] shortrounddev@lemmy.world 2 points 1 day ago (1 children)

I wish all the logs at my company were as beautiful as these terminal logs

[–] catloaf@lemm.ee 6 points 1 day ago (1 children)

Please no. I can't grep that. (Nor ingest it to splunk for more powerful searching.)

[–] shortrounddev@lemmy.world 1 points 1 day ago

If its an application I run locally, I rarely grep logs (they're small enough that I can just ctrl+f). If it's something running in production with millions of lines of logs, then I agree

[–] OR3X@lemm.ee 1 points 1 day ago* (last edited 1 day ago)

That’s super cool! I’ve been wanting to setup an offsite backup rig at my parents place and using an old phone to run it would be super ideal but I just don’t have any hardware that’s compatible with postmarketOS. Maybe one day ill bite the bullet and just buy a compatible used phone to do it with.

load more comments
view more: ‹ prev next ›