Skip to content
Skills Library
DevOps & cloud · Automation

dc-qalink-pi-setup

/dc-qalink-pi-setup

Set up a DreamPi / Raspberry Pi (or any Linux box with pppd) as the dc-qalink relay from a PC on the same network - find it, key-based ssh, checks, install and start the relay service, verify. Use when asked to set up, install, find or fix the Pi / relay side of the Dreamcast QA link.

Repository
dc-qalink ↗
Licence
MIT
Last repository change
28.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Set up a DreamPi / Raspberry Pi (or any Linux box with pppd) as the dc-qalink relay from a PC on the same network - find it, key-based ssh, checks, install and start the relay service, verify. Use when asked to set up, install, find or fix the Pi / relay side of the Dreamcast QA link.

Original author description

Set up a DreamPi / Raspberry Pi (or any Linux box with pppd) as the dc-qalink relay from a PC on the same network - find it, key-based ssh, checks, install and start the relay service, verify. Use when asked to set up, install, find or fix the Pi / relay side of the Dreamcast QA link.

How it works

  1. Wi-Fi
  2. Troubleshooting
Original SKILL.md headings · 30 lines, 310 words
SKILL.md preview
---
name: dc-qalink-pi-setup
description: Set up a DreamPi / Raspberry Pi (or any Linux box with pppd) as the dc-qalink relay from a PC on the same network - find it, key-based ssh, checks, install and start the relay service, verify. Use when asked to set up, install, find or fix the Pi / relay side of the Dreamcast QA link.
---

# Set up the dc-qalink relay on a Pi

Tool: `relay/pi_setup.py` (PC side; Python standard library + system ssh). Idempotent; `--dry-run` first.

1. **Preview:** `python relay/pi_setup.py --dry-run` and show the human the plan.
2. **Find the Pi:** run `python relay/pi_setup.py` (tries `dreampi.local` / `raspberrypi.local`, the ARP table for
   Raspberry Pi MAC prefixes, then a /24 scan for ssh). It lists candidates; **ask the human which one** unless they
   gave `--host`. Never guess between two candidates.
3. **Key:** it creates `~/.ssh/dc_qalink_ed25519` and installs it. The human types the Pi's password once, at ssh's
   own prompt. Never ask for the password in chat, store it, or put it on a command line.
   It writes `Host dreampi` (or `--alias`) to `~/.ssh/config`.
4. **Checks + install:** it prints OS, pppd, the dreampi service, the modem device, then copies the relay and runs
   `sudo install.sh` (systemd unit `dc-qalink-relay`, UDP 52040 open; the control port stays on 127.0.0.1).
   Report anything MISSING to the human (no pppd = no PPP peer; no modem = check the USB modem).
5. **Verify:** `ssh dreampi python3 ~/dc-qalink/dc_qalink_relay.py ctl '!STATUS'` shows the relay. After the
   Dreamcast dials: `python pc/dc_qalink.py --ssh dreampi send PING` answers PONG.

## Wi-Fi

`--wifi-report` only reports. Changing the Pi's network needs the human's explicit OK, because a wrong network
strands a headless Pi. If they approve a change: pass the passphrase via a file or stdin, never on a shell command
line (quoting breaks it); some routers reject the Pi under WPA3/SAE (`ASSOC-REJECT ... status_code=16`), use WPA2
for it; add the new network with `disabled=1` first and keep the working one until the new one is proven.

## Troubleshooting

- `ERR no console yet`: the Dreamcast has not reached UP, or it is configured with a fixed host that isn't the Pi.
- Relay up but no rows: `journalctl -u dc-qalink-relay`, and `tail ~/dc-qalink/relay.log` on the Pi.

Versions

The database has no other skills named dc-qalink-pi-setup.

Database snapshot: 13.11.2026 · package version a1b90fe182a1 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100dc-qalink-capture
    Measure a KallistiOS Dreamcast program on real hardware through the dc-qalink relay - dial, labelled capture start/stop, session scripts, reading the summaries, and A/B comparisons at the same spot via GOTO presets. Use when asked to capture, benchmark, compare builds or collect…
  • 100setup
    First-time setup of PiHub on this machine: scan the Raspberry Pi, write one plain-language card per service, check them, and (only with the owner's consent) set up the web page as a service. Use when the user wants to install, set up or start PiHub, or asks for a self-explaining…
  • 100dc-qalink-integrate
    Add the dc-qalink modem QA/telemetry link to an existing KallistiOS (KOS) Dreamcast game - Makefile, dial, per-frame poll, telemetry rows, a command handler with PING and a GOTO teleporter, an on-screen link status line - then verify it in Flycast's emulated modem. Use when…
  • 100grippybot-setup
    Install, configure, explain or troubleshoot the Grippy Bot Control browser panel on Raspberry Pi 4, including SSH, pigpio, systemd and per-servo calibration. Use for this controller, not unrelated robot controllers.
  • 98pi-health-check
    Read-only health check of a Raspberry Pi or other Debian-based Linux box reachable over SSH (OS support status, updates, SD card and disk health, security, services, Pi-hole/unbound/cloudflared DNS setup), ending in a prioritized fix list. Use when the user asks to check, review…
  • 100setup
    Use when the user wants to set up, build or start a homeserver from any starting point (bare hardware with no OS, a fresh Linux install, or an existing server to onboard), turn a mini PC, laptop, Raspberry Pi or old desktop into a server, or when no hsops server profile exists yet.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.