OpenWrt PPPoE Q&A(1):pppd 协商、内核 ppp0、netifd 落地
用 8 个问题讲清 PPPoE 的控制面、数据面和三层落地:谁拨号、谁创建 ppp0、ipparam/ifname 是什么、ppp-up 怎么把 IP/路由/DNS 交给 netifd。
Engineering notes and ranked practice on OpenWrt / Yocto / NVIDIA Tegra and edge AI gateways: understand by reading, grow through practice; traceable, reproducible, bounded.
Practice and exams · routing/bridging/debugging
138 questions cover ip addr / ip link / ip route / bridge, VLANs, policy routing, NAT, raw IP and iPerf3 throughput. Exams grade at the end; practice gives instant feedback.
This is not command memorization; it builds a troubleshooting order: link → bridge → rule → table → route → NAT → capture.
Draw 25 random questions from the 100 / 38 bank; 20 to pass. Submit at the end.
PracticeGrade immediately; previous, skip and jump to any question.
Attention, FFN, positional encoding, training and inference
OpenWrtUCI, netifd, ubus, fw4, ImageBuilder
OpenWrtUCI, netifd, bridge/VLAN, static routes, PPPoE
VLAN802.1Q, PVID, access/trunk, bridge vlan filtering
ACLgetfacl/setfacl, mask, default ACLs, inheritance and backup
prplOS / AMXData model, transactions, NetModel, USP
YoctoLayers, recipes, BitBake, images
PPPoEpppd, LCP, auth, DNS, teardown
iPerf3TCP/UDP, reverse, loss, trustworthy results
用 8 个问题讲清 PPPoE 的控制面、数据面和三层落地:谁拨号、谁创建 ppp0、ipparam/ifname 是什么、ppp-up 怎么把 IP/路由/DNS 交给 netifd。
协议处理器是 netifd 的可插拔外围:proto-shell 调 shell/ucode/C 处理器,处理器再依赖 BusyBox applet、协议 daemon、UCI/ubus/libubox 和内核 netlink。本文把依赖按构建、运行、协议、内核四层拆开。
app.route 不是执行 handler,而是挂载;多个 app.route('/') 不会互相覆盖;中间件靠 await next() 串成链。用这个博客的真实挂载顺序讲清 5 个练习。
.tsx 不是框架,也不是 React 专属后缀:它只是“TypeScript + JSX”的文件扩展名。本文讲清它怎么编译、为什么这个博客用 hono/jsx,以及 5 道自测题。
除以 √d_k 不是为了把点积变成余弦相似度,也不是单纯防溢出;它控制 logits 的方差,让 softmax 在训练初期仍有可用的梯度。
不是“因为新”,而是因为这个博客只需要一个运行时、一个包管理器、一个测试器和一次编译:Bun 把这些放在同一个二进制里。
Subscribe via RSS to get new posts automatically.
Technical questions, feedback and leads: use the guestbook.