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?

  • Javi@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 hours 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

    • lka1988@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour 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.

    • Brickhead92@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      But then how would I look at my phone while using my Desktop.

      I’ll need a dummy phone to doom scroll on.

  • merthyr1831@lemmy.ml
    link
    fedilink
    English
    arrow-up
    44
    ·
    1 day ago

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

          • lka1988@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 hour 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
            arrow-up
            2
            ·
            3 hours 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

  • node815@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    23 hours ago

    Maybe your own adblocker, I thought about doing that myself, I use the public one from adguard on my phone (dns.aguard-dns.com) but having it on your own device would be pretty slick perhaps. But thinking about it more, Google wouldn’t just let you use an internal IP for the private DNS. I have tried it with my locally hosted adblocker and it rejects it.

    Or you could set up a dashboard like Homepage or Dashy, or Flame or ? Ultimately, your imagination would do! :)

    • trevor@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      17 hours ago

      Unfortunately, from trying this myself, I don’t think you can forward port 53 to the Android host, so that won’t work (easily). It seems that privileged ports aren’t allowed to be forwarded.

    • Dust0741@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 day ago

      Yea kinda. Android is switching to quarterly releases, so my phone now says “Android 15” but this was QPR2 specifically

  • kratoz29@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    I can see my 5 year old android mobile struggling being a suitable self hosting machine… (Because of the battery).

    But not gonna lie, having it working as a more advanced travel router connect to Tailscale sounds like a neat idea (which I think it is already possible? The other day I saw the client app that supports subnet routers? I just haven’t tried it, and it has a disclaimer that it drains the battery… So I didn’t end up doing that at that moment when I was away).

  • muelltonne@feddit.org
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    What is the current wisdom about having an android device always plugged in? Some people say that it will kill and pillow the battery, but does it really?

    • Lyra_Lycan@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      21 hours ago

      The trick of retrofitting any battery powered device into a wired one is to remove the battery. No matter what, Li-ion batteries cannot sustain permanent power. Expensive adapters and new Androids can regulate power well, as can automations, but the best worry-free option is battery removal.

      Edit: I’ve just remembered Fairphone, they’re bossing the mobile repair ability front and have removable batteries like pre-2012. Could get one of those

    • Dust0741@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      I don’t know. I think they are pretty good at managing battery, and have a new setting for maxing it out at 80% charge, but I don’t think I’d put it near anything expensive for years on end.

  • confuser@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    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
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 day 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

    • catloaf@lemm.ee
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

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

      • shortrounddev@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        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

    • Dust0741@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      1 day ago

      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
        link
        fedilink
        English
        arrow-up
        3
        ·
        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).