Skip to content

Instantly share code, notes, and snippets.

View richknowles's full-sized avatar
💭
Escaping in a Linux terminal

Rich Knowles richknowles

💭
Escaping in a Linux terminal
View GitHub Profile
@richknowles
richknowles / proxima-net.sh
Created June 27, 2025 12:23
Bash script to diagnose and recover Proxmox network issues caused by NFS hangs in a homelab. Automates interface resets and NFS remounts. Use with caution and modify for your Proxmox environment.
#!/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
@richknowles
richknowles / extensions.json
Created May 12, 2025 12:59
VSCode Settings Sync
version 1.0