Hält automatisch Verbindungen zu Netzlaufwerken aufrecht. Schnell, leicht, unsichtbar.
- ⚡ Schnell - Reconnect in ~5 Sekunden nach VPN-Verbindung
- 🪶 Leicht - ~0.1% CPU, adaptive Intervalle (5s/30s)
- 😌 Entspannt - Keine Error-Dialoge, kein Spam bei Offline
- 🔐 Sicher - Keychain-Integration, keine Passwörter im Script
- 🎯 Einfach - Einmal einrichten, läuft von selbst
Unterstützt: SMB, AFP, NFS
./install.sh
nk add "smb://server.local/share"
nk startFertig! 🎉
nk add "smb://server/share" # Share hinzufügen
nk start # Service starten
nk status # Status anzeigen
nk restart # NeustartLogs ansehen:
tail -f ~/.network_keeper.log # Live ansehenAlles andere:
nk # Zeigt alle BefehleIntelligentes Monitoring:
- ✅ Gemountet → Check alle 5 Sekunden (nur `mount` grep, fast & leicht)
- ❌ Offline → Check alle 30 Sekunden (Port-Check, entspannt)
- 🔌 VPN reconnect → Automatischer Mount innerhalb 30s
Keine Error-Dialoge:
- AppleScript try/catch fängt alle macOS-Fehler ab
- Läuft still im Hintergrund
Logs ansehen:
tail -f ~/.network_keeper.log # Live ansehen
tail -50 ~/.network_keeper.log # Letzte 50 ZeilenHäufige Probleme:
- "Share not available" → VPN getrennt oder Server offline
- "Connection timeout" → Server antwortet nicht, wird automatisch retried
Service-Status:
nk status # Zeigt alles Wichtige./uninstall.shKonfiguration: ~/.network_keeper_config
Log-Datei: ~/.network_keeper.log (auto-rotiert bei 1MB)
Service: LaunchAgent (startet automatisch beim Login)