You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 53b001b
Browse filesBrowse the repository at this point in the historyBrowse files
feat(agent): lldpd physical-port binding at install + bridge-only hint (#1369) (#1392)
On OpenWrt (verified qualcommax/ipq807x nss-dp; DSA likely affected too)
an lldpd bound to the bridge (the stock br-lan config) reports zero
neighbors forever: LLDP frames never reach a listener on the bridge
master, and topology silently falls back to FDB inference.
- install-agent.sh: when lldpd is already installed, ensure it listens on
physical ports (lan*,wan via UCI) and restart it. Idempotent: a binding
with physical ports is left untouched; lldpd itself is never installed
by the script (installing packages stays the admin's call).
- Agent probe: with an honest zero-neighbor round plus a bridge-only UCI
binding, the payload carries lldp.hint=lldpd-bridge-only. UCI is only
queried on empty rounds (no extra fork when neighbors exist).
- Server propagates it as router.lldpHint; RouterDetail shows a warning
banner with the exact fix (i18n es/en).
- Docs: binding requirement next to the agent LLDP section.
Closes#1369
Copy file name to clipboardExpand all lines: app/public/locales/en/translation.json
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -861,6 +861,8 @@
861
861
"hostKeyConfirm": "Confirm new key",
862
862
"hostKeyBusy": "Confirming…",
863
863
"hostKeyDone": "Key accepted: reconnecting…",
864
+
"lldpBridgeOnlyTitle": "lldpd sees no neighbors: it listens on the bridge only",
865
+
"lldpBridgeOnlyBody": "lldpd is installed but bound to br-lan, and on this hardware LLDP frames never reach the bridge master: topology loses its direct evidence silently. Fix it with: uci set lldpd.config.interface='lan*,wan' && uci commit lldpd && /etc/init.d/lldpd restart",
864
866
"perf": {
865
867
"chartAria": "{{label}} of {{name}}, range {{range}}. Current value {{value}} {{unit}}.",
Copy file name to clipboardExpand all lines: app/public/locales/es/translation.json
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -861,6 +861,8 @@
861
861
"hostKeyConfirm": "Confirmar nueva clave",
862
862
"hostKeyBusy": "Confirmando…",
863
863
"hostKeyDone": "Clave aceptada: reconectando…",
864
+
"lldpBridgeOnlyTitle": "lldpd no ve vecinos: escucha solo en el bridge",
865
+
"lldpBridgeOnlyBody": "lldpd está instalado pero configurado para escuchar en br-lan, y en este hardware los mensajes LLDP no llegan al bridge: la topología se queda sin evidencia directa. Arréglalo con: uci set lldpd.config.interface='lan*,wan' && uci commit lldpd && /etc/init.d/lldpd restart",
864
866
"perf": {
865
867
"chartAria": "{{label}} de {{name}}, rango {{range}}. Valor actual {{value}} {{unit}}.",
0 commit comments