A software developer and Linux nerd, living in Germany. I’m usually a chill dude but my online persona doesn’t always reflect my true personality. Take what I say with a grain of salt, I usually try to be nice and give good advice, though.

I’m into Free Software, selfhosting, microcontrollers and electronics, freedom, privacy and the usual stuff. And a few select other random things, too.

  • 0 Posts
  • 55 Comments
Joined 21 days ago
cake
Cake day: June 25th, 2024

help-circle
  • Something like an old laptop will make a power-saving homeserver. But that won’t work if you want to attach lots of storage.

    I don’t think an Optiplex is the most energy-efficient choice. They seem somewhat okay, but you’d need to put some effort in and read some tests and reviews to find a really efficient mainboard and PSU. That’s not easy

    You can spin down your harddisks. I have some udev rule that executes hdparm -S60 /dev/sdb after boot. That’ll spin down the hdd after 5 minutes of inactivity. It’s alright for low usage scenarios. And it doesn’t spin up that often because the hdd contains my photos, backups and a few movies. And my operating system and files that are accessed often, are on a SSD. Starting and stopping disks like once a day should work for many years. But don’t cycle it every few minutes.

    And obviously, you can also shut off your server over night or just wake it on demand, if that fits your use-case.



  • (Same things would apply as I lined out earlier. You’d also need to pay attention to the parent directory of that directory (and maybe parents of those). And check if coturn is actually running as that user and/or group.

    You might just (for testing) grant all permissions on the files. Put them into a directory that you’re 100% sure coturn can access. Like one of Coturn’s own directories. And then chmod 666 both files and give them the same user and group as coturn’s own config file has. If that doesn’t work, it’s not the permissions.)

    And read the actual error message again. Make sure it says “permission denied”. Make sure the filename in the error message is the exact filename and location of your certificate file. To rule out other errors or a typo.

    And now that I’m reading your initial post again, it says it can’t find them. So maybe it’s really not the permissions, but the coturn config doesn’t point to the correct location of the certificate files. Usually permissions is a good first guess. But if the error message says sth else, it could very well be what the error message says. Does it go on and tell you where it looked for the certificates?


  • Our robot overlords will.

    But more seriously: There is a lot of stuff that AI can’t do. And is far off of. It can barely do anything at all for me. Like translate stuff or re-write an E-Mail. The rest is hype. It can’t do my laundry, clean up the kitchen. It can’t drive the train that gets me to work, not fix a toilet. And it’s years if not decades away from being able to do it. I’d be worried if I had some callcenter job or first level support. Or was a useless manager who just pushes paper around all day. These jobs are going to be replaced fast, yes. But it’ll take some time for lots of other jobs.

    And if we (at some point) advance to a future, where we live in abundance, and technology can do all the hard work, so humans don’t have to… Wouldn’t that be great? We could do whatever we want. Of course culture and society has to change. We can’t have concepts like salaries if we don’t work. But by definition we’d have our basic needs met. Food will be enough, or we wouldn’t not work anymore. So I guess we just do away with money. Or everyone gets a fixed amount. You could make up your own job. Do arts and crafts, or travel, or spend the day with your kids.

    There is one big caveat, however: We won’t automatically arrive in a Star Trek post-scarcity utopia. Currently all the AI is owned and designed by big corporations. They also own the computers to run it and they are in control of it. And there is a lot of corporate greed, lobbyism and generally unhealthy divide. I’d say it’s very likely that rich people and big, greedy corporations will want to keep everything to themselves. The rich will get richer and assert their dominance with this powerful tool. The poor will get poorer. And can’t compete with that at all. And despite theoretically living in a sci-fi world, it’ll be a dystopia and end in a big mess / class war / oppression.

    But yeah, you’re right. Our current form of economy with supply and demand, and money, won’t work under those conditions. And I don’t think there is a fix to it sou we could keep it.


  • First of all you’d need to make sure that coturn is in the “certgroup” group. Or it won’t help.

    Secondly, those are just the two files. “certgroup” might still be unable to open them if the directory permissions don’t allow opening the directory in the first place. And we can’t tell from just the two lines. Make sure all the parent directories also allow traversing to that location. “rX” are required to read and open a directory.

    However text files shouldn’t have execute permissions. And you’ve set “rwx” for the group. That doesn’t break anything, but “rw-” would be the 100% correct choice there. And other accounts shouldn’t have read permissions on the private key. That should be “rw-rw----”

    (I’m not sure why you have to do all of that stuff manually… Lot’s of frameworks or operating systems come with letsencrypt/certbot and some sane default settings. If your way of doing things doesn’t work out, you might want to read a tutorial for your operating system or consider a more standard approach.)



  • Maybe sth like usermod -a -G letsencrypt coturn which puts the coturn user in the letsencrypt group. Allowing that user access to files owned by the group. I haven’t checked the names. Maybe the group is called differently, certbot or something. Obviously that grants that coturn user access to all the certificates. You might want to set some directory permissions instead, if you have multiple certificates and don’t want coturn be able to read or mess with certificates of other domains.


  • Same here. I would say total power outages are a bit more rare than every three years. But we had some failure last year and two years before that a neighbor dug through some cables and most of the street went dark. Sometimes I contribute and plug in some (old) electrical device that isn’t okay anymore. This year I got some water into the extension cord while cleaning outside… And since we have ground fault protection for the house, I had to reboot everything. The server and the 4 harddisks in it are perfectly fine. And have been for like a decade. I don’t think I need to pay for an UPS and the additional power it needs.


  • With “better solution as of today” I meant more a viable solution as of today. And I don’t see any.

    I completely agree that some in-built, more convenient monetization would be great. But… That’d immediately make them a whole different business. Now they need to handle money for people and become a payment provider. That’d probably require them to change their legal form. They need to hire people to manage that money. They get liable for it. And where money is involved there are disagreements and lawsuits. So they need an additional customer service. Probably also a proper legal team. All those people want a salary, so they have to make profit to pay them.

    I think it’s a nice idea, but it would turn Peertube from a nice project that’s made by some programmers for us, the people, into a business halfway alike YouTube. And we already have YouTube. The nice thing about Peertube is that it’s about freedom and the content and less annoying business things involved.

    And that’s often the case with smaller projects. Now the programmers do the thing they’re good at: program the software. If we make them do something else, that’s gonna be at the cost of the project. They’ll become managers and can’t attend to the thing they’re good at and what we’d like them to do.

    Feel free to come up with a solution. I’d like to hear it. Because I’d also like to see some bigger Youtubers on Peertube. And they won’t come if they have to spend money on servers, instead of earning money.









  • Yeah. Their documentation is a bit “lacking” so to say… it’s practically nonexistent.

    They follow the usual procedure, though. So if you already set up 10 webservices on your server, you will know what to do. They documented a few special things like how to hook the appservices. But also that took me some trial and error.

    I believe it’s more for developers at this point. And people with a lot of expertise. That may change. And it already works well for the basic stuff. But i’m not sure if I’d recommend it unless it’s a special case like this.


  • To add on “the first programs” written in assembler: You’ll find they have some structure to them. As they’ve been written by humans. You can recognize the conditions, loops, … And they’ve grouped similar code together… A compiler does none of that. It’ll be happy to make a complete mess, re-organize it, combine chunks, do away with loops and other stuff if it can be done more efficiently another way. It’ll be more optimal (ideally) but generally unrecognizable to the human eye what happens in that code. And it might be one big pile of instructions, jumping around arbitrarily without any subdivision into chunks that would be logical to go together.


  • Not sure if that’s true. I’ve ran a Synapse Matrix server on a SBC before and it worked. Just for a few users though. I don’t know if it breaks if you have like 300 people using that…

    You could use conduit.rs as a server. That runs on a few tens of megabytes of RAM. Not a whopping gigabyte. At least that’s what I’m using now. It’s still missing a few features, though.


  • Can’t you find something like a guide or walktrough? I can’t believe you’re the first person using a RasPi as an access point…

    I mean I would love to help. But it’s a bit difficult without seeing the situation. And “I can’t connect to anything” isn’t exactly detailed enough to lead me to any conclusions. There are a lot of moving parts in a router, the wifi itself, DHCP, routing, firewall, …