I’m connecting to llama.cpp on my laptop through my phone via Tailscale but when my laptop sleeps I can’t access it anymore on my phone.

What are yall using for this? Thanks!

  • venusaur@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    21 hours ago

    Thanks! Ik interested in Wake on LAN. I don’t wanna keep drawing power when I’m not using it. Any recommendations for setting that up?

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      3
      ·
      20 hours ago

      Uh, it is a bit more involved. The Arch Wiki has a lengthy article on it: https://wiki.archlinux.org/title/Wake-on-LAN

      Basically, you’d enable it in your BIOS/firmware. Make sure it’s enabled in the network driver. And then you need to figure out a way to send such a magic packet. You can make your router or another device in the network send it. Or do a port-forward or send it through a VPN.

      • venusaur@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        19 hours ago

        Ah yeah I’m not trying to do all that. Is there a way to keep your computer almost asleep just waiting for a signal?

        • hendrik@palaver.p3x.de
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          18 hours ago

          Laptops are designed to be fairly power-efficient. I don’t know what yours does. But mine goes down to only a very few watts if idle and the display is switched off. There’s the Linux tool “powertop” which shows power consumption and it can also tune most components to go to low power. Sometimes there’s also a power profile setting. That shouldn’t be on “performance” or anything like that. I don’t think Linux has more to offer, except sleep with wake-on-lan.