Series

OpenWrt

11 posts · grouped as a learning path

Series practice · grow through practice

OpenWrt fundamentals test

No need to finish reading. Practice covers the whole tier bank; exams draw random questions.

Configuration: UCI and build config

Start with config files, dependencies and target/device relationships.

  1. OpenWrt UCI: config files, commands, and boundaries
  2. OpenWrt UCI dependencies: runtime vs build time
  3. OpenWrt's configuration system: menuconfig, target/subtarget/device and feeds

Network and acceleration: netifd / flow offload

Interface state, protocol handlers and software forwarding acceleration.

  1. What is netifd? The hub of OpenWrt network interfaces
  2. OpenWrt software acceleration: flow offloading, packet steering and NIC offload

UBUS: data model, CLI, C API and nonblocking I/O

From objects/payloads to CLI, C API and ustream.

  1. OpenWrt ubus official examples (1): the data model — blob, blobmsg and policy
  2. OpenWrt ubus CLI in practice (2): list, call, listen, send, monitor
  3. OpenWrt ubus C API (3): a minimal server and client
  4. OpenWrt ubus without blocking (4): use ustream for sockets, not a hand-written write state machine

Build: ImageBuilder

Customize firmware quickly without rebuilding everything.

  1. OpenWrt ImageBuilder: Custom Firmware in a Few Commands
  2. OpenWrt + Yocto: When a Hybrid Build Makes Sense (and Where It Bites)

Want to leave a message?

Technical questions, feedback and leads: use the guestbook.

Guestbook →