Skip to content

feat(tower): use motherboard NIC with static IP 192.168.0.10#188

Merged
etrobert merged 1 commit into
mainfrom
feat/tower-motherboard-nic
Jun 6, 2026
Merged

feat(tower): use motherboard NIC with static IP 192.168.0.10#188
etrobert merged 1 commit into
mainfrom
feat/tower-motherboard-nic

Conversation

@etrobert-bot

Copy link
Copy Markdown
Collaborator

Summary

  • Tower's wired link ran through a USB ethernet adapter built into the monitor, so turning the screen off dropped the connection — preventing leaving tower running headless. Move to the motherboard NIC (enp11s0) via a NetworkManager static profile so the link survives the display being off.
  • Move tower off .130 (inside the DHCP pool .50–.250) to .10 (below the pool, can't collide with a dynamic lease), defined on tower rather than as a pi DHCP reservation — mirroring how pi sets its own .18 via ensureProfiles."end0-static".
  • Tower's NM profile uses pi (.18) for DNS so split-horizon resolution of internal *.etiennerobert.com names works on tower too (no NAT hairpin on the router, so public resolution would loop back and fail).
  • Update dnsmasq split-horizon host-records .130 → .10, drop the obsolete USB-MAC dhcp-host reservation, and update cockpit/homepage by-IP allow lists.

Manual steps required (out of repo)

  1. Move the ethernet cable from the monitor's USB adapter to the motherboard port (enp11s0).
  2. Update the router port-forward (Vodafone Station): change the 80/443 forward target from 192.168.0.130 to 192.168.0.10, else external HTTPS to files/creatures/adele/…etiennerobert.com breaks.

Test plan

  • nix build .#nixosConfigurations.tower.config.system.build.toplevel succeeds (x86_64).
  • pi config evaluates (host-records → .10, dhcp-host removed). pi toplevel can't be built on x86_64 (aarch64 target).
  • After rebuild + cable move: ssh tower 'ip -4 addr show enp11s0' shows 192.168.0.10, default route via enp11s0.
  • Monitor off → ssh tower stays reachable.
  • ssh tower 'getent hosts creatures.etiennerobert.com'192.168.0.10 (split-horizon via pi).
  • dig @192.168.0.18 files.etiennerobert.com +short192.168.0.10.
  • LAN services by IP load: https://192.168.0.10:9090 (cockpit), http://192.168.0.10:8082 (homepage).
  • After router port-forward update: curl -sI https://files.etiennerobert.com returns 200/redirect.

🤖 Generated with Claude Code

Tower's wired link ran through a USB ethernet adapter built into the
monitor, so turning the screen off dropped the connection. Move to the
motherboard NIC (enp11s0) via a NetworkManager static profile so the link
survives the display being off.

While here, move tower off .130 (inside the DHCP pool) to .10 (below the
pool, can't collide with a dynamic lease), defined on tower itself rather
than as a pi DHCP reservation. DNS points at pi for split-horizon
resolution. Update the dnsmasq split-horizon records and drop the now
obsolete USB-MAC reservation; update cockpit/homepage by-IP allow lists.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@etrobert etrobert merged commit f7ddd8f into main Jun 6, 2026
5 checks passed
@etrobert etrobert deleted the feat/tower-motherboard-nic branch June 6, 2026 09:59
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