synapse1278
@synapse1278@lemmy.world
- Comment on nooo never undervalue yourself 22 hours ago:
Pils ?
- Comment on Nevermind the drink I'm holding 4 days ago:
Green
- Comment on Rate my setup guys 1 week ago:
This bucket needs RGB 🌈
- Comment on I have a rasberry pi 5 collecting dust, what are some neat useful things i can do with it? 1 week ago:
Damn, I need a new raspberry pi now. Just bought a pi 5 for home assistant this month. With the price increase, this isn’t a good time :(
- Comment on Advertisements 2 weeks ago:
The only ads I can’t automatically block are the posters in the street. Luckily there are good regulations in place about that where I live, so it’s not all that bad. But I am pretty upset when I have to stare at a 5x3 meters large AI generated slop-ad during my train commute. What are they thinking? This all looks uncanny as hell.
- Comment on Gimme an apple 2 weeks ago:
I would kick a tree, fart on some dogs and run away.
- Comment on ICE is 30 minutes late again. I'm really pissed about that. 2 weeks ago:
The green electricity part is debatable. From my balcony I have a very nice view of the giant smoke stack from the coal power plant and on the other direction the giant smoke stack from the sewage treatment plant where they burn solid wastes, I hope to recover some energy, although I am not sure about that.
- Comment on I'll take 20 3 weeks ago:
Typical traditional Chinese “medicine”. May I interest you in an egg hard-boiled in the urine of a baby boy to bring you much vigor in the bedroom?
- Comment on My self hosted badges of honor 3 weeks ago:
I think it’s Claude, the LLM from Anthropic.
- Comment on What else should I selfhost? 3 weeks ago:
- pihole: DNS ad-blocker abd also a DNS (and optionally DHCP) server for your home
- Wireguard: VPN very simple to setup, for remote access to your services from outside your home. What I do: wireguard is running (as a server) on a VPS, with all the security measures in place (ssh password login turn off, firewall bocks everything but wireguard and ssh connection changed to another port, failban) then my NAS at home connects to this VPS, as well as my phone, laptop, etc.
- Caddy: reverse proxy to address your service using your domain, it’s easy to setup, actually it’s the only reverse proxy I managed to setup successfully 😅. You can use the Nameservers from your domain provider to point to your NAS via the wireguard IP address for connection from the outside, and Pihole DNS to point to local IP address when at home.
- Comment on shitposting 4 weeks ago:
If only 10% of shitposters would look half this good, we would still not know. I let you do the math !
- Comment on The Boss Kyle 4 weeks ago:
This is definitely a cropped screenshot from some hardcore gay porn.
- Comment on What's a good entry level printer these days? 5 weeks ago:
Are you open to buying second hand ? Maybe try to find a Prusa i3 MK3 in good conditions on the market. Mine has been super reliable for many years (excluding the MMU 💩). Not the fastest nor most feature rich printer by today’s standards, but a damn reliable one.
- Comment on Cloud saving huh? 5 weeks ago:
They won’t tell you we are living in techno-feudalism, but there’ll be signs.
- Comment on Tips for moving from TrueNAS to Debian for a NAS? 1 month ago:
I have to look into that, thanks !
- Comment on My tender eyes and ears 1 month ago:
Add SonsorBlock to that and it’s just perfect
- Comment on Tips for moving from TrueNAS to Debian for a NAS? 1 month ago:
Come on man… I spent so much time typing this from my phone, with formating and everything…
- Comment on Tips for moving from TrueNAS to Debian for a NAS? 1 month ago:
Hello, I have some experience using Debian in NAS, but none with TrueNAS.
Before anything: BACKUP !
If possible, make a full copy of your pool onto external drives, or another NAS or anything else. If it is not possible to get enough spare storage soace, then at least backup the things your really care about (personal photos, important projects, password database). Just make sure you have a valid backup in case things go terribly wrong ! I am sure everything will go well, but this will give you additional peace of mind.
Setup Debian for NAS use
There are a few things I can think of, many might be obvious, anyway:
- Install and configure network file sharing protocols: Samba (files sharing compatible with Windows, Linux, Android and others), NFS (more like network drive)
- Install: S.M.A.R.T monitoring tools
- Choose and configure filesystem. I have been using BTRFS, but since your pool is ZFS and you probably don’t want to format and start from nothing, I think you are already set on that one. I believe this is extra configuration as it doesn’t come by default on Debian.
More advanced things:
- Setup SSH for remote connection with the terminal
- Install
htoporbtopfor system monitoring in the terminal wireguardis a very nice VPN, it’s easy to configure on all platforms in order to access your NAS from outside your home
Power optimization
- Enable C-stats in the BIOS (warning in case your CPU is a 1st gen Ryzen, do not activate)
powertopis an utility to optimize power saving settings (I’ve not bothered with this until now)hdparmis an utility to manage and configure hard drives, you can use this to configure automatic spin-down after some time of inactivity, this is a bit tricky though.
Dashboards, UI, frontends
- OpenMediaVault is the first one that comes to my mind. It’s actually a Linux distro based on Debian with a web interface that allows you to do all the NAS relevant confirmations from the Webbrowser. It can also be installed on top of an existing Debian install. I have used it a long time ago.
- CasaOS, similar in concept, I have not used it.
- Another simple option to get started, get a monitor, keyboard and mouse. Install Debian with full desktop environment and configure everything in person. You can always go headless at a later time
Docker
You definitely want to install docker to run most of your services. Please, also add your local user to the
dockergroup to not have to run everything as root. Useful services I use:- Portainer: manage containers with a web interface
- watchtower: Auto-Update other docker containers
- Jellyfin: media Manager and player (similar to Plex)
- *arr, transmission, sabnzbd: sail the high seas
- gluetun: route containers traffic through a VPN
- caddy: reverse proxy, to access your container with sub-domain name, example: jellyfin.mycoolnas.net
- vaultwarden: redistribution of the Bitwarden password manager for self-loading with the premium features available.
Graphics cards
It’s been a long time I didn’t have to deal with NVidia. Debian comes by default with the
nouveauopen source driver, which works but may not give the best performance. I don’t know if it impacts transcoding performance. I suppose it doesn’t give your the NVENC codecs. Anyway, you can install the NVidia proprietary drivers and should be able to transcode.Conclusion
Debian is a solid option for a NAS, it’s been serving me well for many years. It is set and forget. However. It takes time to setup and the terminal is going to be your main configuration tool unless you go for OMV or another distro specialty made for NAS.
Your main source of information shall be the Debian Wiki. You will find step-by-step guides to install most of the things mentioned above. The Arch wiki is also a good resource, keep in mind that some files may have different locations and package different names across Linux distributions, but configuration should be similar.
Best of luck my friend
- Comment on Timesplitters Rewind, free fanmade recreation of the trilogy, enters Early Access 2 months ago:
OMG, so many good memories playing Future Perfect with my brother on the PS2
- Comment on Language 2 months ago:
- Comment on Getting too expensive 2 months ago:
- Comment on Any idea what might be going on with this print? 2 months ago:
Looks like a clogged nozzle to me. You can try a cold-pull procedure to clear it: help.prusa3d.com/…/cold-pull-mk3-s-mk2-5-s-mk3-5-… (maybe Creality has specific instructions for your printer)
- Comment on Corn me up, snake 🐍🌽 2 months ago:
Corn me up, snake !
- Comment on I love fucking pasta 3 months ago:
It is a really video. It’s like, a surprising detailed review.
- Comment on Are you even old enough to remember number 1? 3 months ago:
I used it for 9 years. When I finally changed it, everyone was already using smartphones for a while. I could navigate the menu and text entirely by touch, which was practical during classes :)
- Comment on Are you even old enough to remember number 1? 3 months ago:
- Comment on And what car did you learn in? 3 months ago:
Renault of that era are complet garbage, but still sold a tonne. This badly damaged their reputation and they took a long time to recover.
- Comment on And what car did you learn in? 3 months ago:
- Comment on chat is this real 3 months ago:
Interesting documentary about the “lofi girl” including interview of the artist who created the visuals (in French): Lofi girl : votre compagne de télétravail, star de YouTube - Le Dessous des images - ARTE | YouTube.com
- Comment on chat is this real 3 months ago:
This is actually in Lyon (France). The creator of the artwork was living there and use the view out his window as inspiration. I will look for the interview and link it.