NAS is how most people get into this. It’s nice have a /comfy/ home for all your data. Streaming your movies/shows around the house and to friends is good feels. Repurpose an old desktop, buy a SBC, or go with cheap used enterprise gear. Lots of options and theres even a flowchart. Ask.
/hsg/ is about learning and expanding your horizons. Know all about NAS? Learn virtualization. Spun up some VMs? Learn about networking by standing up a pfsense box and configuring some vlans. Theres always more to learn and chances to grow. Think you’re godtier already? Setup openstack and report back.
>What software should I run? install gentoo. Or whatever flavor of *nix is best for the job or most comfy for you. Emby to replace netflix, nextcloud to replace googlel, ampache to replace spotify, the list goes on and on. Look at the awesome selfhosted list and ask.
>Datahoarding ok here? YES - you are in good company. Shuck those easystores and flash IT mode on your H310. All datahoarding talk welcome.
>Do I need a rack and all that noisey enterprise gear? No. An old laptop or rpi can be a server if you want.
Bumping for interest as the last thread went down whilst I was at uni. Let's get this started maybe by talking about what non-standard protocols you guys use:
Any FS nerds here or are you all consumer grade server owners? EXT4, ZFS or Btrfs? And don't even bitch about bugs fixed since years. Redpill me on COW, dedupe and what ways I have to checksum or verify file integrity in a non-ECC RAM environment.
how's that working out for you? i've heard that there are some issues with sites/services blocking it mostly i'd expect consumer grade server owners but who knows i use ext4 because i've been using it problem free for a decade
Debian isn't even that much of an up-to-date OS, I'm just lucky that stretch released only just now and they of course had to incorporate latest TLS libs. So I dunno, just try a new distro or upgrade it? I'm happy to talk about what you use and how we might get you fresh packages.
Jordan Scott
>how's that working out for you? i've heard that there are some issues with sites/services blocking it
Well, the DNS requests still have to be according to IETF/RFC. You use the protocol to mask your requests and they are resolved off site. The more clients a dnscrypt server has, the more you are hidden in the noise. If a (sub)domain/tld are cached nobody would know anyway what you requested from the server. It doesn't solve the problem, only redirects it to a scapegoat the fucko squad will get.
recursive resolver (of a friend) dnscrypt-proxy + it's own cache client (me)
I have an unecrypted fallback with recursive DNSSEC if the encrypted primary should ever fail. The secondary uses QNAME minimization which is extremely needed as you hide the actual domain you are visting from the dns root servers.
alright cool do you have any resources to read? i might be interested in setting something like this up
Jackson Fisher
>do you have any resources to read? i might be interested in setting something like this up Sure I can give you my conf for unbound with QNAME+DNSSEC and I can tell you about setting up dnscrypt-proxy.
sudo apt-get install unbound
sudo nano /etc/unbound/unbound.conf
include: "/etc/unbound/unbound.conf.d/*.conf"
server: interface: 10.0.0.17@53 access-control: 127.0.0.0/8 allow access-control: 10.0.0.0/24 allow do-not-query-localhost: no qname-minimisation: yes do-ip4: yes do-ip6: no minimal-responses: yes do-daemonize: no
10.0.0.17 is the IP of my server, change to your own
cp example-dnscrypt-proxy.toml dnscrypt-proxy.toml nano into it and edit to your liking: what port / ip in LAN you use, what resolver you want to connect to, etc.
No problem. Now you must only solve how to use the same tcp port 53 twice. I used network-manager and nmtui and nmcli of systemdcancer to assign multiple IP addresses to single network interface. It's fiddly but worked. Had my raspi reply on 10.0.0.7:53 and 10.0.0.18:53 for primary and secondary DNS in LAN.
picture semi related random grab of google, the CLI you'll deal with if you use my approach
I might add, before you run multiple servers, just try either one of the two first. You can still keep your provider DNS as secondary fallback. nmcli is super fiddly
Does anyone have the flowchart? Asked 2 or so threads ago but got no reply.
Josiah Wilson
It's hard to find something plausible I can run all the time. I'm buying a refurb dell meme server to toy around with but I don't expect to actually run the thing on a daily basis, for the price it was hard not to get one to play around with, however all I really want is a homeserver I can run a small site off of and have some storage. Is a repurposed laptop viable?
Parker Clark
try this pick a single board computer based on how much network speed you need
Very disappointing that there seems to be little interest by coders to get alternatives to EXT4 and ZFS going.
Maybe European Open FS will be one day an option eofs.eu/
Nathan Foster
>SAS redpill me if they are worth the extra price I'd rather keep using sata forever, or another decade
Ryder Wright
sauce pls
Justin Cook
SAS for hot drives, SATA for archiving
Bentley Murphy
>do-ip6: no There is a fucky in your config file. Why would you ru a DNS without IPv6?
Carter Ward
whats a reasonable price for a used half cabinet? do they go for much below their new price? i mean its just metal right?
Xavier Kelly
Hope this is the right place to ask, but does anyone have experience putting DD-WRT on a Linksys WRT54GS v1.0? The guide on their forum says to follow the guide on the database but the link in the database for the recommended build is no longer available and their guide says that newer builds may be unstable. I tried searching their forums but most of the threads are from higher versions or regarding issues they've had.
I was thinking of using the RPis I no longer use as a web and ftp server I can take anywhere but I want them to be able to communicate with one another while only the web server RPi connects to the wifi/internet by making my old router a repeater (stock firmware doesn't allow it), but I don't want to use something potentially broken and brick my router. Pic related is a quick and dirty setup of the entire thing.
>WRT54GS v1.0 That's a shitty 20$ router from 20 years ago it already is a brick.
Jaxon White
That was before I had a dualstack internet connection.
thanks user
Bentley Nguyen
Get a compatible TP-Link instead and switch to openwrt which is better anyway. Be careful! The same model may have up to 5 different hardware revisions. Check in your store of choice what revision they sell. Don't buy devices with low RAM. Openwrt lives from extra memory and storage so you can install more packages.
Don't want to shit your Linksys, but that thing is a living fossile.
Isaac Myers
imouto no iiwake
Elijah Gutierrez
>Very disappointing that there seems to be little interest by coders to get alternatives to EXT4 and ZFS going. Very disappointing that you don't fix the situation given that you care, yes.
XFS or ext4 IMO.
Henry Williams
I'd rather work on less critical code than that of a file system. It's safer for everyone involved.
Gabriel Brown
Yea, just put one of the possibly unstable builds on it?
OTOH I largely agree with - is this really worth your effort vs configuring an actually decent ~$35 Chinese router?
Brayden Foster
Honestly, that attitude probably only was actually seen on XFS.
ZFS, JFS, HFS, APFS and so many more were more normal mortals like you hacking something together. And people still use these.
Carson Young
>hacking something together ReiserFS, in the literal way
Yeah its pretty old, but I thought I'd put it to use since I had it laying around and since I've never messed with routers and their firmware I wanted something to practice with. I'll give DD-WRT a shot and if that doesn't work I'll go with 's advice. Thanks.
Matthew Garcia
i see what you did there
Jace Hernandez
I've got a machine that's always on anyways, so I'm thinking of throwing my media drive in it and setting up an nfs server, any tips?
John Bell
Sure, do it.
The only tip I have is to use the current nfsv4.2, which is pretty much what you surely were going to do anyhow if your distro is sorta up to date. It's otherwise rather trivial.
Jonathan Rivera
Sure. I don't think you can practice THAT much though since how you go into recovery mode and what firmware you ultimately want may be different on the next model.
For router suggestions /nice cheaper routers with worldwide availability, consider the Xiaomi 3G or these (not specifically this listing, just the device): ebay.com/itm/x/202366502172
If you want to buy expensive brand toys, smallnetbuilder has rankings.
Dominic Perez
How does that router perform with NAT, any ideas? Can it handle torrenting or game downloads (GOG/Steam/etc.) at 100MB/s?
Asher Ross
user, this is a 512MB RAM relative monster of a machine.
This shit already worked on 8 or 16MB RAM and much weaker chips in the past if you had only a few thousand connections and didn't enable the most expensive ways to traffic shape or such (which almost nobody did or does even now).
Jordan Morales
Are WD Red drives ok for NAS? I want to buy 4 for a 24TB setup. They're going into a Ryzen 5 2600 box which will also serve as VM host.
Joshua Harris
no, they explode if you put them anywhere near a NAS.
What the fuck do you think?
Nicholas Smith
(cont'd) I looked it up - in comparison, your WRT54GS should have 8MB RAM and 2MB storage if it was a second or third generation model. Even that might have been capable of running some of the wired ports at full speed if you didn't do much with the traffic.
No, the new router won't be 64times faster like it has 64times more RAM, but it's probably nothing in particular to complain about in terms of an upgrade.
Henry Taylor
Sure. You can even very reasonably use SMR drives in a NAS if you know how to deal with their limitations. WD Red are pretty nice devices overall.
Why use a Ryzen 2600 for VMs though? A 2400G or 2200G should be better suited, you avoid using a power hungry dedicated GPU, saves almost half the system's power AFAIK.
Jaxon Cox
headless is the way to go on all network protocol servers
Gabriel Stewart
What do you mean? I will only plug a shitty nvidia for os install and then it's SSH only.
Robert Kelly
dd live iso on USB, enable ssh access with nano? what do you even need a screen for?
Oliver Watson
Is one backup of a backup enough? Or is a backup of a backup of a backup the most ideal scenario?
Gabriel Wood
Uh, usually I'd say you take two typical versioned (well, with history) backups directly, rather than backing up the backup.
Zachary Hernandez
T A P E
Luis Cox
Too expensive to not be bothersome (tape changer on new-ish version of LTO or something).
Too bothersome otherwise (how many tapes do you want to swap over how much time to even just do 6x10TB or something like that, never mind a bigger set of drives)?
Eli Campbell
Your most ideal way of a backup is one where you can verify file integrity. For example you could hash all files or use a filesystem that is able to confirm integrity.
Then you could backup rotate over several drives, like 3 HDDs.
Justin Gray
Trying to decide on a CPU for my new home server: Ryzen 1600 or Ryzen 2200G
For only $20 more, the 1600 has 6 cores _with_ hyperthreading, compared to the 4 core, no hyperthreading, on the 2200G. Seems like people prefer the 2200G but I don't know why. Any opinion?
Camden Parker
>Any opinion?
you should neck yourself for considering a GAYMAN cpu for a server.
William Brown
why? i don't need Xeon for piddling around
Kevin Reed
>This shit already worked on 8 or 16MB RAM and much weaker chips in the past This is not true at all. 1Gbps NAT has most certainly not been standard performance. Most 'consumer' routers manage to do it with some form of hardware acceleration (or at least they did a few years ago when I last checked). If the hardware acceleration is absent or unsupported in software (some custom FWs don't support it) then NAT happens in software which is much slower and won't even approach 1Gbps.
Maybe you're thinking about switching speed, which is indeed trivial, but that is not what I'm asking about.
For home use I'd say it depends on how important your data is. I'm personally fairly comfortable with 2 copies of my data which mostly comprises media (1 live copy on RAID and 1 offline backup).
Robert Evans
Pushing it close to 120MB/s (or doing so on many more ports than two at the same time) is a newer thing and used to be an exclusive of very expensive routers.
~100MB/s on two ports with typical NAT has been possible for a good while now; the Linux networking stack is just pretty damn nice.
Robert Diaz
There is a reason every fucking server has a VGA port. You may need it lnly a few times but adding a GPU every time you fuck up your network or something else sucks. I even have a KVM switch because changing cables is shit.
Carter Roberts
This - especially when its something like the bios hanging at 'press f1 to continue' and you've pulled the damn thing out the rack, connected monitor and keyboard just to see that.
Colton Allen
Like the UART on a TP-Link router/AP it should only be required after user error though to recover access. If you would lose access on the server, but it still can boot into a live ISO with ssh, you still could recover headless. Just offering user a way to go graphics less and still be in control.
Wyatt Phillips
>~100MB/s on two ports with typical NAT has been possible for a good while now Yes, it has been possible but routers use hardware acceleration for NAT in order to achieve that most of the time, at least consumer routers. Software NAT (CPU only) has usually been like 300Mbps, so much slower. That's why I'm asking about that router. Has anyone actually tested it, or do we know if it uses hardware acceleration with OpenWRT?
Brayden Richardson
No, you remember that wrong, you were able to get ~100MB/s for quite a while now.
I don't even know where you got that "hardware acceleration" bit from, sounds a bit like Cisco marketing wank or something like that to me. Of course a relatively generic MIPS or ARM or whatever other type of CPU can go through a Linux NAT routing table thing just fine - it's not some kind of specialized video encoding thing.
>It was created in May 2016 by a group of core OpenWrt contributors due to disagreements on OpenWrt internal processes.[29] The schism was nominally reconciled a year later in May 2017 pending approval of the LEDE developers.[33] The remerger preserves the OpenWrt branding, but uses many of the LEDE processes and rules. The remerge proposal vote was passed by LEDE developers in June 2017,[34] and formally announced in January 2018.[35] Merging process was completed before OpenWRT 18.06 release.
Flow-offloading is a software feature, available since upstream kernel 4.16 and backported to OpenWrt's 4.14 kernel, this means it can be used on all OpenWrt supported devices running kernel 4.14 or newer. ar71xx has just been ported (in master/ snapshots) to kernel 4.14 over the last 2 weeks, so it's now not only available for the ath79 target (and its currently limited device support), but all ar71xx devices (and other targets on a new enough kernel).
This also means that 17.01.x (kernel 4.4 for all targets) and 18.06.x for ar71xx (some targets are using kernel 4.14 there and already do support flow-offloading, but ar71xx is on kernel 4.9) will never gain this functionality, as they're using a too old kernel for that; 19.01.x however will.
In addition to software flow-offloading there's also a possibility for hardware flow-offloading on devices supporting this, at the moment there are only drivers for mt7621, but there's a potential for other implementations (e.g. ar8337n, maybe ar8327n, maybe lantiq) in the future as well.
The Egasky router I linked has a MTK MT7621A+MT7603E+MT7612E.
So how much does enabling hardware flow-offloading on the MT7621 even affect performance (latencies? throughput?) vs. when it's disabled?
Kayden Cooper
No idea, haven't tried the Mediatek ones yet, but considering it if there remains active development for in hardware features. Apparently some people with fiber internet access are getting in the kind of bandwidth range where it matters.
Juan Morales
Should I go with emby or jellyfin? I don't want to install proprietary shit but my mom watches Seinfeld thanks to my current Plex setup, so I wouldn't want a janky user experience.
Charles Reed
Anyhow kudos on the chink router. 512M DDR3 is excellent, but don't you think they jevved a bit on the 32M flash?
Jose Sullivan
Yea, they already got 10/10GBE unlimited including TV and phone service for ~US$50/month here.
But are the MT7621 even on any 10GBE routers?
James Flores
Why would your router need 10GBE?
>Your internal network will not be any slower due to the fact that all devices will communicate to each other directly (by ARPing and storing MAC addresses).
Just get a 10GBE switch, the router only needs to satisfy the speed of your internet+overhead, unless I miss something critically here.
OTOH I think relatively few uses will actually require >32MB storage.
Jaxon Richardson
>I don't even know where you got that "hardware acceleration" bit from I mean, it's literally in my router's firmware and if I disable it performance drops to like 200-300Mbps. It's an AC68U. I was only asking about this router out of curiosity since I don't really need to upgrade right now, but at that sort of price it's a good product to keep in mind for the future.
Nice to see that HW acceleration support is coming to custom FWs as well. Back when I last checked them out they had no support at all.
You are right, it's just good to have more depending on what openwrt packages you want to install. Some DNS filters for adblocking could eat up a few MByte.
Thomas Nguyen
Emby is fucked at this point, closed source garbage
Jordan Peterson
Nevermind, I'm retarded. You can have this fast internet? Thought South Korea had this much only.
Jose Hughes
Jellyfin is just a fork of Emby, from 3.5.2 IIRC. I haven't personally used it yet since I'm still on 3.5.2 but I imagine it won't be more janky than Emby. The only problem currently, as far as I've seen, is that "Jellyfin" isn't as widespread as far as clients go. They're not developing and maintaining clients for every platform Emby has, though the actual Emby clients may very well work with Jellyfin I believe. Also the web UI should work on pretty much anything with a decently modern browser.
Samuel Hernandez
> You can have this fast internet? Thought South Korea had this much only. Yes, since a few months ago: fiber.salt.ch/en/
That said it's not like everyone was waiting to upgrade from their 300/30 or 1Gbit/1Gbit. I also couldn't be arsed yet, waiting on some unrelated house renovation to get better cabling up from below.
Carson Adams
I know this out of the question But maybe help me with SAUCE ?
Lucas Barnes
The reason to get the 2200G is if you're running a media server since it has the VCN ASIC on it, which offers VP9 hardware decoding along with all the standard ones (HEVY, mpeg-4 AVC, etc). It can also do decent transcoding. However the main reason is for that super cheap 4k60 h.265/VP9 Really if you're doing a NAS + media centre all in one thing, go for the 2200G. If you are planning to do other forms of compute on it, grab the 1600
Is there any downside to using btrfs or ZFS? They seem better in theory than journaling filesystems, just reading about them now honestly
Lincoln Powell
Sayonara, Oppai
Evan Walker
what vps does /hsg/ use? i mostly plan on using it for hosting game servers with maybe 4 people tops >inb4 its called *home* server general i live in a dorm and cant forward any ports
Xavier Martin
Why the fuck would I want a server.
Austin Gutierrez
with iredmail it's relatively easy, installs postfix dovecot amavis roudcube etc for you
Matthew Garcia
On point. Adding that the android client for Emby doesn't work with Jellyfin anymore, the devs updated it to block Jellyfin servers, so use this: repo.jellyfin.org/releases/client/android/ The Web UI works everywhere.
Josiah Evans
Any special consideration I should have for power supplies? I have a Pentium G3258 and a z97 atx with 8gb ram (non-ecc) that I've got lying around and want to put it to NAS/routing use: >firewall w/blocklist >vpn tunnelling for requests to a specific country >2x 4tb reds to consolidate backups and media - zfs likely >1x 1tb blue from current PC for torrents, finished non-seeding stuff would move to the reds Would be between my computer+devices and the main router to the internets. Not really sure if I can get the first two points set up but if I'm making a NAS, being able to automate vpn access would be ideal. Likely going back into an atx case instead of a rackmount. Should I size an atx power supply like I would normally?
What kind of temps are the drives reaching when sitting in such hot-swap bays?
Mason Watson
Put together in 2016, been running nearly 24/7 since then. Home servers are a meme, but they're good memes. >remote shell >media server >backup target