Skip to content

docs(network): neo's device-mode, and setting it on a new unit - #1703

Merged
Gerrrt merged 2 commits into
mainfrom
gerrrt/neo-device-mode
Nov 24, 2026
Merged

Gerrrt merged 2 commits into
mainfrom
gerrrt/neo-device-mode

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 24, 2026

Copy link
Copy Markdown
Owner

What changed

Docs only. Records that neo's device-mode now switches off the RouterOS features a switch never uses: socks, fetch, pptp, l2tp, bandwidth-test, sniffer, ipsec, romon, proxy, hotspot, smb, email and zerotier. scheduler stays on for the log heartbeat. The change was applied live on 2026-11-24.

  • docs/network.md: a bullet in the switch's "what else is configured" list.
  • docs/runbooks/swap-the-switch.md §1.3: the command and the reset-button confirmation, so a new unit gets the same setting.
  • docs/changelog.md: the 2026-11-24 entry.

Why

It was the last open finding of the switch audit. If the repo doesn't record it, a rebuild or replacement would lose it without anyone noticing.

Blast radius

None from merging: no deployed file changes. On the switch itself, the disabled features were not configured, and the reboot that applied the change dropped every VLAN for about a minute.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

  • /system/device-mode/print on neo shows every listed feature as no and scheduler: yes.

  • After the reboot, Home Assistant logged back in over api-ssl. The SNMP scrape's up series went 1, 1, 0, 1, missing only the scrape during the reboot. neo's lines reach Loki again as host="neo".

  • scripts/check_docs.py and scripts/lint.sh pass locally.

  • make validate passes. Not run, because the change is docs only; CI runs it.

  • Deployed to the lab and confirmed working

  • Docs updated (docs/, service README, or docs/roadmap.md)

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings November 24, 2026 03:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The procedure omits scheduler=yes, allowing a used switch’s inherited scheduler=no setting to survive reset and prevent the required log-heartbeat scheduler from running.

1 open issue
What changed in this PR

This docs-only PR records neo’s device-mode hardening and adds instructions to reproduce it when replacing the switch.

Changes:

  • Documents disabled RouterOS features and the scheduler requirement for the log heartbeat.
  • Adds the device-mode command and physical confirmation steps to the replacement runbook.
  • Records the live change, reboot, and service recovery in the changelog.
File Description
docs/​runbooks/​swap-the-switch.md Adds device-mode setup and reset-button confirmation instructions.
docs/​network.md Records the switch’s device-mode settings and links to the runbook.
docs/​changelog.md Records the hardening change and observed recovery.

Review effort: Balanced

Comment thread docs/runbooks/swap-the-switch.md Resolved
@Gerrrt
Gerrrt enabled auto-merge (squash) November 24, 2026 03:50
The last finding of the switch audit, applied on 2026-11-24: device-mode
switches off the RouterOS features a switch never uses, keeping scheduler
for the log heartbeat. network.md lists it with the switch's other
settings, and swap-the-switch.md §1.3 sets it on a new unit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt force-pushed the gerrrt/neo-device-mode branch from dcdb226 to f383d1c Compare November 24, 2026 04:17
Device-mode survives a configuration reset, so a used switch can arrive
with the scheduler off, and the update changes only the features it lists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
auto-merge was automatically disabled November 24, 2026 04:49

Pull Request is not mergeable

@Gerrrt
Gerrrt merged commit 6ad466d into main Nov 24, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the gerrrt/neo-device-mode branch November 24, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants