Raspberry Pi 5 (Gateway)
The Raspberry Pi 5 serves as the main gateway of the mesh network.
Specifications
| Component | Details |
|---|---|
| Model | Raspberry Pi 5 8GB |
| Storage | 64GB microSD |
| OS | Raspberry Pi OS Lite (64-bit) |
| IP | 192.168.68.127 |
Functions
- LoRa Gateway - Connects LoRa module to IP network
- MQTT Broker - Runs Mosquitto for internal messaging
- Meshtastic Daemon - Manages LoRa communication
Connected Hardware
- Heltec ESP32 LoRa V3 via USB
- Power: Official 27W USB-C power supply
Installed Services
Meshtastic
# Check status
sudo systemctl status meshtastic
# View logs
journalctl -u meshtastic -f
# Restart
sudo systemctl restart meshtastic
Mosquitto (MQTT)
# Check status
sudo systemctl status mosquitto
# Test connection
mosquitto_sub -h localhost -t "test"
Access
SSH
ssh pi@192.168.68.127
Web Interface
http://192.168.68.127
Useful Commands
View connected nodes
meshtastic --nodes
View node info
meshtastic --info
Send test message
meshtastic --sendtext "Test message"
Listen to messages
meshtastic --listen
Maintenance
Check disk space
df -h
Check memory
free -h
Check temperature
vcgencmd measure_temp
Update system
sudo apt update && sudo apt upgrade -y