@TCB13@lemmy.world
@TCB13@lemmy.world avatar

TCB13

@TCB13@lemmy.world

This profile is from a federated server and may be incomplete. Browse more on the original instance.

TCB13,
@TCB13@lemmy.world avatar

I was trying to go that route with LXC actually and while it seems great what about the ESPHome addon? I’m not even sure if that thing is required to use ESPHome devices or not.

TCB13,
@TCB13@lemmy.world avatar

I’m not using any other integration. Isn’t this a resource monster?

https://lemmy.world/pictrs/image/d26476df-d1b5-4afd-84ac-a4f737c4846d.png

I just don’t want to keep running an entire VM with their image. Something more simple that could be used on a LXC / systemd-nspawn container or directly on a base system would be nicer.

TCB13, (edited )
@TCB13@lemmy.world avatar

Tiny you say… answer to what you asked: lemmy.world/comment/7101252

TCB13,
@TCB13@lemmy.world avatar

Hmm… that’s interesting. I’ll have to explore further. Thanks.

TCB13, (edited )
@TCB13@lemmy.world avatar

I’ve been doing this. I’m running HA under LXD (VM) and it works.


<span style="color:#323232;">$ lxc info havm
</span><span style="color:#323232;">Name: havm
</span><span style="color:#323232;">Status: RUNNING
</span><span style="color:#323232;">Type: virtual-machine
</span><span style="color:#323232;">Architecture: x86_64
</span><span style="color:#323232;">PID: 541921
</span><span style="color:#323232;">Created: 2023/12/05 14:14 WET
</span><span style="color:#323232;">Last Used: 2024/01/28 13:35 WET
</span>

While it works great and it was very easy to get the VM running I would rather move to something lighter like a container. About the storage I just see it growing everyday and from what I read it should be keeping for 10 days however it keeps growing. Almost 10GB for a web interface and logs from a couple of sensors, wtf?

I would be very happy with HA, really no need to move other stuff as long as things were a bit less opaque than a ready to go VM that runs 32434 daemons and containers inside it.

TCB13,
@TCB13@lemmy.world avatar

And how do I go about that?

TCB13,
@TCB13@lemmy.world avatar

Yes.

TCB13,
@TCB13@lemmy.world avatar

What is weird is having to waste almost 700MB of ram + 10GB of storage for a simple webui that charts sensor data and only keeps it for 10 days. As a comparison my NAS container runs Samba4, FileBrowser, Syncthing, Transmission, and a few others under 300MB of RAM with pontual spikes on operations.

TCB13,
@TCB13@lemmy.world avatar

Everything’s about perspective… maybe GNOME became SO bloated that KDE now seems very light. :P

TCB13,
@TCB13@lemmy.world avatar

Everyone does run into a Windows-only app eventually. It’s sad, it hurts but it is what it is.

TCB13,
@TCB13@lemmy.world avatar

Unless you have to collaborate with others who use said Windows only apps and you can’t afford compatibility issues.

TCB13,
@TCB13@lemmy.world avatar

Okay that’s fair. So this this the solution, fallback to a second machine running Windows? :P

TCB13,
@TCB13@lemmy.world avatar

Okay that’s fair, you don’t try to do any work in your Linux box and things work out. Great.

TCB13,
@TCB13@lemmy.world avatar

No no, no justification required :). It isn’t also about working or not for me. It is just that there’s a bunch of people arguing around here that Linux (desktop) is great for every use case be it work or play under any circumstance, while it isn’t.

TCB13, (edited )
@TCB13@lemmy.world avatar

#1 leaves a lot to be desired, as it advocates for doing something without thinking about why you’re doing it – it is essentially a non-answer.

Agreed. That’s mostly BS from people who make commissions from some vendor.

#2 is strange – why does it matter? If one is hosting a webserver on port 80, for example, they are going to poke a hole in their router’s NAT at port 80 to open that server’s port to the public. What difference does it make to then have another firewall that needs to be port forwarded?

