Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Is there …?

...


Is there any way to cyclically reconnect the RevPi using a script?

Code Block
#!/bin/bash

TARGET_IP="192.168.20.189"

while true; do
  if ping -c 1 $TARGET_IP > /dev/null 2>&1; then
    echo "Ethernet connection is active"
  else
    echo "Ethernet connection is down, restarting network service"
    systemctl restart networking
  fi
  sleep 60
done

Is there any experience in the Debian 10 area?

...