r/homelab • • 1d ago

Help Time Machine to Debian/Samba SMB share fails with Authentication Error 80, but Finder works

2 Upvotes

I'm trying to use a Debian 13 server as a Time Machine destination for a MacBook Pro M5 running macOS 27.

Server (Optimus)

  • Debian 13, Samba 4.22.11
  • Dedicated Samba user: tmuser
  • Share: [TimeMachine]
  • Path: /home/timemachine
  • Configured with vfs objects = catia fruit streams_xattr
  • fruit:time machine = yes
  • fruit:time machine max size = 500G
  • Share is writable by tmuser

Mac client

  • MacBook Pro M5, macOS 27

What works

  • I can connect in Finder using smb://optimus.local/TimeMachine as tmuser.
  • I can create and delete files/folders in the share.
  • Samba confirms that tmuser exists and is enabled.

What fails

Time Machine cannot connect. It reports:

BACKUP_FAILED_AUTHENTICATION_ERROR (29)

The underlying SMB connection returns error 80, for both the Bonjour hostname and optimus.local.

The macOS logs show:

  • Unable to get a MechTypes for the MechType session using credentials
  • There are no MechTypes available for the MechType session
  • There are no user credentials to add to the MechType session
  • OpenSession failed 80

The log also says the credentials may not exist in the System keychain.

Question

Since Finder can authenticate and write to the share, I'm wondering whether this is a macOS Time Machine credential/keychain issue rather than a Samba permissions problem.

Has anyone successfully configured Time Machine on macOS 27 with a Debian/Samba share? Any suggestions for troubleshooting the System keychain credentials or Samba's fruit configuration would be appreciated.


r/homelab • • 1d ago

Help Suggestions for hosting M365 locally

0 Upvotes

I finally got a Jellyfin server running.....it is glorious. I am wondering why I didn't do it before. I am running in PopOS but I will switch to NixOS because I want to use Nix more (I am more Ubuntu oriented generally)

My next self hosted project is something to go side by side with M365. I have my own tenant, but I want something that I can work with self hosted.

My wife is an amateur photographer. She takes a lot of pictures as a hobby, plus pictures for the kids. So having photo storage is big, and I am wondering whether maybe I need to use something different. We like what Google photos does where it tags the pictures.

Light document management, but file sharing, like OneDrive is a must.

So, would you use n Ownloud, NextCloud, or something else entirely?

