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:
Протестированные устройства
- OpenWrt One
- Raspberry Pi 3/4/5
Совместимость с оборудованием
- >2MB free flash storage.
- An unused USB port, or SPI interface.
Meshtastic OpenWrt packages are built for every CPU architecture supported by OpenWrt.
Поддерживаемые версии OpenWrt
SNAPSHOT(main)24.10(стабильная)
Установка
Установка Meshtasticd на OpenWrt
OpenWrt 24.10 (стабильная)
Connect to the router via SSH (ex: ssh root@192.168.1.1)
-
Add the Meshtastic OpenWrt repository
-
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)
-
Add the Meshtastic OpenWrt repository
-
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
Постоянное хранение
- The persistent .proto db files of the portduino version of meshtasticd are stored under:
/srv/meshtasticd/.portduino/default/prefs/.
Использование 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