Skip to content

标签:Router

Traffic Signal Controllers: Realtime Behaviour and Reliability

Signal phase transitions must be punctual, requiring hard realtime capability and layered fallbacks. Realtime is non-negotiable Realtime: run timing logic as a realtime task or on a separate MCU — Linux userspace jitter can’t guarantee second-accurate switching; Degradation: on detected faults fall back to flashing yellow or fixed-time plans; traffic authorities always test this; Comms: […]

阅读全文 →

PoE Power Planning for 8 Cameras: Watts and Cable Budget

PoE looks plug-and-play but has hard limits on switch power and cable length. Do the math before pulling cable. PoE budgeting is addition Per-port draw: bullets 5-8 W; PTZ and IR dome models 15-25 W (PoE+ class); Keep 30% headroom: 8 × 10 W + margin ≈ 120 W — pick an 8-port PoE+ 150 […]

阅读全文 →

Wi-Fi Driver Debugging: Won’t Connect, Drops, Low Rate

Split the problem into scan, associate, stay associated and throughput — each step has a different debugging direction. Separate four layers Can’t scan: confirm the driver loaded (lsmod, dmesg), the firmware file exists and antennas are connected; Association fails: read wpa_supplicant logs for the auth stage — usually encryption mismatch or channel restrictions from the […]

阅读全文 →

Hardening Remote Access to Jellyfin: Don’t Expose Your Home Network

Publishing Jellyfin to the internet is the riskiest thing a home server does. The three routes differ enormously in default safety — pick wrong and no amount of hardening helps. Rank the remote options by safety Safest: WireGuard/Tailscale — no open ports; remote use feels exactly like LAN; Next: reverse proxy + HTTPS + strong […]

阅读全文 →

Home Lab Disaster Drills: What Happens When the SD Card Dies

Having backups isn’t the same as being able to restore. Only a real from-scratch rebuild reveals your true recovery time. DR is proven by drilling System layer: image the SD/eMMC (dd or ddbr) and keep a written config inventory; Data layer: a restic repository plus database dumps; restore databases before applications; Drill: rebuild fully on […]

阅读全文 →

Where Does Docker Data Actually Live? Backing Up by Layer

Containers are easy to rebuild — provided you know where the data lives. Three classes need different handling. Separate the three data classes Named volumes: database files under docker volumes; back up /var/lib/docker/volumes with restic; Bind mounts: host directories mapped in compose — just include them in file backups; In-app exports: for MariaDB/PostgreSQL, dump first; […]

阅读全文 →

Macvlan: Give Containers Their Own IP So AdGuard Behaves Like a Real Machine

Most containers are fine sharing the host IP. But DNS-class services that bind port 53 conflict with the host’s own resolver by nature. When a dedicated IP is needed Create a macvlan network: specify subnet, gateway and parent interface; containers get LAN-segment IPs; Host-to-container quirk: the host can’t reach macvlan containers by default — add […]

阅读全文 →

Frigate Alerts Without the Noise: Telegram and Push Done Right

The hard part of camera alerts isn’t sending them — it’s not spamming. A 3 a.m. false alarm kills trust faster than a missed event. Two ways alerts fail Debounce: one push per object per 60 s and a detection score threshold above 0.8; Push with images: attach Frigate snapshots so you can judge at […]

阅读全文 →

Case Study: Rural Broadband Aggregation Gateways

Unstable power, poor links and no staff on site — the design must revolve around all three. Design constraints at remote sites Multiple links: fibre primary with automatic 4G failover in seconds; Power: wide input plus a small UPS sustaining 30 minutes and reporting a graceful offline alert; Remote ops: devices dial out to build […]

阅读全文 →

Uptime Kuma: Self-Hosted Probing So You Know First

“Is it reachable” and “is it healthy” are different questions. Uptime Kuma handles the first; app metrics handle the second. Monitor in layers Pick probe types deliberately: HTTP keyword match for web, TCP for databases, DNS queries for resolution; 60-second heartbeats: sensitive enough without alert storms; Multi-channel notify: Telegram/Bark/WeCom in parallel so one dead channel […]

阅读全文 →