OpenWrt
OpenIPC provides an OpenWrt package set for running WFB-NG on router hardware. This allows an OpenWrt router to work as a lightweight WFB-NG ground station for OpenIPC FPV systems.
The project lives at OpenIPC/wfb-ng-openwrt.
When to Use It
Use the OpenWrt path when you want the receiver to be a router instead of a phone, SBC, or laptop. A router can be mounted higher or farther away from the pilot, for example on a roof or mast, and connected back to the viewing device over Ethernet, Wi-Fi, RNDIS, or another network path.
A dual-band OpenWrt router with USB is recommended. See the project’s tested devices page before choosing hardware.
Package Options
The OpenWrt package exposes several build options:
wfb-rx: installs thewfb_rxbinary.wfb-tx: installs thewfb_txbinary.wfb-keygen: installs thewfb_keygenbinary.wfb-key: installs the default key used by OpenIPC and Android FPVue, linked to/etc/gs.key.wfb-gs: installs the OpenWrt WFB ground-station scripts and configuration.
The wfb-gs option is the practical ground-station package. It sets the wireless adapter to monitor mode, receives data from the wireless interface, and forwards the stream to the device that decodes and displays video.
Features
The package is designed to be compatible with OpenIPC FPV and supports:
- using the router’s integrated wireless card instead of an external USB Wi-Fi adapter;
- 2.4 GHz and 5 GHz bands on dual-band routers;
- forwarding video and MAVLink over Ethernet, Wi-Fi, RNDIS, or other network paths;
- unicast mode with automatic destination switching between an Android phone over USB tethering and a PC on Ethernet or Wi-Fi;
- multicast mode for sending to Android over RNDIS and an SBC over Ethernet at the same time.
Basic Configuration
OpenWrt settings are managed through UCI. After changing settings, commit the changes and reload the configuration.
Set Channel
uci set wfb-gs.config.channel='36'uci commitreload_configSet Unicast Destination
This example sends the stream to 192.168.1.100 in unicast mode:
uci set wfb-gs.config.ip_pc='192.168.1.100'uci set wfb-gs.config.mode='unicast'uci commitreload_configEdit the Config File
You can also edit the config file directly:
/etc/config/wfb-gsAfter saving the file, run:
reload_configDefaults
Default values from the package documentation:
| Setting | Default |
|---|---|
| Router IP | 192.168.1.1 |
| Config file | /etc/config/wfb-gs |
| Stream destination IP | 192.168.1.2 |
| Channel | 161 |
| Bandwidth | 20MHz |
Hardware Notes
A dual-band router with a supported wireless chipset is preferred. The integrated Wi-Fi card can be used for WFB-NG reception, which keeps the setup compact and avoids an external USB Wi-Fi adapter in some builds.
If you need a more traditional receiver setup, compare this path with:
Planned Work
The upstream project lists these future ideas:
- use multiple routers to receive;
- receive from 2.4 GHz and 5 GHz bands simultaneously.