A Firewall might be more advanced than just NAT/poking a hole, it may do intrusion detection (whatever that means) and DDoS protection

#3 is a strange one – what sort of malicious behaviour could even be done to a device with no firewall? If you have no applications listening on any port, then there’s nothing to access.

Maybe you’ve a bunch of IoT devices in your network that are sold by a Chinese company or any IoT device (lol) and you don’t want them to be able to access the internet because they’ll establish connections to shady places and might be used to access your network and other devices inside it.

#5 is the only one that makes some sense;

Essentially the same answer and in #3

If we’re talking about your home setup and/or homelab just don’t get a hardware firewall, those are overpriced and won’t add much value. You’re better off by buying an OpenWRT compatible router and ditching your ISP router. OpenWRT does NAT and has a firewall that is easy to manage and setup whatever policies you might need to restrict specific devices. You’ll also be able to setup things such as DoH / DoT for your entire network, setup a quick Wireguard VPN to access your local services from the outside in a safe way and maybe use it to setup a couple of network shares. Much more value for most people, way cheaper.

TCB13,
@TCB13@lemmy.world avatar

There’s Debian and Red Hat Enterprise, everything else is pointless. Enjoy.

TCB13, (edited )
@TCB13@lemmy.world avatar

I don’t (specially DDR3-era stuff) because old server hardware is way more expensive, won’t be of any particular advantage and older hardware, compared to new stuff, will use a LOT of power.

Instead use regular desktop/laptop machines as they’ll probably be more than enough for homelabs. You can a good 9-10th gen Intel CPU and motherboard that is perfect to run servers (very high performance) but that people don’t want because they aren’t good to play the latest games. Modern hardware = less power consumption, cheaper, more performance.

If you go really low end, let’s say i5-6500, this will probably cost around 80€ second hand with RAM. You can use www.cpubenchmark.net/compare/ to compare CPUs the server hardware you can get with modern hardware if you’re interested.

Most DDR3-era server hardware comes with RAID controllers/cards and other things that nobody uses anymore, people have moved on the software RAID be it BRTFS or ZFS and you will want to do the same. Servers make a lot of noise - impractical for a home - and a CPU from that era will be around 150-200W, you can get a recent i5 with more performance that runs around 50W.

Another thing to consider: you’re trying to build a NAS get a basic motherboard with 4 SATA ports and then add a PCI to 5 SATA port card and it will be much cheaper than whatever server hardware. BTRFS as your filesystem and its RAID if needed. Now you may be thinking something like “I want a faster CPU in order to have fast SMB”, just don’t - your gigabit network will saturate before an i5-6500 or any mechanical drive does and when this happens you’ll be at something like 10-20% CPU usage. Just don’t waste your money.

TCB13,
@TCB13@lemmy.world avatar

I would agree to a certain point. If you get a 10th gen CPU it is power efficient and there are a lot of gamers and whatnot selling those. Also there are a lot of MiniPCs that come with mobile “T” CPU that are very decent at idle.

TCB13, (edited )
@TCB13@lemmy.world avatar

But idle still would run much more than 15w

This isn’t true.

  • HP Prodesk 400 G5 i5 9500T > idles at 4.5W
  • Optiplex Micro 3080 > idles at 7W
  • Unbranded Mini Atom C3758 > idles at 3.5W

Either way, quick math, on a 7W range were talking about less than 10$/year to run the device.

TCB13, (edited )
@TCB13@lemmy.world avatar

Ahaha I don’t explain why 😂😂

I wrote dozens of posts replying to every single question people had about LXD/Incus. Gave out printscreens, explained how it works, what it does, described useful features and pointed out multiple issues of Proxmox. I can show you what roads you can take and why but you must do the work yourself.

The same applies to the MiniPC vs Raspberry discussion as my price, performance and feature breakdowns and proved countless times that for a large number of use cases a MiniPC is better. Unsurprisingly this is the first of such breakdowns that got upvotes, and do you know why? Because a known youtuber in this space recently came out with a video saying the exact same things I’ve been saying and now it became “acceptable” to criticize the Raspberry Pi money grab.

