---
title: "Manuelle Installation per Tarball | Wantastic Docs"
description: "Installiere wantasticd von Hand aus dem Release-Archiv auf jeder Linux-CPU (einschließlich ppc64, s390x und loong64), ordne es mit genkey zu und füge deinen eigenen Dienst hinzu."
url: "https://wantastic.app/de/docs/install-manual"
category: "Install wantasticd"
reading_time: "5 Min."
---

# Manuelle Installation per Tarball

Installiere wantasticd von Hand aus dem Release-Archiv auf jeder Linux-CPU (einschließlich ppc64, s390x und loong64), ordne es mit genkey zu und füge deinen eigenen Dienst hinzu.

> **Outcome:** wantasticd ist aus dem gewählten Archiv installiert, zugeordnet und wird von einem Dienst am Laufen gehalten, den du selbst steuerst.

## Before you start

- Root auf einem Linux-Rechner mit /dev/net/tun.
- curl oder wget oder eine andere Möglichkeit, eine Datei auf den Rechner zu kopieren.
- Ein Smartphone oder ein Browser, um dich in der Wantastic-Konsole anzumelden.

## Schnellinstallation (5 Minuten)

Nutze das für CPUs, die der Installer nicht erkennt, Offline-Rechner, schreibgeschützte Systeme oder eigene Tools. Ersetze <arch> durch deinen Archivnamen aus der Release-Matrix (amd64, arm64, arm, 386, mips, mipsle, mips64, mips64le, riscv64, ppc64le, ppc64, s390x, loong64).

1. Lade das Archiv herunter und installiere die Binärdatei mit dem ersten Block. ./wantasticd version muss eine Version ausgeben.
2. Führe sudo wantasticd genkey aus. Scanne den QR-Code oder öffne die Claim URL, melde dich an und klicke auf Claim Device.
3. Sobald das Terminal "Device claimed" ausgibt, drücke Strg+C.
4. Erstelle den Dienst mit dem zweiten Block (systemd). Für andere Init-Systeme siehe den nächsten Abschnitt.
5. Öffne Devices in der Konsole. Das Gerät wird als Online angezeigt.

Herunterladen, installieren und zuordnen:

```bash
TAG=$(curl -fsSL https://get.wantastic.app/latest | cut -d+ -f1)
curl -fsSLO https://get.wantastic.app/$TAG/wantasticd-linux-<arch>.tar.gz
tar -xzf wantasticd-linux-<arch>.tar.gz && ./wantasticd version
sudo install -m 755 wantasticd /usr/local/bin/wantasticd
sudo wantasticd genkey
```

Nach "Device claimed": Strg+C drücken, dann den systemd-Dienst erstellen:

```bash
sudo tee /etc/systemd/system/wantasticd.service >/dev/null <<'EOF'
[Unit]
Description=Wantastic Overlay Networking Daemon
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
ExecStart=/usr/local/bin/wantasticd connect --config "/etc/wantastic/config.conf"
Restart=on-failure
RestartSec=5
KillMode=process

[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload && sudo systemctl enable --now wantasticd
```

*Installieren und zuordnen: genkey gibt eine Claim URL und einen QR-Code aus und wartet dann. Nachdem du in der Konsole auf Claim Device geklickt hast, gibt es "Device claimed" aus. Drücke dann Strg+C und starte den Dienst neu.*

```
$ $ sudo wantasticd genkey
…
…
Generated device claim key: /etc/wantastic/device-claim-key.json
Public key: Vd3hK1oQ7mR2sT9uW4xY6zA8bC0dE2fG4hJ6kL8mN0P=
Server URL: https://console.wantastic.app
Claim URL: https://console.wantastic.app/#desktop?claim_public_key=Vd3hK1oQ…%3D&wantastic_server=https%3A%2F%2Fconsole.wantastic.app

█▀▀▀▀▀█ ▄▀▄ ▀█▄ █▀▀▀▀▀█
█ ███ █ ▀█▄▀▄█ █ ███ █
█ ▀▀▀ █ ▄▀█ ▀▄ █ ▀▀▀ █
▀▀▀▀▀▀▀ ▀ ▀ █ ▀ ▀▀▀▀▀▀▀
▀█▄▀▄▀▀█▀▄█▀▄▀▀▄█▀▄▀█▄
█▀▀▀▀▀█ █▄▀▄▀█ ▀▄█ ▄▀
▀▀▀▀▀▀▀ ▀▀ ▀▀▀ ▀▀▀ ▀▀▀

2026/10/29 09:14:03 Waiting for claim. Press Ctrl+C to stop.
2026/10/29 09:15:12 Device claimed. Configuration saved to /etc/wantastic/config.conf
^C
$ $ sudo systemctl daemon-reload && sudo systemctl enable --now wantasticd
```

*Console: Claim Wantastic Device. Die Claim URL und der QR-Code füllen den Key für dich aus. Du klickst nur auf Claim Device.*

1. Claim public key ist bereits ausgefüllt
2. Wantastic server unverändert lassen
3. Auf Claim Device klicken

> **Tip:** Kein Internet auf dem Rechner? Lade das Archiv auf einem anderen Computer herunter und kopiere es mit scp. genkey braucht trotzdem Internet, um die Zuordnung abzuschließen.

## Andere Init-Systeme

Jeder Dienst führt denselben Befehl aus: wantasticd connect --config /etc/wantastic/config.conf.

### OpenRC

/etc/init.d/wantasticd:

```sh
#!/sbin/openrc-run
description="Wantastic Overlay Networking Daemon"
command="/usr/local/bin/wantasticd"
command_args="connect --config /etc/wantastic/config.conf"
command_background=true
pidfile=/run/wantasticd.pid
depend() { need net; }
```

> Dann: chmod +x /etc/init.d/wantasticd && rc-update add wantasticd default && rc-service wantasticd start

### procd (OpenWrt)

/etc/init.d/wantasticd:

```sh
#!/bin/sh /etc/rc.common
START=99
STOP=10
USE_PROCD=1
start_service() {
  procd_open_instance
  procd_set_param command /usr/local/bin/wantasticd connect --config /etc/wantastic/config.conf
  procd_set_param respawn 3600 5 0
  procd_set_param term_timeout 15
  procd_set_param file /etc/wantastic/config.conf
  procd_set_param stdout 1
  procd_set_param stderr 1
  procd_close_instance
}
```

> Dann: chmod +x /etc/init.d/wantasticd && /etc/init.d/wantasticd enable && /etc/init.d/wantasticd start

### SysV

/etc/init.d/wantasticd:

```sh
#!/bin/sh
### BEGIN INIT INFO
# Provides: wantasticd
# Required-Start: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
### END INIT INFO
PIDFILE=/var/run/wantasticd.pid
case "$1" in
  start) start-stop-daemon --start --background --make-pidfile --pidfile $PIDFILE --exec /usr/local/bin/wantasticd -- connect --config /etc/wantastic/config.conf ;;
  stop)  start-stop-daemon --stop --pidfile $PIDFILE; rm -f $PIDFILE ;;
  restart) $0 stop; sleep 1; $0 start ;;
  *) echo "Usage: $0 {start|stop|restart}"; exit 1 ;;
esac
```

> Dann: chmod +x und registrieren mit update-rc.d wantasticd defaults (Debian) oder chkconfig --add wantasticd (RHEL).

> **Warning:** Das Auto-Update startet den Agent über systemd, launchd, procd, OpenRC oder /etc/init.d/wantasticd restart neu. Wenn du etwas anderes verwendest (supervisord, runit, s6, eine eigene Schleife), füge dem Befehl --no-auto-update hinzu und aktualisiere von Hand.

## Funktion prüfen

1. Führe wantasticd status aus. Es zeigt Status: Connected und eine VPN IP an.
2. Öffne Devices in der Konsole. Das Gerät wird als Online angezeigt.

Prüfen:

```bash
wantasticd status
```

*wantasticd status: Status: Connected und eine VPN IP bedeuten, dass der Tunnel steht.*

```
$ $ wantasticd status
Status:        Connected
Version:       v1.0.54+377f3c0
Mode:          TUN (wantastic0)
VPN IPs:       10.200.0.14/32
Public key:    q7ZkV3m1yH0dTn8pXo2bLwR4sE6uJ9cA1fG5hK8iN0M=
Server:        wg.wantastic.app:51820
Exit node:     false
Local access:  false
Auto update:   true
Traffic:       ↓ 18.4 KiB  ↑ 9.2 KiB
Peers:         2 (direct 1, relay 1)
Uptime:        4m12s
```

*Console: Fenster Devices: Das neue Gerät erscheint unter seinem Namen und wird innerhalb weniger Sekunden Online.*

1. Nach Name suchen
2. Status zeigt Online
3. Overlay-IP stimmt mit wantasticd status überein
4. Last seen wird laufend aktualisiert

## Weitere Installationswege

Das brauchst du nur für Automatisierung oder Sonderfälle. Die Schnellinstallation oben ist der einfachste Weg.

### Mit Token

Melde dich statt mit genkey mit einem Token aus Account → Secrets an. --no-connect speichert die Konfiguration und beendet sich.

Token-Anmeldung:

```bash
sudo wantasticd login --no-connect --token <TOKEN>
# self-hosted portal:
# sudo wantasticd login --no-connect --portal-url https://wantastic.example.com --token <TOKEN>
```

> Behandle das Token wie ein Passwort. Jeder, der es hat, kann bis zu dessen Ablauf Geräte zu deinem Konto hinzufügen.

*Console: Account → Secrets → + New Secret. Der Wert des Secrets ist das Token.*

1. Tab Secrets öffnen
2. Auf + New Secret klicken
3. Namen vergeben
4. Auf Generate klicken
5. Neues Secret kopieren

## Verify the result

- wantasticd version gibt die erwartete Version aus.
- /etc/wantastic/config.conf existiert und ist nicht leer.
- Dein Dienst startet beim Booten und wantasticd status zeigt Connected.
- Das Gerät wird unter Devices als Online angezeigt.

## Common issues

### Die Binärdatei startet nicht.

```
cannot execute binary file: Exec format error
```

- **Where:** Shell
- **Likely cause:** Das Archiv passt nicht zur CPU.
- **Fix:** Prüfe uname -m und lade das passende Archiv aus der Release-Matrix herunter.

CPU prüfen:

```bash
uname -m
```

### Der Download liefert 404.

```
curl: (22) The requested URL returned error: 404
```

- **Where:** curl
- **Likely cause:** Der Archivname enthält einen Tippfehler, oder TAG enthält noch den +sha-Teil.
- **Fix:** Kopiere den Archivnamen genau aus der Release-Matrix und verwende cut -d+ -f1 wie gezeigt.

### Der Dienst findet keine Konfiguration.

```
Config not found at /etc/wantastic/config.conf. Run `wantasticd genkey --out <key>` to create a claim key and wait for claim, or pass --wait-claim with an existing key.
```

- **Where:** wantasticd connect
- **Likely cause:** genkey lief ohne sudo, daher landete die Konfiguration in ~/.config/wantastic.
- **Fix:** Führe genkey mit sudo aus und ordne das Gerät erneut zu.

Als root zuordnen:

```bash
sudo wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
sudo systemctl restart wantasticd
```

### genkey oder login kann die Konfiguration nicht speichern.

```
Failed to prepare config path: parent /etc/wantastic is not a directory
```

