• 16 Posts
  • 101 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle



  • There are really two reasons ECC is a “must-have” for me.

    • I’ve had some variant of a “homelab” for probably 15 years, maybe more. For a long time, I was plagued with crashes, random errors, etc. Once I stopped using consumer-grade parts and switched over to actual server hardware, these problems went away completely. I can actually use my homelab as the core of my home network instead of just something fun to play with. Some of this improvement is probably due to better power supplies, storage, server CPUs, etc, but ECC memory could very well play a part. This is just anecdotal, though.
    • ECC memory has saved me before. One of the memory modules in my NAS went bad; ECC detected the error, corrected it, and TrueNAS sent me an alert. Since most of the RAM in my NAS is used for a ZFS cache, this likely would have caused data loss had I been using non-error-corrected memory. Because I had ECC, I was able to shut down the server, pull the bad module, and start it back up with maybe 10 minutes of downtime as the worst result of the failed module.

    I don’t care about ECC in my desktop PCs, but for anything “mission-critical,” which is basically everything in my server rack, I don’t feel safe without it. Pfsense is probably the most critical service, so whatever machine is running it had better have ECC.

    I switched from bare-metal to a VM for largely the same reason you did. I was running Pfsense on an old-ish Supermicro server, and it was pushing my UPS too close to its power limit. It’s crazy to me that yours only pulled 40 watts, though; I think I saved about 150-175W by switching it to a VM. My entire rack contains a NAS, a Proxmox server, a few switches, and a couple of other miscellaneous things. Total power draw is about 600-650W, and jumps over 700W under a heavy load (file transfers, video encoding, etc). I still don’t like the idea of having Pfsense on a VM, though; I’d really like to be able to make changes to my Proxmox server without dropping connectivity to the entire property. My UPS tops out at 800W, though, so if I do switch back to bare-metal, I only have realistically 50-75W to spare.


  • corroded@lemmy.worldtoSelfhosted@lemmy.worldLow Cost Mini PCs
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    16 days ago

    I have a few services running on Proxmox that I’d like to switch over to bare metal. Pfsense for one. No need for an entire 1U server, but running on a dedicated machine would be great.

    Every mini PC I find is always lacking in some regard. ECC memory is non-negotiable, as is an SFP+ port or the ability to add a low-profile PCIe NIC, and I’m done buying off-brand Chinese crop on Amazon.

    If someone with a good reputation makes a reasonably-priced mini PC with ECC memory and at least some way to accept a 10Gb DAC, I’ll probably buy two.



  • I think you might be misunderstanding what I’m trying to say. I’m not discounting the value of human culture. I enjoy various types of art, and I am grateful for the people who produce it.

    What doesn’t interest me in the slightest is urban “culture.” By that I mean going to restaurants, attending parties, seeing live music, walking to the corner pub, etc. I haven’t done any of these things in years, and I’m happy. If I discover a musician I like, I’m going to spend some money and buy their record, but I don’t need to be surrounded by a crowd of people listening to them live.

    You mention the term “anti-social behavior,” but that doesn’t describe everyone who’d rather live in a rural area than a city. Some of us just like our peace and quiet. As far as subsidizing roads and shipping to rural areas, you like to eat, right? Where do you think the food came from? You live in a house or an apartment, right? Where did the wood, concrete, and raw materials come from? A huge amount of agriculture and production comes from rural areas, and it’s always going to be necessary to have roads and infrastructure to support this. The fact that I live in the same area that supplied your food doesn’t mean that your tax dollars are paying for roads solely so that I can drive on them.

    I understand that people like you enjoy the busy life of a city and that you can legitimately take advantage of what a city offers. I’m not like that. Large gatherings of people don’t make me happy; they just make me want to leave. My original argument was that a lot of people live in cities because they have to for work. Some of them, like you, live in cities because it makes them happy. For the people that live in urban areas because they have to, I was speculating that many of them might move to more rural areas given the option. I’m not trying to shit on your lifestyle (although I do have strong negative opinions about bicycles on roadways), and I would hope that you extend the same courtesy. Life is short, and in a perfect world, everyone could live in a place that they enjoy.





  • Like several people here, I’ve also been interested in setting up an SSO solution for my home network, but I’m struggling to understand how it would actually work.

    Lets say I set up an LDAP server. I log into my PC, and now my PC “knows” my identity from the LDAP server. Then I navigate to the web UI for one of my network switches. How does SSO work in this case? The way I see it, there are two possible solutions.

    • The switch has some built-in authentication mechanism that can authenticate with the LDAP server or something like Keycloak. I don’t see how this would work as it relies upon every single device on the network supporting a particular authentication mechanism.
    • I log into and authenticate with an HTTP forwarding server that then supplies the username/password to the switch. This seems clunky but could be reasonably secure as long as the username/password is sufficiently complex.

    I generally understand how SSO works within a curated ecosystem like a Windows-based corporate network that uses primarily Microsoft software for everything. I have various Linux systems, Windows, a bunch of random software that needs authentication, and probably 10 different brands of networking equipment. What’s the solution here?




  • I’m fortunate enough to be a homeowner, but I rented places for most of my adult live. My current home doesn’t have central AC, and none of my rentals did either.

    Everywhere I’ve lived, the mounting hardware that comes with portable ACs just didn’t work for me. What I found that did work is to throw away the existing window mount and build your own. I’ll take two pieces of plywood, cut them to the space that exists in my window (at one point this was a sliding door), and sandwich a sheet of insulation foam in the middle. Then drill holes for your AC tubes and screw on the mounts that came with your AC.

    Also, if at all possible, avoid the single-hose portable units. You’re wasting cold air. A dual-hose unit uses outdoor air to cool the unit itself, and the hot exhaust gets expelled through the second tube. Do make sure you have a screen on the inlet, though, unless you want to be cleaning out bugs from inside your AC. I have used window units, single-hose portable, and dual-hose portable units. At least in my experience, the window units work best, the dual-hose units are a close second, and the single-hose units are crap.

    As far as HA integration, I recently went through the process of finding a new AC that works with HA. What I found is that everything available either requires internet access and works with proprietary “cloud” access or just doesn’t have any sort of remote connection. Some of the “cloud” solutions have decent integration with HA, but I have a hard-and-fast rule that none of my IoT devices access anything outside my home network. What worked for me is buying a “dumb” portable AC with a remote control and using a Wifi-connected universal remote to provide access to HA.


  • I’ve been an electronics hobbyist for years, and I still don’t own a 3D printer. You can buy premade enclosures in almost every size you can imagine. Then just drill holes to mount IO ports.

    I do want to get a 3D printer exactly for this reason, but I’ve just never gotten around to buying one. They are certainly not a necessity if you want to build your own stuff.


  • One of my favorite automations is my “temperature lamp.” HA takes an average temperature, humidity, and illuminance from various outdoor sensors around my property. I have a template sensor that uses these values, then gives me a “feels-like” outdoor temperature. Another template sensor takes this “feels-like” temperature and converts it to a percentage between 0 (freezing) an 100 (> 120 degrees F). It uses this percentage to calculate a value between blue and red on a perceptually-uniform colorspace (CIELAB) and spits out an RGB value. An automation watches this RGB value and applies it to a RGB light bulb in my living room.

    The result is that I have a light that displays what the temperature “feels like” and changes color in a way that people perceive as matching the temperature. So if the lamp looks “kind of blue” it’s going to feel “kind of cold” outside. If the bulb looks “kind of red,” it’s going to feel “kind of warm.”

    I set this up for fun, but it’s actually ended up being really useful. Before we leave the house, we can just glance over at the lamp and know if we need to put on a sweatshirt or a coat, or maybe leave the outerwear at home.