I wrote myself this little script, invoked from cron every minute, which
keeps my node limping along:

#!/bin/bash
set -eu -o pipefail

GW=10.0.96.1
IF=eth0

# If the link works, exit
if fping -q "$GW"; then
  exit
fi

# Link is dead

# For cron
echo Resetting link

# Bounce the network interface
ip link set dev "$IF" down
sleep 2
ip link set dev "$IF" up

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2133877

Title:
  Complete network hang on Raspberry Pi 5 with kernel 6.17 under load -
  possibly related to CPU frequency scaling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2133877/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to