dosse91

joined 1 year ago
[–] [email protected] 1 points 1 hour ago

The jitsi user is a system user so it can't login even if you set a key for it. Besides, I wouldn't risk it anyway since that user is in the docker group, if it gets compromised somehow, the attacker would have very high privileges.

[–] [email protected] 26 points 9 hours ago* (last edited 9 hours ago) (3 children)

I think this one beats them all.

My home server keeps a few services up, including an instance of Jitsi Meet. The server runs nixos and the nixos package for jitsi is incomplete to say the least and doesn't even support authentication, so I use the docker-compose version and I have a script that runs periodically to keep it updated. So far so good, right? Well, no.

Because the server is at home, I have a dynamic external IP address, so I have to use a DDNS provider, but jitsi doesn't expect this and uses a stun server at startup to determine the public IP of the server once, so if my connection goes down or is restarted and the IP changes, jitsi needs to be restarted or it won't work anymore.

The solution?

  • My router runs OpenWrt, so I am able to run a script that checks for external IP changes. When a change is detected, it uses SSH to connect to my server to restart jitsi
  • Because I don't want the router to just be able to run any command, I created a jitsi-restart user that has no shell
  • When the router tries to log in with its pubkey, sshd creates a file called restartasap in the jitsi folder and closes the connection
  • On the server, there's a systemd unit running a script as the jitsi user that periodically checks for that file, and if it exists it deletes it and restarts jitsi

I've been running this setup since mid 2020 and I expect this to continue until IPv6 becomes the norm.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)

I switched for good in 2019, when I realized that I was wasting more time getting windows into a usable state than the average arch user.

Privacy and usability were the biggest reasons for me.

[–] [email protected] 9 points 6 days ago

Fortnite OS

[–] [email protected] 9 points 1 week ago

Good idea, I'll add it to the to-do list for the next major release.

[–] [email protected] 5 points 1 week ago

Occasionally some cloud providers or ISPs chime in and offer their servers to the public. If you have an LS server, you can submit it here: https://librespeed.org/submit

[–] [email protected] 38 points 1 week ago* (last edited 1 week ago) (5 children)

I'm the author of the project. The servers are simply overloaded af unfortunately. It's a fairly popular project and we don't have enough servers to support this many concurrent users.

[–] [email protected] 4 points 1 week ago* (last edited 1 week ago) (1 children)

Exo one
POOLS

Basically anything that's just exploration and atmospheric will do.

[–] [email protected] 28 points 1 week ago

It doesn't need javascript from "20 different domains", only a file called empty.php is fetched from those servers to measure the ping. The javascript is hosted on librespeed.org, which is under my control.

[–] [email protected] 25 points 1 week ago

Damn, never thought I'd live to see the enshittification of F-Droid. I definitely won't be using it anymore if this happens.

[–] [email protected] 114 points 1 week ago (3 children)

Hi, I'm the original author of LibreSpeed. When you load the website it downloads a list of servers and tries all of them to see which one has the lowest ping, that's what you're seeing.

[–] [email protected] 9 points 1 week ago

I know, I've been using it since 2010, when it was still called CyanogenMod :)

 

I want to try the new Plasma 6 beta so I followed the instructions on the Arch wiki on how to enable the kde-unstable repo and tried to update the system, but when I try pacman says "plasma-activities and kactivities are in conflict", both are required by some of the packages that it's trying to update and there's no way to ignore the conflict.

Does anyone know how to install it?

 

I'm looking for a new UPS to replace an almost 10 years old APC beast that's having issues, but I'm not sure what to buy.

I'll be using it to power a small home server and some network equipment in an area where there are occasional power outages (but they last 2-3 hours). My requirements are:

  • 300-600€ range
  • At least 1500VA, 900W
  • Doesn't make noise unless it's on battery
  • Must not require proprietary software to monitor it or to calibrate the battery and other basic stuff (if it works with apcupsd or NUT it would be perfect)
  • No weird battery format

What would you recommend?

Thanks!

 

Are there any lemmy communities similar to r/crackwatch? I can't seem to find anything decent.

 

Hopefully this is the right place to ask.

I have an APC Back-UPS XS 1400U that I use to keep my home server running 24/7.

It was purchased in 2015, batteries replaced around 2020, everything was fine until around June 2023 when it started randomly switching to battery for a few seconds for no apparent reason once or twice a day.

The UPS is connected to my home server via USB so I can get some readouts. It says "Unacceptable line voltage changes", but it's configured to switch when it's outside the 160-280v range and it gets nowhere near those thresholds, the voltage fluctuates in the 224-234 range.

I connected an oscilloscope to the mains to see if there were transients when the problem occurred but I don't see anything out of the ordinary and the problem has been getting worse, now it switches an average of 50 times a day.

The UPS still works, it can keep the server up for hours if I unplug the power, so the batteries should be good. What's going on?

view more: next ›