486

joined 1 year ago
[–] 486@lemmy.world 2 points 2 hours ago (1 children)

When you use a typical 74 Wh ("20000 mAh") power bank, you can expect more than 12 hours of runtime, if your average power draw stays at or below 5 W. Of course you aren't going to do much transcoding with a Pi in any case, but multiple concurrent streams shouldn't be much of an issue.

[–] 486@lemmy.world 2 points 1 day ago* (last edited 1 day ago) (4 children)

Seen raspberry pi mentioned some times, I don’t have one, so maybe I’m wrong, but I don’t think there would be an easy way to power it up on a train for example.

You could fairly easily power it from a USB power bank. At least up until the Raspberry Pi 4. The Pi 5 with its weird 5 V / 5 A power requirement is a different beast. They should have gone with something standard like 9 V / 3 A PD. It might still work ok if you don't power lots of peripherals with it.

[–] 486@lemmy.world 3 points 1 week ago (2 children)

How do you store a driver’s license in Bitwarden? Last time I checked they didn’t support file storage. Do you just put it in the cloud storage?

They do support file storage. I've been using that for years for storing small files related to certain accounts an such.

[–] 486@lemmy.world 22 points 1 week ago

At least 900VA capacity

Just being pedantic here, but VA is a power rating, not a capacity rating. A UPS has both a power rating that tells you how much power it can deliver at any given moment and a capacity that tells you for how long it can do so.

[–] 486@lemmy.world 0 points 3 weeks ago

I would advice against using SSDs for storage of media and such. Not only because of their higher price, but also because flash memory cells tend to fade over time, causing read speeds to decrease considerably over time. This is particularily the case for mostly read-only workloads. For each read operation the flash memory cell being read loses a bit of its charge. Eventually the margin for the controller to be able to read the data will be so small, that it takes the controller lots of read operations to figure out the correct data. In the worst case this can lead to the SSD controller being unable to read some data alltogether.

[–] 486@lemmy.world 1 points 3 weeks ago* (last edited 3 weeks ago)

No, tmpfs is always located in virtual memory. Have a look at the kernel documentation for more information about tmpfs.

[–] 486@lemmy.world 2 points 3 weeks ago (2 children)

It is. It might end up on disk in swap, if you run low on memory (and have some sort of disk-based swap enabled), but usually it is located in RAM.

[–] 486@lemmy.world 5 points 4 weeks ago

Try diasbling the second DHCP server altogether. You only need one, since you have a flat network.

[–] 486@lemmy.world 9 points 4 weeks ago* (last edited 4 weeks ago) (4 children)

Are you sure there is exactly one DHCP server running?

[–] 486@lemmy.world 3 points 1 month ago

I'm exclusively running unprivileged LXC containers and haven't had any issues regarding the firewall, neither with iptables nor nftables.

[–] 486@lemmy.world 5 points 1 month ago* (last edited 1 month ago) (3 children)

No, it is not like Docker. You can treat an LXC container pretty much like a VM in most instances, including firewall rules. To answer the question, you can use fail2ban just like you had done in your VM, meaning you can run it inside the LXC container, where fail2ban can change the firewall rules of that container as it sees fit.

[–] 486@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

You could give bubblewrap a try instead. It is quite similar to systemd-nspawn.

view more: next ›