HI, can you share the cron script? Thanks in advanceI also created an cron script to run every 45 minutes and if there's no connectivity it will reboot the machine.
HI, can you share the cron script? Thanks in advanceI also created an cron script to run every 45 minutes and if there's no connectivity it will reboot the machine.
I also created an cron script to run every 45 minutes and if there's no connectivity it will reboot the machine. It's more a workaround that a resolution but should hopefully work till I install the new card.
systemctl restart networking, but in my case (Intel NUC10), that didn't help.# ifdown eno1
# ifup eno1
I had another hang overnight, and what did fix it for me this morning was ifdown / ifup:
# ifdown eno1 # ifup eno1
# check system journal for recent hang
if ! hangcount=$(journalctl \
--since "2 minutes ago" _TRANSPORT=kernel \
_KERNEL_SUBSYSTEM=pci --priority=3 | \
grep -c "Detected Hardware Unit Hang:")
then
echo "No network hang detected, exiting"
exit 0
fi
Workarounds are either script or additional hardware.Great, now I have the exact same problem. I got myself an EliteDesk 800 G6 so I can offload the VMs to, and sure enough, sometime during the night it hangs. Would it help if I ditch the built-in network card and get a new one?
We use essential cookies to make this site work, and optional cookies to enhance your experience.