index

:::caution Предупреждение Please submit any issues at meshtastic/openwrt, rather than the primary firmware project. :::

This page outlines the setup of Meshtastic on OpenWrt routers, utilizing the openwrt-repo.

Предварительные требования и совместимость с оборудованием

Before proceeding with the setup, ensure the device meets the following requirements:

Протестированные устройства

Совместимость с оборудованием

Meshtastic OpenWrt packages are built for every CPU architecture supported by OpenWrt.

Поддерживаемые версии OpenWrt

Установка

Установка Meshtasticd на OpenWrt

OpenWrt 24.10 (стабильная)

Connect to the router via SSH (ex: ssh root@192.168.1.1)

  1. Add the Meshtastic OpenWrt repository

  2. Install meshtasticd

opkg install meshtasticd
# Optional: install meshtasticd web interface
opkg install meshtasticd-web

meshtasticd can also be installed from the LuCI web interface, after the repo has been added.

OpenWrt SNAPSHOT

Ensure your router is running the latest SNAPSHOT version of OpenWrt, or install it from https://firmware-selector.openwrt.org/

Connect to the router via SSH (ex: ssh root@192.168.1.1)

  1. Add the Meshtastic OpenWrt repository

  2. Install meshtasticd

apk add meshtasticd
# Optional: install meshtasticd web interface
apk add meshtasticd-web

meshtasticd can also be installed from the LuCI web interface, after the repo has been added.

Конфигурация

Конфигурация Meshtasticd

See Linux Native meshtasticd configuration

Постоянное хранение

Использование meshtasticd

Запуск/Остановка

Upon installing meshtasticd on your router, an init script is automatically created, and set to auto-start upon reboot.

The following commands can be used to control the meshtastic service:

/etc/init.d/meshtasticd status
/etc/init.d/meshtasticd start
/etc/init.d/meshtasticd stop
/etc/init.d/meshtasticd restart

Просмотр логов

meshtasticd logs are sent to OpenWrt syslog.

logread