Well ... i was facing the same problem as i have BSNL NU. But instead of spending sleepless nights.. found this solution .. works 100% and i think for almost any router(not checked though). mine is WA30002G4. and on pppoe ..
All you have to is ... set
http://192.168.1.1/rebootinfo.cgi
as your default page in any of spare browser... i use IE
.
and just run browser using any schedular @ predifined time. It will automatically reboot your Router!!! so no need of any script !!!
You can also use Free download manager .. for one point solution for NU.
Download the software from here.
Free Download Manager - absolutely free download accelerator and manager
After installation, you can see scheduler tab as in pic. You will have to schedule it , like i have done, dial the connection at 2.15am, launch utorrent at 2.16am, and shutdown the pc at 7.50. To be on safer side ... dont forget to add reboot of router ...
PIC is self explanatory ..
Hope it works for you ...