My house has frequent power blips, where the power flickers off and back on again within a few seconds, after which I have to reset my router. I’m also running my ISP-supplied router, which is kind of a no-no in techie circles, so I’m debating picking up either a laptop or mini PC so I can install an open source router OS and take back some control over my own network infrastructure.

Can someone help me weigh the pros and cons of laptop vs mini PC + UPS? This project will start out as just a network router but might grow into other boxes for various things. I already have another old/jank laptop serving as my POC media streaming box, and I enjoy the fact that I don’t have to also restart that mf’er every time the power flickers.

I feel like the main selling points of laptops are that they are low powered by design (for always-on use cases), and they come w/ built-in batteries (to get through those power blips). I also appreciate that they come with a built-in keyboard and screen, so I can log in and troubleshoot without having to ssh in. The only downside I can think of is that most laptops are not very upgradable, although I’ve read/seen good things about the old Lenovo Thinkpad business grade laptops as far as durability and upgradability.

Anything else I’m not considering? Thanks in advance.

  • antsu@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    9 hours ago

    Laptop: cheaper and easier, but keeping the battery charged constantly will degrade it (no matter how many battery protection features it has), and upgradability is somewhat limited.

    Mini PC + UPS: more upfront cost, some elbow grease required to integrate power monitoring (but it’s not difficult), but more flexibility to expand, and the UPS can provide power to other devices like an access point. Also, the UPS battery uses a different chemistry and is made for that specific purpose, meaning it’ll take longer to degrade.

  • XiJinpingStanAccount@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    10 hours ago

    You need to keep in mind that most laptops are not going to have 2 ethernet ports(or even 1 these days). You will need 1 port to connect to your modem and 1 port to provide the network to an AP. All ports aren’t created equal. If you want good speeds you want to find something with 2 good ethernet ports. Your internet speed will determine what is good enough for you port wise. If you are fine with pretty slow speeds then a laptop can work and you can use a usb to ethernet adapter but that’s a bit janky. If you intend to use the built in wifi card for the AP just know it won’t be nearly as good as a dedicated AP. Check out the Lenovo ThinkCentre line. It has some good options with decent ports. As for a UPS you can sometimes find something better by looking at “Solar Power Generators” instead. They’re basically just batteries with an inverter and outlets on them. And they can recharge from solar which is why they have the name. But a lot of times they’re the better bang for your buck than a normal UPS. And if you got a few solar panels you could hook them up to it. Which it sounds like might be useful to you in general.

  • rowinxavier@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    11 hours ago

    Laptop all the way.

    The mini PC and UPS are separate systems with no integration. Trying to get them talking so that your mini PC can respond to lower going down by saving things and shutting down cleanly is a lot more work than doing the same with a laptop.

    Also a laptop you already own costs you nothing to get started with. If you add some external storage to it and then one day add a server you can simply move that external storage over to a new server. So if you do end up doing self hosting or a home lab you will well on the way.

  • jet@hackertalks.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 hours ago

    You absolutely need a UPS, even if you have a laptop, power going in and out and being out of voltage is not great even for a laptop

  • litchralee@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    17 hours ago

    If you already have an old laptop, and the battery will hold a charge for even 20 minutes, then it might be worthwhile to just give it a whirl. If you have it tucked away with the lid closed, it’s possible that it’ll run slightly warmer than it normally would, when running 24/7. And if you do find that expandability is too constricted, then upgrading to newer hardware and moving the HDD/SSD over should be easy enough.

    IME, mortality bias means that if an old laptop is still functional a decade after its manufacture, then it’s likely to keep ticking when in service as a 24/7 machine. The things that permanently break hardware are thermal stress, capacitors charging up and down, and other factors which are alleviated when a machine is just left powered.