I've been searching everywhere the internet but nothing came up with this type of modem that can be rebooted automatically using a script. My problem is that I lose internet connection several times a day and the solutions whenever this happens is to reboot the modem using the modem's on/off switch or by going to its lan address.
The script will be run in the task manager of synology diskstation once it detects that internet connection is broken.
I have attached a link of the screenshot of my modem's config page and its web elements.
Thanks in advance.