netifd vs NetModel/netdev vs RDK-B:三张图看懂三种网络管理
OpenWrt:UCI → netifd;prplOS:AMX/TR-181 → NetModel/netdev;RDK-B:Yocto + CCSP/TR-181 → PSM/Sysevent/WAN Manager。三张图对比配置源、事件、设备层和迁移映射。
20 posts
OpenWrt:UCI → netifd;prplOS:AMX/TR-181 → NetModel/netdev;RDK-B:Yocto + CCSP/TR-181 → PSM/Sysevent/WAN Manager。三张图对比配置源、事件、设备层和迁移映射。
不是“因为新”,而是因为这个博客只需要一个运行时、一个包管理器、一个测试器和一次编译:Bun 把这些放在同一个二进制里。
不用 D1,也不假装异步:Bun.SQL 直接连 SQLite,保留 await 调用,同时把 schema 内嵌、参数绑定和单写者边界讲清楚。
从 package.json、tsconfig、bunfig 到 src/index.ts:这个博客为什么这样分层,静态资源、数据库和端口分别在哪里初始化。
netifd reads UCI network configuration, maintains interface state, invokes protocol handlers and exposes network.interface/network.device over ubus. This article covers startup, ifup vs reload, protocol scripts and troubleshooting.
Using tr181-routing and mod-routing-uci as an example, follow a static route from the AMX data model to UCI and then netifd.
Subscribe via RSS to get new posts automatically.
Technical questions, feedback and leads: use the guestbook.