Skip to content

Linux homelab (dpl)

Host dpl is a homelab box: never-sleep, auto-login, coding-agent handoff, extra disks.

DiskSizeUse
Samsung 860 EVO (/)1 TBOS, $HOME configs, dotfiles
Samsung 970 EVO Plus NVMe2 TBhot /media/ubuntu/work (~/work): git/<org>, docker/data
WD Volume A16 TB~/archive datasets/media
WD Volume B16 TB~/backup snapshots of the lab

Git is ~/work/git/{cnb,crashchat,ab-spectrum,bhcoe,dpl,nlb,personal}. Worktrees sit next to the clone (.worktrees/). Docker images/volumes/json-logs: ~/work/docker/data after the sudo root script.

Terminal window
make linux-homelab

Mounts disks via udisks, inhibits sleep, starts sshd on :2222, clones last-30-day repos onto the NVMe.

Terminal window
sudo -E ~/.dotfiles/scripts/linux-homelab-root.sh
sudo tailscale up --ssh --hostname=dpl

That installs sshd :22, docker (data-root on NVMe), tailscale, fstab, and masks suspend. Prefer Tailscale SSH over forwarding :22 to 222.253.112.200.

LAN IP: 192.168.1.193 (set as NetworkManager manual). Reserve it on the router.

GDM already auto-logs in ubuntu; linger is on so herdr-server and moshi-hook come back after reboot.

User-space, no sudo:

WhatWhereHow
SSH:2222 pubkeyssh -p 2222 ubuntu@192.168.1.193
ScreenGNOME RDP :3389Microsoft Remote Desktop on the LAN, or 127.0.0.1:13389 via SSH forward
Chrome CDP127.0.0.1:9222 onlyssh dpl then agent-browser connect 9222 on the Mac
Off-LANTailscale userspacedpl-remote up (login URL), install Tailscale on Mac/phone

Do not port-forward 3389 or 9222. IPv4 WAN is NAT; IPv6 may already reach :2222 if the ISP leaves inbound open. Details: ~/.config/homelab/REMOTE.md and dpl-remote status.