to use something they don’t know, and not explaining how that would be beneficial you’ve only explained how LXD, when setup correctly, can do what Proxmox does.

Even if that were true, what’s was the issue then? Isn’t it obvious that a true open-source solution that is available on Debian’s repos from a fresh install is better than a half proprietary solution that asks you to buy a license at any turn? Use your common sense.

Besides my comments aren’t a marketing campaign there’s no “LXD will make you rich today and solve all your family drama” as soon as you complete our three step formula:

  1. apt install lxd
  2. lxd init
  3. lxc launch debian debian-container

The advantage of using LXD/Incus are on the details, not on a flashy and shinny feature. It’s about running a clean Debian system, a non twisted and mangled kernel that will conflict with everything and not run stuff like OVPN properly, it’s about the license, the tools, not depending on a company, not having to wait 3x the time before your cluster is online. It’s about having a decent API for once and so many others.

Most people say they don’t want to be put in the same situation they were put about the the CentOS/RedHat licensing change, but then they proceeded to replace CentOS with Ubuntu and still use Proxmox. All questionable open-source that is as likely to fuck you over as RedHat did.

So eventually there will be a video from some youtuber stating that LXD/Incus is much better than Proxmox and people will flock to it without questioning anything. :)

TCB13,
@TCB13@lemmy.world avatar

www.rodsbooks.com/refind/ is your friend.

TCB13, (edited )
@TCB13@lemmy.world avatar

I don’t care what you use and I wouldn’t land in the comments just to put you on blast for your personal choices.

The thing is that this isn’t “personal choices”, I don’t even use most of the solutions I cited, but I happen to know a lot of people who do in different industries and that tried Linux countless times and showed me how poorly things are. I’m talking about managers, designers, engineers, architects - a lot of people with a lot of different needs that would love to be on Linux as much as you do but can’t because it simply doesn’t work out.

Yeah, I’ve never understood people making poorly written snide comments with absolutely zero clarification, either.

Do you really want a properly written comment? It looks like you don’t but I’ll give you one anyways. Just don’t complain like you did when I bluntly said what’s the reality of Linux desktop and professional software.

realizing that 11 was only going to bring more ads, force-installed applications, background processes that were nigh-impossible to disable without a lot of tomfoolery, AI bullshit and general bloat,

Microsoft has multiple versions of Windows and if you are smart enough to install Ubuntu you might as well be smart enough to read about them for five minutes and understand that you if you pick Windows 11 Pro you’ll be moderately clean and Windows 11 Enterprise will be very clean. You’ll also find out that with ANY version you can pick English (World) for a cleaner experience:

Selecting the “English (World)” locale during Windows Setup means you’ll receive fewer advertised tiles in your Start menu once Windows is installed, but it doesn’t change the preinstalled apps that come with Windows (also known as bloatware).

The remaining or all ads and spyware can also be disabled via group policy. When it comes to disabling crap Windows offers way better control than Ubuntu and macOS because it was made for that. There are countess companies and government agencies that force Microsoft to have group policy settings to disable all the “special features” otherwise they couldn’t use it.

Microsoft also has very detailed documentation into this (…microsoft.com/…/manage-connections-from-windows-…) that you can follow to disable what you don’t want. Meanwhile Canonical, Apple and others don’t give shit about users disabling the spyware and the systems sometimes break if you block connections.

So before you say unfounded and dumb things such as “impossible”, “forced” and whatnot go teach yourself about how things really work and what can and can’t be done.

TCB13,
@TCB13@lemmy.world avatar

UWP is a waste of screen space compared to the older Win32 apps. Not even Microsoft managed to make the UWP Windows Settings work decently, and they openly admit it by keeping the old panels around for most advanced tasks.

UWPs lack of density and structure totally removed whatever benefit we got from having larger 20"+ screens. It’s sad to get larger screens and waste all the space with the UI instead of actual content.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #