---
title: "Fehler bei OpenWrt und Embedded-Geräten | Wantastic Docs"
description: "kmod-tun, schreibgeschützter Flash, procd, voller Flash, falsche Uhrzeit und BusyBox-Probleme auf Routern und Modulen."
url: "https://wantastic.app/de/docs/errors-openwrt-embedded"
category: "Troubleshooting"
reading_time: "5 Min."
---

# Fehler bei OpenWrt und Embedded-Geräten

kmod-tun, schreibgeschützter Flash, procd, voller Flash, falsche Uhrzeit und BusyBox-Probleme auf Routern und Modulen.

> **Outcome:** wantasticd läuft als Dienst, übersteht einen Neustart und das Gerät ist „Online“.

## Before you start

- Eine Root-Shell (SSH) auf dem Gerät.
- Internetzugang vom Gerät aus.

## Bevor du beginnst

Die meisten Probleme sind ein fehlendes TUN-Modul, voller Flash, fehlende HTTPS-Unterstützung oder eine Uhr auf 1970. Diese Abfolge behebt die häufigen Fälle.

- Logs: logread -e wantasticd | tail -n 50.
- Alpine: Neustart mit rc-service wantasticd restart. BusyBox: Führe killall wantasticd aus, und inittab startet es erneut.
- Quectel RM520N-GL speichert die Konfiguration in /usrdata/wantastic/etc/config.conf.

OpenWrt (root):

```bash
ntpd -q -p pool.ntp.org
opkg update && opkg install kmod-tun
wget -qO- https://get.wantastic.app/install.sh | sh; wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
/etc/init.d/wantasticd restart
```

## Was zu prüfen ist

1. TUN: ls -l /dev/net/tun.
2. Speicher: df -h /overlay (etwa 6 MB nötig).
3. Uhrzeit: date -u.
4. Logs: logread -e wantasticd | tail -n 50.

*Fehlerhaft: kein kmod-tun, dann behoben: Installiere kmod-tun und starte den Dienst neu.*

```
$ root@OpenWrt:~# logread -e wantasticd | tail -n 1
daemon.err wantasticd[2210]: Failed to start agent: create device: create tun: CreateTUN("wantastic0") failed; /dev/net/tun does not exist
$ root@OpenWrt:~# opkg update && opkg install kmod-tun
$ root@OpenWrt:~# /etc/init.d/wantasticd restart
$ root@OpenWrt:~# wantasticd status
Status      Connected
```

## Kurzübersicht

| Fehler oder Symptom | Einfachste Lösung |
| --- | --- |
| /dev/net/tun does not exist | opkg install kmod-tun. |
| could not remount … read-write | Als root ausführen; die Firmware ist möglicherweise gesperrt. |
| still not writable after remounting | Flash-Speicher freigeben. |
| procd service did not become healthy | kmod-tun, dann mit genkey zuordnen. |
| wget failed / HTTP … downloading | wget-ssl und ca-bundle installieren; Uhrzeit korrigieren. |
| Uhr auf 1970 | NTP aktivieren. |

## Verify the result

- wantasticd status zeigt Connected.
- Das Gerät ist nach einem Neustart „Online“.

## Common issues

### TUN-Gerät fehlt.

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

- **Where:** logread (OpenWrt)
- **Likely cause:** kmod-tun ist nicht installiert.
- **Fix:** Installiere kmod-tun und starte den Dienst neu.

Shell (root):

```bash
opkg update && opkg install kmod-tun
/etc/init.d/wantasticd restart
```

- **Verify:** „Created TUN interface: wantastic0“ in logread.

### Flash ist während der Installation schreibgeschützt.

```
Error: could not remount <mount> read-write. Run as root or unlock the filesystem.
```

- **Where:** install.sh
- **Likely cause:** Die Firmware ist schreibgeschützt oder gesperrt, oder du bist nicht root.
- **Fix:** Melde dich als root an und führe den Installer erneut aus. Installiere bei gesperrter Firmware die Binärdatei auf eine beschreibbare Partition und setze WANTASTIC_CONFIG_DIR.

Shell (root):

```bash
wget -qO- https://get.wantastic.app/install.sh | sh; wantasticd genkey
```

- **Verify:** Der Installer gibt „Done.“ aus.

### Flash voll.

```
Error: <dir> is still not writable after remounting <mount>
```

- **Where:** install.sh
- **Likely cause:** /overlay hat keinen freien Speicher.
- **Fix:** Entferne ungenutzte Pakete und führe dann den Installer erneut aus.

Shell (root):

```bash
df -h /overlay
opkg list-installed
```

- **Verify:** Der Installer gibt „Done.“ aus.

### procd-Dienst nicht fehlerfrei.

```
Error: procd service did not become healthy
```

- **Where:** install.sh (OpenWrt)
- **Likely cause:** Das Gerät ist noch nicht zugeordnet, oder kmod-tun fehlt.
- **Fix:** Installiere kmod-tun, ordne das Gerät mit genkey zu und starte dann den Dienst neu.

Shell (root):

```bash
opkg update && opkg install kmod-tun
wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
/etc/init.d/wantasticd restart
```

- **Verify:** wantasticd status zeigt Connected.

### HTTPS-Downloads schlagen fehl.

```
wget failed: <url>
```

- **Where:** install.sh / Selbst-Update
- **Likely cause:** wget hat keine HTTPS-Unterstützung, das CA-Bundle fehlt, oder die Uhrzeit ist falsch.
- **Fix:** Installiere HTTPS-Unterstützung und stelle die Uhrzeit ein.

Shell (root):

```bash
opkg update && opkg install wget-ssl ca-bundle
ntpd -q -p pool.ntp.org
```

- **Verify:** wget -qO- https://get.wantastic.app/latest gibt eine Version aus.

### Uhr auf 1970, Zuordnung abgelehnt oder HTTPS-Fehler.

- **Where:** Geräte ohne batteriegepufferte Uhr
- **Likely cause:** Das Gerät hat keine Echtzeituhr und NTP hat noch nicht synchronisiert. Zuordnungen brauchen eine auf 30 Sekunden genaue Uhrzeit.
- **Fix:** Aktiviere NTP beim Booten und ordne dann erneut zu.

Shell (root):

```bash
uci set system.ntp.enabled='1'
uci commit system
/etc/init.d/sysntpd restart
date -u
```

- **Verify:** date -u zeigt die aktuelle Uhrzeit.

### BusyBox-Gerät führt nach einem Update zwei Agents aus.

- **Where:** BusyBox / inittab
- **Likely cause:** Das BusyBox-Startskript ignoriert restart und startet eine zweite Instanz.
- **Fix:** Füge --no-auto-update zum Dienstbefehl hinzu und aktualisiere dann manuell.

Shell (root):

```bash
pgrep -a wantasticd
# edit /etc/init.d/wantasticd: exec <bin> connect --config <cfg> --no-auto-update
kill -HUP 1
```

- **Verify:** Nur ein wantasticd-Prozess.

### Neustart-Schleife unter BusyBox.

- **Where:** BusyBox / inittab
- **Likely cause:** inittab startet den Dienst endlos neu, weil das Gerät noch nicht zugeordnet ist.
- **Fix:** Ordne das Gerät mit genkey zu, drücke Ctrl+C und beende dann den alten Prozess. inittab startet ihn erneut.

Shell (root):

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

- **Verify:** wantasticd status zeigt Connected.

### DNS-Hinweis unter OpenWrt.

```
OpenWrt DNS is managed by the OpenWrt backend
```

- **Where:** logread
- **Likely cause:** Das ist nur informativ. OpenWrt verwaltet DNS selbst.
- **Fix:** Nichts zu tun.

- **Verify:** Namen werden normal aufgelöst.

### Speicher wird in Dashboards in TB angezeigt.

- **Where:** Konsole (ältere Agents)
- **Likely cause:** Ein Einheitenfehler in älteren Versionen.
- **Fix:** Aktualisiere wantasticd.

Shell (root):

```bash
wantasticd update
```

- **Verify:** Werte werden in GB angezeigt.

### Quectel-Modul verliert nach einem Firmware-Update seine Konfiguration.

- **Where:** Quectel RM520N-GL
- **Likely cause:** Die Konfiguration muss auf /usrdata liegen, um erhalten zu bleiben.
- **Fix:** Prüfe, ob /usrdata/wantastic/etc/config.conf existiert. Falls nicht, führe die Schnellinstallation aus und ordne erneut zu.

Shell (root):

```bash
ls -l /usrdata/wantastic/etc/config.conf
```

- **Verify:** Das Gerät ist nach einem Neustart „Online“.

## Continue with

- [Troubleshooting: start here](https://wantastic.app/de/docs/troubleshooting): Fix most problems in 3 steps. If that does not work, find your exact error in the table and open the matching guide.
- [Install on OpenWrt](https://wantastic.app/de/docs/install-openwrt): Install wantasticd on an OpenWrt router in 2 minutes over SSH: add the TUN driver, run one wget command, scan a QR code, click Claim Device.
- [Install on BusyBox / embedded Linux](https://wantastic.app/de/docs/install-embedded-busybox): Install wantasticd on minimal BusyBox devices without systemd, procd or OpenRC: one wget command, scan a QR code, click Claim Device.
- [Install on Quectel RM520N-GL](https://wantastic.app/de/docs/install-quectel-rm520n): Install wantasticd on a Quectel RM520N-GL or other Qualcomm SDX 5G module over ADB in 2 minutes: one command, scan a QR code, click Claim Device.
- [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.
- [Connect and runtime errors](https://wantastic.app/de/docs/errors-connect-runtime): Fix service start failures, config errors, TUN problems, missing handshakes and DNS warnings.
