• 0 Posts
  • 16 Comments
Joined 2 years ago
cake
Cake day: July 15th, 2023

help-circle
  • Many arguments call countries’ names, but actually prices are dictated by companies (directly or indirectly by their behavior) that want to make a profit. Sweden’s electricity prices, as a rule of thumb, are always lower than prices in Germany, so from an economic p.o.v. it makes sense to buy as much electricity in Sweden as can be transported south. Of course, that drives prices up in Sweden to historic level (but still cheaper than in Germany). Why are prices so high in Germany? Several reasons have been discussed here, but one I would like to highlight is that operators of gas and coal power plants, which are meant as reserves in cases of high demand and low supply, do not produce sufficiently much electricity: they simply earn more by selling little electricity at high prices than by selling more electricity at lower prices. The politicians’ fault is that they have created a mostly unregulated market where under the right conditions some actors can make huge profits at the cost of everyone else. This is why more nuclear power plants won’t help: even their operators will have to pay back the huge debts left from construction and thus also will try to maximize profits from high prices via low supply.






  • Maybe the first question is what your budget is, both regarding money and time. For example, you could buy a pre-configured NAS from Synology or QNAP, which requires less technical skills but more money, or a home-made solution reusing used components (but fresh disks for reliability). Depending on your electricity costs, you may want to choose a low-power solution or something which you power off when not used. For storage, maybe a three-disk RAID5 is a good compromise. For backups, plain S3 cloud storage encrypted via restic is a good idea.







  • There is some information missing in the problem description. For example, if you close the lid, does the computer suspend/sleep/hibernate? It may be that when the computer sleeps something “breaks” or it may be that the act of physically closing/opening the lid has an effect (e.g. because the WiFi antenna is embedded in the display frame).

    Some time ago I had a similar problem with Tailscale and sleeping. When Tailscale initializes itself (at boot), it has to interact with another service to communicate which DNS servers have become available (e.g. 100.100.100.100). Several implementations of such services exist (resolvconf, openresolv), in my case systemd-resolved. During normal operation, resolvectl status (if using systemd-resolved) shows which DNS servers and which search domains are configured for each network interface such as tailscale0. Now, there is a bug (or feature) that systemd-resolved “forgets” the DNS configuration it got from Tailscale when the computer is put to sleep. So, when the computer wakes up, name resolution via Tailscale no longer works, giving you the impression that Tailscale itself is not working, although Tailscale’s low-level functions are still operational. My “solution” was to write a small script that gets executed when the computer wakes up which sets again DNS server and search domain for network device tailscale0.