Try this method:
1) Configure your modem in PPPoE mode, i.e., autodial mode
2) download TST10 (google it) and save it in C:\Windows\System32 folder
3) create two text files
enable.txt
Code:
192.168.1.1
WAIT "Login: "
SEND "admin\m"
WAIT "Password: "
SEND "admin\m"
WAIT "--> "
SEND "pppoe set transport 1 autoconnect enabled\m"
disable.txt
Code:
192.168.1.1
WAIT "Login: "
SEND "admin\m"
WAIT "Password: "
SEND "admin\m"
WAIT "--> "
SEND "pppoe set transport 1 disabled\m"
4) create two .bat files (open notepad and save as "routerON.bat" and "routerOFF.bat")
with the following contents
routerON.bat
Code:
chdir C:\RouterSwitch
c:
TST10 /r:enable.txt /o:last_log.txt
routerOFF.bat
Code:
chdir C:\RouterSwitch
c:
TST10 /r:disable.txt /o:last_log.txt
5) Create an empty file called last_log.txt to diagnose output of the last run script. Save all the files enable.txt, disable.txt, routerON.bat, routerOFF.bat
in C:\RouterSwitch
6) schedule the routerOFF.bat to run 1:50 am and 7:55 am
7) schedule the routerON.bat to run 2:05am and once again at 8:05 am.