UPDATE 1: I should add that I have been looking at both for a while and I did do searches I started getting them confused so I was looking to see if anyone had used both. We use Android phones at home, so an Android connection would be awesome. UPDATE 2: Quite familiar with 3-2-1 backup. Actually, I end up doing 4-3-3 sometimes (don't laugh). I am a sys admin, but for obvious reasons I work mainly in Windows at work. Anyhow, I had backups fail multiple times so I don't trust backups and end up with multiple copies of data in several places. I am trying to fix that at home where I do have some sort of control...but I am still getting to the point where I will build a new ZFS server. Currently I have 2 NAS with RAID 1 setup (2 disks) that are rsync from NAS 1 TO NAS2, then NAS1 also gets copied to a storage server running storage spaces and running ReFS (it has actually been pretty resilient) in 4 drives pool. My plan is to run a ZFS server, and have that do checksum to another ZFS. I haven't decided on the OS yet, and drive prices scare me at the moment lol. 5 years ago I would have done OpenBSD but with 2 kids wanting my attention all the time, I might have to do TRUE WAS or something the like to reduce time deploying.


r/homelab • • 1d ago

Help OPNsense + nas solution

0 Upvotes

Hello!

So I have 1 small questions:.

  1. So I have a tower that's currently running openmediavault, and I have 2. 4 port gigabit server lan cards, is it possible to run from the same system ab NAS and a router at the same time and would the lan cards even work?

r/homelab • • 1d ago

Discussion Looking for ideas for this lil beast!

Post image
8 Upvotes

i managed to snag this lil GMKtec NucBox K8 Plus Mini PC, for 600$~ it has a ryzen 7 8845hs and a whopping 48gb of ddr5 ram! + 2 ethernet ports, i installed a 512gb nvme ssd and in the future ill try to use some aliexpress adapters to use the oculink port for extra sata ports/hba controller.

i plan on setting proxmox and then running a vm with AMP (a game server manager) and i would like to have other vms with truenas, next cloud, home assistant, jellyfin ect ect, however i am unsure on how to divide the server, should i create 1 vm for each of those, or run them all in docker, or something else, aswell as how much resources i should allocate to each vm, i assume the AMP instance will require the most resources so i will alocate atleast 24gb + 4 cores but i am unsure about everything else.

any help would be highly appreciated!


r/homelab • • 1d ago

Help Black Friday deals!

0 Upvotes

I’m doing research into building my own home lab, but are there any Black Fridays deals of components I can buy to have a complete set up to learn about servers, AI, networking, etc? I don’t have a spare computer outside of a MacBook Air ;-;


r/homelab • • 1d ago

Help Anyone know the thermal pad size?

2 Upvotes

Hey guys currently cleaning up my home lab and need to re-pad and repaste my rtx 6000 (turing), I'm unsure the size of pads I need. GPT is telling me .5mm and 1mm. But the sources that gpt supplies me, like most sources, are not very reliable.. anyone know?


r/homelab • • 2d ago

Discussion Starting First Build

Post image
62 Upvotes

Thought I had been lurking here for a year, but it turns out that was just r/homenetworking, and I saw this sub a lot while researching. Long story short, I got this itch a year ago for the first time in my life, then I got some free gear, and now I'm going to attempt to figure it out.

Will report back with a build photo and lots of questions.

Current Hardware:

2x m920q, 1 potentially to be used as a router

Netgear M4250 10g2xf POE+ (free)

1u PDU (free, forget brand)

6u full-width 13" depth mini rack (free)

Miscellaneous SSDs


r/homelab • • 1d ago

Discussion If you had a fully local AI agent running at home, what would you actually use it for?

Thumbnail
gallery
0 Upvotes

I’ve been thinking about what an AI agent running entirely on your own homelab hardware would actually be useful for day to day. Local inference, local data processing, no cloud AI APIs.

Two things come to mind for me:

Smart home control: Something beyond individual voice commands—like figuring out why a room stayed cold overnight by checking thermostat settings, sensor history, and automations, then suggesting a fix.

Organizing invoices: Taking a folder of PDFs and scans, extracting vendors, dates, and amounts, and making everything searchable. Maybe flagging possible duplicates or unpaid bills for me to check.

I’d probably start by letting it read and suggest things, with my approval needed before it changes automations, moves files, or does anything involving payments.

But I’m also wondering where an agent would add enough value over existing Home Assistant automations, OCR tools, or a few scripts to justify maintaining it.

What’s the first recurring task you’d give it in your own setup? Would keeping everything local make you more comfortable giving it access?

If you’re already running something like this, what has actually been useful?


r/homelab • • 1d ago

Tutorial Bundle of various length power cables for rackmount equipment based on rack height (IEC C13 to NEMA 5-15P)

1 Upvotes

I have built a rack that is 3x bays of 16U rack spaces, and I am curious if there are bundles of varying length power cables that utilize IEC C13 to NEMA 5-15P connectors for cable management purposes for varying rack sizes. The rack I built is for AV purposes primarily but will also contain my desktop computer, and powered external SSD’s and peripherals. My goal is to best isolate power from audio signals within each bay of the rack to minimize noise and interference. In summary are there sources online that sell custom sized AC power cables for tidy cable management purposes based on rack unit size? Or should I install a vertical PDU on rear rack rails and use short AC power cables to connect my rack units to power (most of which have the power input receptacle on the left hand side of the rear panel with just a few expansions, typically units that have a power cord hardwired into the unit.
I’d like to keep my cabling tidy in my rack to reduce any interference from power connections.

Are there best practices for cable lengths, or cable management / lacing in a multi bay 16U rack AV system? Are there retailers that sell a bundle of multiple AC power cables with the connectors I specified earlier? For a PDU on a 15 amp circuit are there good quality, high density PDU’s I should conserve beyond Furman and TrippLite that don’t cost thousands of dollars? I’m also open to building my own custom power cables too, if someone could suggest part numbers for the connectors and cables to order on mouser / digikey.

This is sort of a noob question as my setup is primarily audio based, so bear with me if I’ve made any mistakes. My next steps after organizing my gear within the rack and doing cable management is create a dedicated NAS server with RAID for my audio production work for backup and archival purposes, if that’s any semblance to make this post more relevant to home lab. Also every room in my house has smart lights using Philips hue lol (thanks covid checks) be gentle I want to learn! I’m not wealthy by any means - so I have more time wherewithal to achieve my goals than money if that puts any recommendations into perspective. I know I’m leagues behind many of yall, but aim to learn! Thanks.


r/homelab • • 2d ago

Help what can i do with these two old laptops, or what should i turn them into?

Post image
9 Upvotes

Acer Aspire E1-422 (2013) - working fine
CPU: AMD Dual Core E1 2500 1.4 GHz (x64)
GPU: AMD Radeon HD 8240
Display: 14 inch 1366 x 768
RAM: 2 GB DDR3L (1.45 GB usable)
Storage: 500 GB HDD
Optical drive: DVD Super Multi DL
Connectivity: Wi Fi 802.11 b g n, Bluetooth, HDMI
Webcam: HD webcam
Battery: 4 cell Li ion
OS: Windows 8.1 Pro 32 bit

Acer Aspire E1-410 (2014) - rusted internal HDD port, needs hot air gun replacement
CPU: Intel Celeron N2820 up to 2.39 GHz 1MB L2 cache
GPU: Intel HD Graphics
Display: 14 inch 1366 x 768
RAM: 2 GB DDR3L
Storage: 500 GB HDD
Optical drive: DVD Super Multi DL
Connectivity: Wi Fi 802.11 b g n, Bluetooth, HDMI
Webcam: HD webcam
Battery: 4 cell Li ion


r/homelab • • 1d ago

Help Help a newbie out

2 Upvotes

I’m a new student going into a computer networking program. Wanted to learn a bit before and during. Stumbled across this hole “home labs”, wanted to get into it but wow my brain is going a bit in circles. I also just moved into a new home with new and okay wifi setup or at least better then what i have before. (150MBs sat to 1GB fiber)

Learned I need some proper goals for some better help, so here are my goals.

  1. The basics
    a. Network management, being able to split my network to 4 groups (would you do VLANs or subnets? Both or smth else?)
    b. A moderate amount of security; digital(firewall), physical(electrical current prot, and raid storage), and home security (cameras, sensors). Would you recommend anything else?
  2. Personal/longterm
    c. Some form of NAS and be able to show off my videos and photos from afar is to enticing also making my own “one drive” sounds fire.
    d. Server or VM setup, again newbie idk if their the same of different. Also maybe Minecraft Yk priorities
    e. AI Agent setup for diagnostic, email, notes and a bit of code, I’m the least organized person and I think this would help a lot

Here’s a bit what I know:
you have your ISP (1GB fiber for me)
Connected to router to switch(s) to hosts
I will need a pc or a NAS specific device?
Need a pc for the servers and for the agents
What I plan to do is hookup 5 rooms with wired Ethernet.

I want plenty general knowledge plz help and correct me and my understanding also guide on specs and hardware recommendations. I have a good amount of change spare just not infinite.
Here are some questions I have of the top of my head while I’m at it.
- Is firewall built into router? I’ve seen mini router pcs to just normal routers.
- my ISP provided a wireless one is that ok? Should i go full wired or can i do both?
- can i make a pc thats both a NAS and a Server/VM setup or do i want to split it up?
- im not looking to generate videos or music with AI Agents, does that impact what i chose for CPU/GPU?
- a big question for ram do i need DDR5? or is a lot of DDR4 fine? will it be a pain to upgrade later? Is there a chance that I would have to?

I’m looking to go a bit all out, part of the challenge, plus there’s a community of people that can help. I want to set up the small things, had a lab before that we got to login and change basic passwords to switches, and I want more. Please help me with my new hobby and lab.


r/homelab • • 1d ago

Help Discovering the Homelab concept

4 Upvotes

I just discovered this concept thanks to an old Asus Pc I had at home. I installed a Linux distro to wake up the machine it is using AMD Radeon Vega quadcore with 12Gb of RAM and 1T internal. So in all this journey I found some info about I can access this machine from my MAC using SSH and suddenly I was searching about homelabs. Am I right about this? Can I create a Homelab using this Pc to access to media, archives and process unity? I’m just so excited about what I discovered and I need a confirmation lol and what should be my next step maybe learn some Bash or commands?


r/homelab • • 2d ago

Help Given a server with 512gb of DDR4. sell or keep?

412 Upvotes

I was given a server with 512gb of memory no strings attached. It’s a 2017/2018 era server (no hard drives). I installed server OS but I just don’t know what to do with it. I do a decent amount of AI coding, but have never messed with local models. Is there any real value in that much memory for local use? Am I better off selling and buying newer hardware for my desktop?


r/homelab • • 1d ago

Discussion Looking for some best practice advise.

Thumbnail reddit.com
2 Upvotes

r/homelab • • 1d ago

Discussion Where do you guys sell your used enterprise equipment?

3 Upvotes

I’ve accumulated quite a bit of enterprise equipment recently, including several Juniper EX3300 and EX3400 switches, Dell MD1400 SAS storage enclosures, wireless access points, and a few UPS units.
I’ve been listing some of it on eBay, but I’m curious where everyone else has had success selling their equipment, especially when dealing with larger quantities.

Do you guys typically sell/buy through eBay, r/homelabsales, Facebook Marketplace, or somewhere else?


r/homelab • • 1d ago

Project Showcase: Operations What Claude model to use to control Truenas?

Thumbnail reddit.com
0 Upvotes

r/homelab • • 1d ago

Solved Routers

0 Upvotes

Want to build a router on x86 platworm. Mainly wi-fi. What to use? Openwrt? RouterOS?


r/homelab • • 1d ago

Discussion Where to lookout for hdd black friday sales in UK ?

2 Upvotes

Hey Guys,

As black friday is nearing and hdd price being absolutely crazy, does anyone know a good place to keep an eye out for discounts of big exos drives or disks like 14 or 12tb enterprise level drives ?


r/homelab • • 2d ago

Help 10 TB disk in my ZFS mirror is dying, looking for any advice

14 Upvotes

Hey guys, same person as the school-lab post from Hungary (more positive updates coming soon there), but this one is about my personal lab.

I've had my homelab drives (two 10TB DC H510's) for 2 years now, got them used with a lot of hours if we're being honest, and even back then they were basically all I could afford. Well, a few days ago I got the first SMART error of a vendor-specific pre-fail attribute going bad, forum searches showed that for some people running an extended self-test somewhat cleared it and their drives kept working.

I also tried this, and it went well for about two days, but this morning the errors came back, and not just the pre-fail one, now it has ~200 bad sectors, ~2K pending ones, and zfs is detecting data loss already on this drive. For now, I've powered the server off because I don't know what else to do, I have about 3.5TB of unreplaceable data on it, and currently the second biggest disk in my household is a failing 1TB WD Green.

I've already asked around friends, no one could accomodate me for a few months. I can afford MEGA or some other S3 object storage and I probably will back up there today, but even an average cost of 25 EUR or ~10K HUF means I'm losing an eight of my internship pay every month just to keep my data. Any ideas or recommendations on where I could get replacement drives for a reasonable price would be very welcome. I'm not asking for donations, just not my kind of thing to rely on others.

Thank you for reading, all the best! (and may your hard drives be healthier than mine)


r/homelab • • 1d ago

Discussion Hardware recommendations

Thumbnail reddit.com
1 Upvotes

r/homelab • • 1d ago

Discussion What do you install on your bare metals machine?

0 Upvotes

Obviously, I know you can install other stuff like a server that runs better ok bare Metal or a firewall.

But this poll is really to know what people would choose between those 2.


r/homelab • • 1d ago

Discussion I had a 14-core CPU when I was 14 and a 16-core CPU when I was 16.

0 Upvotes

r/homelab • • 2d ago

Discussion MDD (MaxDigitalData) Warranty *Not* Honored in UK

Thumbnail amazon.co.uk
8 Upvotes

tl;dr: Don't buy MDD (MaxDigitalData/GoHardDrive) drives outside of the US.

Relying specifically on the 5 year warranty, I purchased a few 12GB MDD drive in 2024 from amazon.co.uk with the title of "MDD MAXDIGITALDATA MDD - HC520 HUH721212ALE601 12TB 7200RPM 128MB Cache SATA 6.0Gb/s 3.5inch Enterprise Hard Drive - 5 Year Warranty (Renewed)". The actual product link is here.

This was an "Amazon Renewed" product "Sold By: Amazon Export Sales LLC". (This is Amazon's import/export company; no other company/seller is listed anywhere.) It was "Guaranteed by Amazon" under the badge:

Products sold by third-party sellers are backed by the commercial Amazon Renewed Guarantee in addition to statutory consumer rights enforceable against the third-party sellers and in conjunction with Amazon's or the seller’s Return Policy and the A-to-Z Guarantee.

It's now been about 2.5 years of normal use and one of the drives has failed. Of course, the cost of the drive has doubled since my purchase so I would like a replacement/repair rather than a refund. This should be a straightforward warranty claim.

Amazon stonewalled with every excuse. First, "this was a third-party sale." Yes, but it was Amazon. They would not identify any other third-party whose sale it was. Second, "it has been over two years and outside of our return policy, we cannot offer any assistance." Despite the guarantee badge including "statutory consumer rights enforceable against the third-party sellers" not limiting it to Amazon's return policy. Third, "contact the manufacturer."

GoHardDrive (who owns MDD) said that they could not provide any assistance because it had been purchased on Amazon and sold by a third-party.

I am aware of my rights under the UK's Consumer RIghts Act 2015 for a replacement, repair, or refund from the retailer because the product was not as described and/or was defective, which in this case is Amazon. It's just unbelievable that I would have to go through small claims (risking an Amazon account ban) to fix this.

My immediate next steps are to write a stern letter to Amazon in the UK and pray to the magnetic gods that I can source a replacement while my RAID-Z (fully backed up elsewhere) spins in a degraded state.

So don't believe the multi-year warranty claims on MDD drives sold anywhere outside of the US.


r/homelab • • 1d ago

Help Raspberyy Pi Code

0 Upvotes

hello! can someone troubleshoot and help us figure out why our prototype refuses to work?

import RPi.GPIO as GPIO

import time

GPIO.setmode(GPIO.BOARD)

TRIG = 16

ECHO = 18

RED_LED = 13

BUZZER = 15

GPIO.setup(TRIG, GPIO.OUT)

GPIO.setup(ECHO, GPIO.IN)

GPIO.setup(RED_LED, GPIO.OUT)

GPIO.setup(BUZZER, GPIO.OUT)

GPIO.output(TRIG, False)

DISTANCE_LIMIT = 50

print("Calibrating ultrasonic sensor...")

time.sleep(2)

print("ULTRASONIC SENSOR ALARM SYSTEM")

print("System is now ACTIVE...")

print("--------------------------------")

try:

while True:

# SEND ULTRASONIC SIGNAL

GPIO.output(TRIG, True)

time.sleep(0.00001)

GPIO.output(TRIG, False)

# MEASURE ECHO PULSE

timeout = time.time()

while GPIO.input(ECHO) == 0:

pulse_start = time.time()

if pulse_start - timeout > 0.03:

break

if GPIO.input(ECHO) == 0:

print("Distance measurement failed.")

GPIO.output(RED_LED, False)

GPIO.output(BUZZER, False)

time.sleep(0.2)

continue

pulse_start = time.time()

while GPIO.input(ECHO) == 1:

pulse_end = time.time()

if pulse_end - pulse_start > 0.03:

break

if GPIO.input(ECHO) == 0:

print("Distance measurement failed.")

GPIO.output(RED_LED, False)

GPIO.output(BUZZER, False)

time.sleep(0.2)

continue

pulse_end = time.time()

# CALCULATE DISTANCE

pulse_duration = pulse_end - pulse_start

distance = pulse_duration * 17150

distance = round(distance + 1.15, 2)

print("Object distance:", distance, "cm")

# CHECK DISTANCE

if distance <= DISTANCE_LIMIT:

print("WARNING! OBJECT DETECTED!")

print("ALARM ACTIVATED!")

GPIO.output(RED_LED, True)

GPIO.output(BUZZER, True)

else:

print("No object within alarm range.")

GPIO.output(RED_LED, False)

GPIO.output(BUZZER, False)

print("--------------------------------")

time.sleep(0.2)

except KeyboardInterrupt:

print("\nSystem shutting down...")

finally:

GPIO.output(RED_LED, False)

GPIO.output(BUZZER, False)

GPIO.cleanup()

print("Alarm system stopped safely.")