Copyright © 2023 Pandalism
04 October 2020
So with much careful deliberation over my previous adventures, I decided to stop screwing around and just build the network/homelab as I wanted. This involved removing old devices and cleaning cables, new NAS drive, new dedicated Virtual Machine box, and moving different services around!
My reigning goals for the network/homelab situation was as follows:
Strikethroughs show where I failed miserably, but at least it now fits under a LACK table
These points clearly are contradictory but I decided to try to split the network into three local subcomponents and some offsite silliness:
welp, well this is the network’s current state… ‘
First thing was first, the Raspberry Pi was not fairing well, from the moment it turned on it was hitting a constant 60degrees C, and would sometimes chug hard when the download services were accessed, even crashing and taking my whole DHCP service down too. The location wasn’t great, jumbled in between a nest of cables, but also just the fact there was no airflow and no heatsink didn’t help.
Nothing some spare thermal paste, a crappy heatsink and some good old glue can’t fix. With a bit of repositioning too the temps now dropped to sub 40 degrees. Resounding success even considering how ropey it seemed to just glue things to the board.
That aforementioned nest of cables finally got to me. Until now, I had just thrown in almost all the devices under an Ikea LACK table, dangling cables all over the place and just pushing in an old trusty printer from the front until it didn’t stick out. Which meant it just fell out the back, and there was no rhyme or reason how it all went together, honestly a bit embarrassing…
As I was adding new devices and would have had to get a switch sooner or later, I decided to tackle the issue, also buying a smart plug with USB ports to power what I could, and ability to remotely switch off parts of the network.
With a bit of wood I found laying around, some screws, black spray paint and a whole lot of time (way more than what I wanted to give but I got carried away) it is now slightly better.
Now its still not perfect, but using a piece of wood to raise a small shelf and put the power cables underneath made a massive difference, the raspberry pi is much better positioned too and almost all of it is quite reachable. Black paint also helped disguise it in, even if it was a shoddy job.
Its still a bit of a bundle of wires, and two shelves would have helped, but considering I sawed that board with a Victorinox knife, I was getting close to awaking some RSI or carpel tunnel syndrome or other. I’ll leave it for another weekend in a couple of months time.
End result! Can spot the eHDD and new virtual machine box hidden away ‘
Old NAS was a DS214play, a solid 2-bay NAS drive from Synology with transcoding capabilities. It served me well for 6 years, however the transcoding was only for Synology applications (not Plex), it had a 32-bit intel cpu (so no docker) and no support for BtrFS (so no snapshots and bitrot protection). Thus, out with the old in with the (not so) new with a DS716+ nabbed off ebay, which had docker support and BtrFS support.
This meant I now took the full download stack (VPN, Transmission, Sonarr, Radarr, Bazarr and jacket) off the poor Raspi 3B and into the NAS drive. Now the docker management isn’t perfect here and Synology screws around with the containers so I installed portainer and then did a mix of haugene’s guide to create a tunnel device as well as technodadlife’s portainer stack but modifying it for my applications and running it for the first time from a SSH session using docker-compose instead to kick start the service (portainer was not behaving for some reason). There was some fighting in there with the permissions of various containers and creating a user for docker, but overall it just took time and some googling.
Now I also created a new volume, redid some of the folder structures, and now have proper back up with a weekly External USB drive back up and a remote back up into the old NAS.
Overall quite happy with the move:
Welp! there’s the struggles with changing out the printer and the new virtual box machine I bought to run silly things in, but its the end of the weekend already and better leave it for another post!
Don’t get me wrong, this setup is still over-complicated and over-kill, and honestly I could trim some fat and merge parts, but it would also be less fun. Overall I’m pretty pleased with how it stands and it’s been good practice to play around with all the portions. I’ll continue removing random devices I have littered around the house which don’t do anything and just focusing on keeping this central core part running just as I like it, possibly changing parts here and there, but will see. For now its not going to be changing any time soon…
https://lejimmy.com/setting-up-transmission-bittorrent-with-openvpn-on-a-synology-nas-and-docker/
Copyright © 2023 Pandalism