Report: RTL8196E SoC Support on OpenWrt The Realtek RTL8196E is a widely used System-on-Chip (SoC) found in budget wireless routers and repeaters, such as the Totolink N300RT. While it is a common hardware platform, its support in the OpenWrt ecosystem is complex and primarily driven by community-led projects rather than official mainline support. 1. Hardware Overview Architecture: Features a Lexra core (RLX5281 CPU).
The RTL8196E family integrates a 400MHz processor with a five-port Fast Ethernet switch, USB 2.0 controller, and support for SDR and DDR memory. Its primary use case is for low-power, entry-level wireless routers and repeaters. Architecture: Lexra-based RISC. Speed: 400MHz. rtl8196e openwrt
r8169 driver used for PCIe NICs does not apply to the embedded switch on RTL8196E.Why Pair RTL8196E with OpenWRT?
For $25 (e.g., Xiaomi Mi Router 4A, GL.iNet MT300N), you get full OpenWrt support, 16MB flash, 128MB RAM, and 5GHz Wi-Fi. The time you spend hacking an RTL8196E is worth more than $15. Report: RTL8196E SoC Support on OpenWrt The Realtek
| Issue | Workaround |
|-------|-------------|
| Crash under load (low RAM) | Use zram, remove dnsmasq → odhcpd + dnsmasq-light |
| No hardware NAT | CPU handles all, max ~30 Mbps routing |
| Switch VLANs break | Use swconfig with rtl8366_smi, check GPIO mapping |
| WiFi instability (RTL8192CE) | Reduce tx power (iw reg set BO + iwconfig wlan0 txpower 10) |
| USB 1.1 only on some SoCs | Use dwc2 with dma_mask=0xffffffff | Use an SPI flash programmer (e
Historical Ports: Older repositories, such as vido89/Open-Wrt-RTK and Alexey-Tsarev/openwrt-rtl819x, provide experimental builds based on older kernel versions (e.g., 2.6.x or 3.x) for specific devices like the TOTOLINK N601RT.