Troubleshooting¶
This section helps you diagnose and resolve common issues with your mesh network.
Section Contents¶
| Document | Description |
|---|---|
| Common Issues | Solutions to frequently encountered problems |
| Debugging Guide | Advanced debugging techniques and tools |
Quick Diagnostic Commands¶
Run these commands to quickly assess network health:
# Check all nodes are reachable
make check-all
# View mesh status on a single node
ssh root@10.11.12.1 "batctl o && batctl gwl"
# Check for errors in logs
ssh root@10.11.12.1 "logread | grep -i error | tail -20"
Troubleshooting Flowchart¶
Problem Detected
│
▼
Can you SSH to nodes?
│
┌───┴───┐
No Yes
│ │
▼ ▼
Check Is mesh formed?
physical │
connectivity ├───┬───┐
No Yes
│ │
▼ ▼
Check Is traffic
batman flowing?
interfaces │
┌───┴───┐
No Yes
│ │
▼ ▼
Check Is WiFi
firewall working?
Common Symptoms and Solutions¶
| Symptom | Likely Cause | Quick Fix |
|---|---|---|
| Node unreachable | Network/power issue | Check cables, reboot |
| Slow mesh | Interference, congestion | Check channel, bandwidth |
| No WiFi clients | AP not started | wifi reload |
| DHCP not working | dnsmasq issue | service dnsmasq restart |
| High latency | Bad mesh path | Check batctl o TQ values |
| Intermittent drops | Wireless interference | Change mesh channel |
Emergency Recovery¶
If you've lost access to all nodes:
Option 1: Console Access (Recommended)¶
- Connect USB-TTL adapter to router serial port
- Open terminal at 115200 baud
- Boot router and interrupt U-Boot
- Flash known-good firmware
Option 2: Failsafe Mode¶
- Power cycle router
- Press reset button when LEDs blink
- Router starts in failsafe mode (192.168.1.1)
- Connect directly and run
firstboot
Option 3: Physical Reset¶
- Hold reset button for 10+ seconds
- Router restores factory firmware
- Reconfigure from scratch
See Common Issues for detailed procedures.
Getting Help¶
If you can't resolve an issue:
- Check documentation: Search this site for your error message
- Review logs:
logreadoften reveals the root cause - Open an issue: GitHub Issues
- Provide details:
- OpenWrt version (
cat /etc/openwrt_release) - Error messages
- Steps to reproduce
- Output of
batctl oandbatctl n
Related Documentation¶
- Operations - Normal operational procedures
- Reference - Command reference
- Architecture - Understanding the design