- Itwerks.net, ajricardo.com
- https://linkedin.com/richknowlestech
- @richknowlestech
- @richknowles@twit.social
- https://resume.richknowles.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# proxima-net.sh - by Richard Knowles | |
# Diagnoses and recovers Proxmox host (TOD) from NFS hangs or bridge/NIC drops. | |
# Uses ifdown/ifup as primary recovery, with fallbacks to manual IP config andNetworking restart. | |
# Tailored for static IP configuration on vmbr0 with enp7s0, handles enp0s25. | |
# Configuration | |
PHYS_IFACE="enp7s0" # Physical interface for vmbr0 | |
BRIDGE_IFACE="vmbr0" # Bridge interface | |
SECONDARY_IFACE="enp0s25" # Secondary interface with IP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version 1.0 |