- 4 Posts
- 25 Comments
talkingpumpkin@lemmy.worldto
Selfhosted@lemmy.world•I'm "use NFS forfilesharing" old. what's the current optimal solution for shared drives if I have like 3 linux machines in the house?English
8·3 months agoIf it’s for backup, zfs and btrfs can send incremental diffs quite efficiently (but of course you’ll have to use those on both ends).
Otherwise, both NFS and SMB are certainly viable.
I tried both but TBH I ended up just using SSHFS because I don’t care about becoming and NFS/SMB admin.
NFS and SMB are easy enough to setup, but then when you try to do user-level authentication… they aren’t as easy anymore.
Since I’m already managing SSH keys all over my machines, I feel like SSHFS makes much more sense for me.
talkingpumpkin@lemmy.worldto
Selfhosted@lemmy.world•Second set of eyes - DNS NameserversEnglish
4·4 months agoAFAIU bluehost does not support the acme protocol, so you’ll either have to manage your certificate manually or (recommended!) move to a different dns registrar.
If you are wondering which provider you should switch to, basically all the serious ones will work… IDK if this is relevant for nginx, but here’s a list of the supported ones for the client I use https://go-acme.github.io/lego/dns/
If you are unsure and want to experiment before touching your current setup, you could register a new cheap domain (less than 1$, see https://tld-list.com/), use it for your tests, and then not renew it.
talkingpumpkin@lemmy.worldto
Selfhosted@lemmy.world•Turn linux server into a router?English
5·4 months agoNot sure if others already said this (I seem to see mostly comments explaining how to do it, but didn’t read them all), but, while it’s certainly feasible, you may not want to do that.
A router is the cornerstone of your network (if it goes down, so does the network) and if you are a self-hoster you’ll probably fiddle endlessly with your home server, and of course break it from time to time… the two things just don’t go well together.
Personally, I’d recommend getting some second-hand router appliance that can run openwrt and use that (make sure to check the flashing procedure before deciding what to buy - some are easier than others). Or you could get a dedicated x86 machine… probably overkill though.
deleted by creator
deleted by creator
talkingpumpkin@lemmy.worldto
Selfhosted@lemmy.world•Simple Minimal Backup SolutionEnglish
21·1 year agoFor those kind of issues I’d recommend snapshots instead of backups
2 more cents :)
I’ve been using syncthing for a while now, on different devices, and the only unreliability I’ve run into is with android killing syncthing to save battery life, which is kinda hilarious, considering all the vendor- and google-provided crap they happily waste battery on (I don’t use it, but for what I’ve heard iOS is even worse in this regard).
Specifically, I have a samsung tablet where, no matter how much I tinkered with system settings, synchthing would only run if I manually launched the app or while the tablet was charging (BTW I still use that same tablet, but it now runs LineageOS and syncthing works flawlessly).
All this is to say, you should probably look into system settings and research ways to convince your OS to do what it’s supposed to rather than tinkering with syncthing itself.
Personally, I would sell everything and get a used PC on ebay (a small “minipc” one, unless space for hard disks is needed).
Take a look at what you could buy on ebay just by selling off the nvidia card.
talkingpumpkin@lemmy.worldOPto
Selfhosted@lemmy.world•[SOLVED] Weird (to me) networking issue - can you help?English
2·1 year agowhy is your network like this?
Well, at the moment my network is actually flat :)
This is an experiment I’m doing because I wanted to have all the management stuff on a different subnet (eg. adguard dns is on the “regular” subnet everyone uses, but its web interface is on the special subnet only select devices can talk to).
Of course (like with most stuff in my homelab), it’s not like I really have a super-compelling security reason to that, it’s mostly that I wondered “what if?” :D
Oh. the ping option you are referring to is
-I(upper case) and takes either an interface name or an ip. I did try giving a .10/24 IP to the PC and the results were consistent with scenario 1 (pings where source and destination are on the same subnet work, pings acrrss subnets don’t), so I didn’t mention that in the OP
talkingpumpkin@lemmy.worldOPto
Selfhosted@lemmy.world•[SOLVED] Weird (to me) networking issue - can you help?English
1·1 year agoI don’t think I quite explained the situation well enough: my server only has 1 ethernet port (same as my PC), otherwise I wouldn’t have bothered with vlans (well, I would still have bothered, since my house still only has one “backbone” cable running through it, but I would have configured it on the switches only).
Anyway… a few of the things you say/imply go against my understanding of networking, so one of us would better go back RTFM as you suggest :) (just kidding - most probably I just don’t understand what you mean)
talkingpumpkin@lemmy.worldOPto
Selfhosted@lemmy.world•[SOLVED] Weird (to me) networking issue - can you help?English
1·1 year agoThanks! Forwarding is disabled. I don’t want the server to steal the router’s job :)
talkingpumpkin@lemmy.worldOPto
Selfhosted@lemmy.world•[SOLVED] Weird (to me) networking issue - can you help?English
2·1 year agoSo the request goes trough but the replies are discarded ? That could actually be it!
I think there was an option to allow that… I’ll search it and give it a try. Thanks!
talkingpumpkin@lemmy.worldOPto
Selfhosted@lemmy.world•[SOLVED] Weird (to me) networking issue - can you help?English
2·1 year agoI tried dropping the default routes (one at a time) and it doesn’t make a difference, which isn’t (I think) surprising as all traffic is local as far as the server in scenario 1 is concerned. Also IIUC only the default gateway with the lowest metric actually counts.
talkingpumpkin@lemmy.worldto
Selfhosted@lemmy.world•Router died - Replacement/solution recommendationsEnglish
6·1 year agoIf going the route of a backup solution, is it feasible to install OpenWRT on all of my devices, with the expectation that I can do some sort of automated backups of all settings and configurations, and restore in case of a router dying?
My two cents: use a “full” computer as your router (with either something like OPNsense or any “regular” linux distro if you don’t need the GUI) and OpenWRT on your access points.
Unless you use the GUI and backup/restore the configuration (as you would with proprietary firmwares), OpenWRT is frankly a pain to configure and deploy. At the moment I’m building custom images for all my devices, but (next time™) I’m gonna ditch all that, get an x86 router and just manually manage OpenWRT on my wifi APs (I only have two and they both have the same relatively straightforward config).
It’s a pain that I know can be solved with buying dedicated access points (…right?)
Routers and access points are just computers with network interfaces (there may be level-2-only APs, but honestly I’ve never heard of any)… most probably your issue is that the firmware of your “routers as access points” doesn’t want to be configured as a dumb AP.
talkingpumpkin@lemmy.worldto
Selfhosted@lemmy.world•Immutable backup for important dataEnglish
2·1 year agoHow much data are we talking about?
A free mega.nz account should be fine for everything except family fotos and legally obtained music/movies.
talkingpumpkin@lemmy.worldto
Selfhosted@lemmy.world•How do you handle family requests that you disagree with?English
7·2 years agoI’d say a good middle ground could be making that stuff only visible from your mom’s user (or even setting up a completely separate server)?
It depends on what YOU want to do, really… personally, I would be ok hosting religious nonsense if asked, as long as it’s not generally available in kids’ accounts and stuff (also, porn), but I would come clean and outright refuse if it was neonazi,racist and/or conspiracy stuff. It depends on where you decide to draw the line.
BTW: there’s also the passive/aggressive, cowardly option of sayng “I’ll rip them when I have time” and then sequester all the DVDs and only ever find the time to rip the ones you don’t mind
talkingpumpkin@lemmy.worldto
Selfhosted@lemmy.world•Syncthing ... where are the users?English
5·2 years agoman this is getting real popular (kinda like “why not both?” a while ago)
talkingpumpkin@lemmy.worldto
Selfhosted@lemmy.world•Is ansible worth learning to automate setting up servers?English
354·2 years agoIMHO Ansible isn’t much different than a bash script… it has the advantage of being “declarative” (in quotes because it’s not actually declarative at all: it just has higher-level abstractions that aggregate common sysadmin CLI operations/patterns in “declarative-sounding” tasks), but it also has the disadvantage of becoming extremely convoluted the moment you need any custom logic whatsoever (yes, you can write a python extension, but you can do the same starting with a bash script too).
Also, you basically can’t use ansible unless your target system has python (technically you can, but in practice all the useful stuff needs python), meaning that if you use a distro that doesn’t come with python per default (eg. alpine) you’ll have to manually install it or write some sort of pythonless prelude to your ansible script that does that for you, and that if your target can’t run python (eg. openwrt on your very much resource-constrained wifi APs) ansible is out of the question (technically you can use it, but it’s much more complex than not using it).
My two cents about configuration management for the homelab:
- whatever you use, make sure it’s something you re-read often: it will become complex and you will forget everything about it
- keep in mind that you’ll have to re-test/update your scripts at least everytime your distro version changes (eg. if you upgrade from ubuntu 22.04 to 24.04) and ideally every time one of your configured services changes (because the format of their config files may in theory change too)
- if you can cope with a rolling-style distro, take a look at nix instead of “traditional” configuration management: nixos configuration is declarative and (in theory) guarantees that you won’t ever need to recheck or update your config when updating (in reality, you’ll occasionally have to edit your config, but the OS will tell you so it’s not like you can unknowingly break stuff).
BTW, nixos is also not beginner-friendly in the least and all in all badly documented (documentation is extensive but unfriendly and somewhat disorganized)… good luck with that :)
Intriguing.
What’s the mechanism for dealing with spammers?
In lemmy there’s a clear escalation path that will lead to either the spammer’s instance dealing with the issue or the instance itself being de-federated.
How would that work in a p2p system?
Each user having to individually block every spammer will work as well as it did for email back in the day.