Real-world debugging stories and how-tos from cellular CPE firmware development. OpenWrt / Yocto / cellular modems (Quectel, Telit Cinterion, Sierra Wireless, u-blox, …) / TR-069 / production test tooling.
A GUI Instead of the route Command: DHRouteView, a Windows Routing Table Tool
When an on-site worker plugs a router into a PC, the routing table changes and remote support drops. A small Windows tool written in Rust that lets people check and fix the routing table on screen without knowing any commands.
Dhonomos: An Open-Source TR-069 ACS and USP Controller in One Rust Binary
I have released Dhonomos, a TR-069 (CWMP) ACS and a TR-369 (USP) Controller in one Rust program, under Apache-2.0. Why it exists, what it does today, and what it does not do yet.
From Linux 3.2 to OpenWrt 25.12: Porting the MA-2080X Cellular Router
About seven weeks moving the MA-2080X industrial cellular router off its vendor Linux 3.2 firmware and onto OpenWrt 25.12.5: one irreversible change at a time, feature parity with the vendor firmware, the bugs that failed silently, and why the result will not ship.
Chasing 320MHz Into the Kernel
The AP, the regulatory rules and the adapter all said 320MHz, and the negotiation still stopped at 160. The kernel message blamed regulatory; every tool I had said there was no restriction on the channel. Neither was true. The culprit was a country restriction table living in the firmware, and the flag it led to never showed up in my user-space tools.
What Dropping LuCI Bought Us
On an MT7628 router (580 MHz MIPS, 8 MB flash), the LuCI dispatcher was charging 430 ms per page navigation. We removed LuCI from the image entirely and rewrote the runtime on nothing but static files and /ubus JSON-RPC. Login went from 459 ms to 48 ms, and all 57 existing views run unmodified.
Epilogue: Hardware Is the Truth
The port ended with the 3.0.0 release. Looking back, the most expensive thing was never a hard bug. It was wrong records like “freed about 147 MB” and “verified”. The four beliefs this series disproved, and the habits that replaced them.
Rebuilding the Web UI on LuCI
We rebuilt the LTE572W’s web UI on top of LuCI. The screens themselves are the short part of the story. The real content is a secret value with all three delivery paths blocked, custom UI that vanished on every save, and a counter bug that inflated data usage by exactly 2^32 bytes (4 GiB) per reboot.
The Config File Nobody Read
Saving OSPF settings in the web UI succeeded without a single error, and the routing daemons never heard about any of it, because the file the pages wrote to was never read by anyone. This is the story of rebuilding that pipeline on UCI, and of a detached restart that inherited fd 1000 and froze every start/reload forever.
The Real Reason RS-232 Was Dead
The industrial serial port produced no RS-232 signal, and the internal docs blamed a dead charge pump in the transceiver. Then we read the three mode GPIOs from the known-good Yocto firmware: 0/0/1. Ours were driving 1/0/0. The chip was fine.
When the Modem Says 'Connected'
The modem reported connected, and wwan0 had an IP address and a default route. Not a single packet went out. Two silent failure modes of an LTE modem on a 400 MHz single-core board, both with perfectly green status indicators, both only detectable by pushing real traffic.