I'm having a small issue with my Synology NAS. It keeps throwing off the connection to the internet (local network works fine though). It is quite random, sometimes it doesn't happen for days, sometimes it happens every 10-20 minutes. Tried a hard reset, clean update, everything, yet even on a clean system, in a few day it continues. No other computers show such symptoms on the network.
Usually this problem can be solved by an ifdown&&ifup combo, but I'm getting annoyed by it - any time I wish to use the download station, I need to open a terminal session to make sure there's network connection for those few minutes.
So the question would be - is there a simple way of automatically resetting the network interface in case there's no connection to the outside? I've been thinking of a minute-poll to google.com, if the request takes longer than 10 seconds, restart the network interface. But I'd prefer something native, that does this automatically (sincerely, I do not wish to write such a script, it's a way too long and tedious process for me).