Fix network boot issues and add power management configuration

- Resolve SSH lockout after reboot caused by systemd lid switch suspend
- Add systemd-logind configuration to disable lid switch handling
- Add NetworkManager configuration for static IP and power management
- Update network troubleshooting documentation with complete solution
- Include diagnostic commands and deployment steps

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-13 21:35:12 +02:00
parent 6edc235129
commit 82f9cc4990
4 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# systemd logind configuration for headless server operation
# Deploy: sudo cp config/systemd/01-server-logind.conf /etc/systemd/logind.conf.d/
[Login]
# Disable all power management triggers for headless server
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
# Prevent automatic suspend/hibernate
IdleAction=ignore
# Keep the system running even when no users are logged in
KillUserProcesses=no