The best way to solve this is to create a wget script that cron will run around 4:00 AM when no one is using the Internet. The script will reboot the modem and have it ready for me to use problem free all day.
wget is a very powerful command line web client. Reading the source file of the page you want to script you can automate almost any action.
#!/bin/bash wget \ --save-cookies=cookies \ --post-data="username_login=cusadmin&password_login=yourpassword" \ http://192.168.0.1/goform/Docsis_system -O /dev/null 2>&1 wget \ --load-cookies=cookies \ --post-data="devicerestart=1" \ http://192.168.0.1/goform/Devicerestart -O /dev/null 2>&1