01 — Connecting to the Z2 Mini¶
How to access the server from your various devices.
Prerequisites¶
Before connecting from any device, you need:
- Tailscale installed and signed in on that device (same Tailscale account as the Z2)
- Tailscale running (toggle "On" in the Tailscale app)
If Tailscale isn't connected, nothing in this doc works. See 03-tailscale.md for Tailscale setup.
SSH from Windows laptop¶
Open PowerShell or Windows Terminal:
That's it. Tailscale handles authentication via your tailnet identity (no password prompt because Tailscale SSH is enabled).
If ssh gabriel@z2mini doesn't resolve, fall back to the Tailscale IP:
You can find the IP in the Tailscale app or admin panel.
File access from Windows¶
The shares are auto-mapped at login as drive letters:
- Z: →
\\z2mini\files(read-write — your main file area) - Y: →
\\z2mini\backup(read-only — backup snapshots)
If they're not mapped or were disconnected:
- Open File Explorer
- Right-click "This PC" → "Map network drive"
- Drive letter: Z (or Y)
- Folder:
\\z2mini\files(or\\z2mini\backup) - ✅ "Reconnect at sign-in"
- ✅ "Connect using different credentials"
- Enter:
- Username:
gabriel - Password: (your Samba password — not your laptop password)
- ✅ "Remember my credentials"
File access from iPhone¶
In the Files app:
- Tap the ••• (three dots) in upper right
- Tap Connect to Server
- Server:
smb://z2mini(or fall back tosmb://<tailscale-ip>if hostname doesn't resolve) - Tap Connect
- Choose Registered User
- Username:
gabriel - Password: your Samba password
- ✅ Remember in Keychain
- Tap Next
For the backup share, repeat with smb://z2mini/backup.
Both shares appear in the Files app sidebar under "Shared." Tap to browse.
Note: the iPhone needs Tailscale running (toggle on in the Tailscale app) for this to work. If it suddenly stops working, check Tailscale first.
File access from macOS¶
In Finder:
- Press Cmd+K (or Go menu → "Connect to Server")
- Server address:
smb://z2mini - Click Connect
- Authenticate as
gabrielwith Samba password - ✅ "Remember this password in my keychain"
To make it auto-mount at login: System Settings → Users & Groups → click your user → Login Items → drag the mounted share into the list.
Troubleshooting connection issues¶
"Cannot connect" / timeout: - Verify Tailscale is connected on both devices - Check that the Z2 is actually online (try pinging from another tailnet device) - Try the Tailscale IP instead of hostname
"Authentication failed":
- Samba uses its own password database (separate from your Linux login). The Samba password may differ from your SSH password.
- To reset the Samba password: SSH in and run sudo smbpasswd gabriel
iPhone "Socket is not connected": - Almost always Tailscale isn't running on the phone. Check the Tailscale app first.
Slow performance: - On home Wi-Fi: should be fast (peer-to-peer over LAN) - On cellular / different network: slower (going over the internet via Tailscale) - See 10-system-reference.md for expected speeds