- **Where:** wantasticd genkey / login
- **Likely cause:** Es existiert eine alte flache Datei /etc/wantastic. Ältere Versionen haben sie als Konfiguration verwendet.
- **Fix:** Verschiebe die alte Datei beiseite und ordne dann erneut zu.

Lösung:

```bash
sudo mv /etc/wantastic /etc/wantastic.old
sudo wantasticd genkey
```

### Du hast auf Claim Device geklickt, aber das Terminal gibt nie "Device claimed" aus.

```
Claim polling not ready: claim config rejected (401): invalid signature or timestamp out of window
```

- **Where:** wantasticd genkey
- **Likely cause:** Die Uhr des Geräts geht falsch. Die Zuordnung funktioniert nur, wenn die Uhr höchstens 30 Sekunden von der echten Zeit abweicht.
- **Fix:** Korrigiere die Uhrzeit. genkey wartet weiter und schließt von selbst ab.

Netzwerkzeit aktivieren:

```bash
sudo timedatectl set-ntp true
date
```

### Der Dienst startet und stoppt sofort wieder.

```
Failed to start agent: create device: create tun: CreateTUN("wantastic0") failed; /dev/net/tun does not exist
```

- **Where:** Dienst-Log
- **Likely cause:** Der TUN-Treiber des Kernels ist nicht geladen.
- **Fix:** Lade den TUN-Treiber und starte dann den Dienst neu.

TUN laden:

```bash
sudo modprobe tun
sudo systemctl restart wantasticd
```

- **Verify:** ls -l /dev/net/tun zeigt das Gerät an.

### Ein zweites Interface (wantastic1) erscheint, oder das Log zeigt einen Portkonflikt.

```
Port 51820 in use, using random port
```

- **Where:** Dienst-Log
- **Likely cause:** genkey läuft noch im Terminal, während der Dienst ebenfalls läuft. Jetzt konkurrieren zwei Instanzen.
- **Fix:** Drücke im genkey-Terminal Strg+C und starte dann den Dienst neu.

Neu starten:

```bash
sudo systemctl restart wantasticd
```

### status meldet Running (tunnel down), oder peers zeigt HANDSHAKE never für (server).

```
Device health check failed: …
```

- **Where:** Dienst-Log
- **Likely cause:** Das Netzwerk blockiert ausgehenden UDP-Port 51820 zum Hub (wg.wantastic.app), oder DNS funktioniert nicht.
- **Fix:** Erlaube ausgehendes UDP 51820 in deiner Firewall und starte dann den Dienst neu.

DNS testen und neu starten:

```bash
nslookup wg.wantastic.app
sudo systemctl restart wantasticd
```

- **Verify:** wantasticd peers zeigt für (server) einen aktuellen Handshake (zum Beispiel "8s ago").

## Continue with

- [Choose your install method](https://wantastic.app/de/docs/install-overview): Find your device in one table and copy one command. Most devices install in 2 minutes: install, scan a QR code, click Claim Device.
- [Run in Docker (community pattern)](https://wantastic.app/de/docs/install-docker): Run wantasticd in a Docker container built from the official release: build a small image, claim it once with genkey, then run it detached. Not an official image.
- [Install on MIPS routers](https://wantastic.app/de/docs/install-mips-routers): Install wantasticd on MIPS routers and boards: one command tells you the CPU type, then copy the matching install block and claim the router with a QR code.
- [wantasticd CLI reference and operations](https://wantastic.app/de/docs/wantasticd): The most used wantasticd commands first, then every command and flag, environment variables, config and state paths per OS, log lines, local access, exit node, and the claim flow (genkey / --wait-claim).
- [Update, roll back and uninstall](https://wantastic.app/de/docs/update-and-uninstall): Update or uninstall wantasticd with one line per OS. Also: how auto-update works, turning it off, rolling back to the previous binary, and purging all data.
- [Installer errors (install.sh and install.ps1)](https://wantastic.app/de/docs/errors-installer): Every message the Wantastic installers print when they stop, what it means and the easiest fix.
