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?

  • Domi
    link
    fedilink
    English
    1928 days ago

    With the latest release of android it now supports some Linux functionality.

    Wait, it does? Gonna have to check that out.

      • @Appoxo@lemmy.dbzer0.com
        link
        fedilink
        English
        228 days ago

        Is it an app I should be able to just find in my installed apps or do I need to enable it?
        Because as of now (Pixel 7, Android 15) I can only find Termux.

      • Domi
        link
        fedilink
        English
        428 days ago

        Dope, seems to not have landed yet in LineageOS but the Terminal app is already installed. Just missing the toggle in the developer options.

  • @tofu@lemmy.nocturnal.garden
    link
    fedilink
    English
    2329 days ago

    That’s cool! I’ve always had the idea of a small k3s cluster on old phones with postmarketOS. I guess it doesn’t work with older phones which don’t have the latest Android Version but given the homelab trend generally goes towards small, low power devices, this could continue the trend with super small and low power phones. Probably in 2 years when current gen phones rotate out of company leasing contracts?

    • @Dust0741@lemmy.worldOP
      link
      fedilink
      English
      1329 days ago

      Oh man that’d be super cool. An ARM cluster of androids would be awesome. Battery backups built in!

      • Lka1988
        link
        fedilink
        English
        127 days ago

        Make sure you utilize the 80% charge feature

  • @merthyr1831@lemmy.ml
    link
    fedilink
    English
    6028 days ago

    my friends complaining that my plex server because I left my phone on the bus and it ran out of charge

          • Lka1988
            link
            fedilink
            English
            127 days ago

            In all seriousness, I think a “mobile server” in laptop-like form would be pretty nice. Have a giant battery attached to the bottom and program the controller to run on AC as it’s primary power source while treating the battery as a secondary source. Definitely niche, but cool nonetheless.

          • @valkyre09@lemmy.world
            link
            fedilink
            English
            427 days ago

            Except for that time I took out the battery because it was swollen and took the screen off to help with cooling. At least I still have my K and M

  • mesa
    link
    fedilink
    English
    1529 days ago

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

    • @turnip@sh.itjust.works
      link
      fedilink
      English
      527 days ago

      I dont know how you can stand using iOS. Its just so unintuitive, theres no back button and I can’t even figure out copy/paste.

      • @valkyre09@lemmy.world
        link
        fedilink
        English
        927 days ago

        Copy paste is easy. You just tap on the, no wait you tap on the, fuck hold on. You tap, there we are, on the word and hold until it highlights. No wait hold on. Fuck. There we are. Ok now you tap on the highlighted word to copy, fuck wait Ah fuck it just type it again yourself

        • @turnip@sh.itjust.works
          link
          fedilink
          English
          2
          edit-2
          27 days ago

          Haha my feelings exactly, I can work in Linux cli and program rust with ease, but I can’t copy and paste on an iPhone.

        • Lka1988
          link
          fedilink
          English
          227 days ago

          I feel this. My work phone is an iPhone 12, and typing is a pain compared to Android.

  • javilopezg
    link
    fedilink
    English
    1127 days ago

    The change maker feature would be to arrive home and plug your phone in a dock station and have a desktop to use as a pc

    • @dan@upvote.au
      link
      fedilink
      English
      7
      edit-2
      27 days ago

      This has been supported on Samsung devices for years - it was first added to the Galaxy S8 (2017). It’s called Samsung DeX. You can plug a phone or tablet into a monitor, keyboard, and mouse, and it gives you a full screen experience.

      They have docking stations, but you can also just use a USB C hub.

    • Lv_InSaNe_vL
      link
      fedilink
      English
      327 days ago

      I’ve been talking about this for years! I got the idea from razer but I’m imagining the laptop chassis adds a nice screen, enormous battery, better IO, and then it just uses the touch screen as the track pad.

      It could be so cool

    • Lka1988
      link
      fedilink
      English
      227 days ago

      I have a Steam Deck dock specifically for this. Except the mouse comes up on the phone screen instead of the monitor. Weird bug.

  • @knF@lemmy.world
    link
    fedilink
    English
    5
    edit-2
    29 days ago

    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

  • @shyguyblue@lemmy.world
    link
    fedilink
    English
    429 days ago

    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.

    • Lka1988
      link
      fedilink
      English
      3
      edit-2
      29 days ago

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

      • @shyguyblue@lemmy.world
        link
        fedilink
        English
        129 days ago

        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
          link
          fedilink
          English
          2
          edit-2
          28 days 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.

    • @merthyr1831@lemmy.ml
      link
      fedilink
      English
      128 days ago

      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
        link
        fedilink
        English
        128 days 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.

        • @macattack@lemmy.world
          link
          fedilink
          English
          119 days ago

          Are you using DNS Rewrites for jellyfin? I am using that (via AdGuard Home) w/ my Reverse Proxy (Zoraxy) and most of the apps work outside of jellyfin. Wondering if I need to configure the domain in the compose/env file 🤔

  • @Selfhoster1728@infosec.pub
    link
    fedilink
    English
    3
    edit-2
    28 days ago

    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

      • @Selfhoster1728@infosec.pub
        link
        fedilink
        English
        227 days ago

        You’re right actually it’s not native I don’t know what I’m on about 😅 Still it’s much easier to have a baked in terminal app than having to install proot on top of termux, hopefully it will have less of a performance impact than proot as well.

    • @catloaf@lemm.ee
      link
      fedilink
      English
      629 days ago

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

      • @shortrounddev@lemmy.world
        link
        fedilink
        English
        129 days 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

  • confuser
    link
    fedilink
    English
    4
    edit-2
    29 days 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