synapse1278
@synapse1278@lemmy.world
- Comment on Genius. 2 days ago:
I learned the other day that British have a delicacy called the toast sandwich which consists of a slice of toasted white bread between two slices of untoasted white bread with optional butter in between.
- Comment on me when girls (i love women in my mouth) 2 days ago:
TGV feeding in it’s natural habitat
- Comment on Share this with 5 people or it gets ya 3 days ago:
I know this one. It’s in Madrid.
- Comment on Share this with 5 people or it gets ya 5 days ago:
- Comment on i'll never fail 5 days ago:
My armpits are machines that turn clean mouth into a mouth full of hairs.
- Comment on 6 days ago:
Living the good life
- Comment on Why are flat earthers so badly harassed and ridiculed by globers? 6 days ago:
Globers ?
- Comment on Thermostats compatible with selfhosted Home Assistant 1 week ago:
I’ve recently started with home assistant on a pi as well. Today I have 2 zigbee relay for my lights from Sonoff, 2 zigbee fire alarms, 1 wifi plug from Shelly and 3 Ikea remotes working on Matter over Thread.
Basically, any protocol you want to support other than wifi and Bluetooth will need a dedicated radio device. Luckily they are all pretty well supposed with home assistant. I have 2 Aeotec Zi-stick, one for Zigbee, the other flashed with OpenThread firmware (that’s for Matter over Thread, it wasn’t a good idea to buy twice the same device, I had to work around this issue). I don’t have Z-wave devices today, as I noticed they tend to be more expensive that the zigbee equipment. The new IKEA smart devices are very competitive in terms of price, they all work on Matter over Thread protocol.
In the end, you don’t need to choose. You can support all these protocols on the same raspberry pi. It’s just a matter of adding the corresponding radio and integration in home assistant.
- Comment on What's your self-hosting success of the week? 1 week ago:
Reconnected my light switches to home assistant. I just had to press the pairing button on the device again for some reason. But it’s inside de Switch box in the wall, not so practical. I wich they thought of another way to put the device in pairing mode, like switch one-off 10 times, something like that.
- Comment on do be like that 2 weeks ago:
Some species live for 24 hours only ! Image
- Comment on nooo never undervalue yourself 3 weeks ago:
Pils ?
- Comment on Nevermind the drink I'm holding 3 weeks ago:
Green
- Comment on Rate my setup guys 4 weeks 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? 4 weeks 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 5 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 5 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. 5 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 1 month 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 1 month ago:
I think it’s Claude, the LLM from Anthropic.
- Comment on What else should I selfhost? 1 month 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 1 month 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 1 month ago:
This is definitely a cropped screenshot from some hardcore gay porn.
- Comment on What's a good entry level printer these days? 1 month 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? 1 month 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? 2 months ago:
I have to look into that, thanks !
- Comment on My tender eyes and ears 2 months ago:
Add SonsorBlock to that and it’s just perfect
- Comment on Tips for moving from TrueNAS to Debian for a NAS? 2 months 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? 2 months 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 3 months ago: