DLink Router Reboot Tool?

nocaps

New Member
Joined
Jul 25, 2005
Messages
6
Reaction score
0
Hi everyone. I'm new here...looking for some help. I've a DLink DSL 502T Router and my ISP provides me with unlimited data download between 0000hrs and 0800hrs. The catch is that I've to logon at/after 0000hrs to start the free usage counter and similarly logoff before 0800. Scheduling the download manager or the OS does not help since the router is still connected and the download is logged as an extension of the paid/limited session (I'm connected to the ISP by PPPOE). So I've to do manual power off - power on cycle.

Looking around here, I found this old topic for a trelcom router and this is exactly the kind of stuff I'm looking for.

Can somebody please explain to me how to implement this for the DLink router I have? Pretty please, my biological clock is being screwed up by this carrot :eek:

Thanks.
 
i have a silly idea, but sometimes thinking outside the box helps.

You can get a timer for AC plugs...so, get one of those jobbies and plug the router power into it...
then, set it to power down at 23:55, and power up again at 00:05, and the same again at 07:55 and 08:05...I dont know the name for it, but you should be able to get one at any electrical shop...
something like this http://www.maplin.co.uk/Module.aspx?ModuleNo=27346&doy=25m7 although that is a 7day one, so every peg represents 2 hours....perhaps you can get a daily one, with smaller graduations. My geyser for example has 5 minute increments...

Of course, some clever chap may come up with a reboot solution, but perhaps the plug idea will work for you.
 
A pretty universal way of doing it would be by using a telnet script. There's a free telnet scripting utility here.

Your script should look like this:
reboot.txt said:
192.168.1.1 23
WAIT "login"
SEND "root\m"
WAIT "password"
SEND "admin\m"
WAIT "#"
SEND "reboot\m"
Replace "admin" with your router's admin password if you've changed it.

You can then use the following command as a scheduled task:
Code:
tst10.exe /r:reboot.txt
 
Thanks a ton dabean. This system works like a charm.

Thanks to werner also for the suggestion, but I could not find a suitable circuit for the purpose. Anyways, the telnet method saved me lot of headache and some money too :rolleyes:

Now if only someone could help me reset my biological clock to factory default :D
 
DLINK router reboot tool

i m a newbie. please give me step by step instructions for scheduling my ADSL router dlink 502t reboot
 
Which part exactly do you need help with scorpio1978? The rebooting part or the scheduling part, using Windows Scheduled Taks? Which OS are you on?
 
scorpio, if your dling a file? does your unlimtid use caryy on?
say if you start a download at 23:30, and in that half-hour you dl-ed 100megs, do you still use 700megs for your cap even though your in your free time?
 
hi nocaps
i want to schedule reboot of my router using telnet script. i have downloaded the script bt dont know wht to do with it. i m usin win xp
 
i have downloaded the script
You mean you have downloaded the scripting tool...isn't it. If not, download the tool, tst10 from the link provided by dabean. Extract it to a folder e.g. C:\tst using winzip/winrar or whatever you prefer. In the folder that you extracted tst10.exe, make a new notepad file (right click > New > text document). Name it reboot.txt. .Open it and type the following lines. Remember to keep the quote" marks in this text file!.

192.168.1.1 23
WAIT "login"
SEND "your_login_id\m"
WAIT "password"
SEND "your_pass\m"
WAIT "#"
SEND "reboot\m"
WAIT "#"



I'm assuming you know how to setup and configure your router, so you'd know the actual your_login_id and your_password (replace them accordingly in the script above). If not, well I'm no expert meself but I think dabean's post implies that default router login ID is "root" and default password is "admin" (without quotes). You might verify this by opening a telnet session. Start > Run > type "telnet" w/o quotes. In telnet window, type "o 192.168.1.1". At login prompt, enter "root" and password enter "admin". If you have a successfull login you will see a # prompt. Enter "reboot" here and your router should reboot successfully.

Now open Control Panel and open Scheduled Tasks. Add Scheduled Task. Follow the instructions. Browse to the directory you extracted tst10.exe to, and open it. Give a name to this task (only for your convenience, can be anything) and choose how often you want the reboot (daily/weekly/what?). Choose the time you want reboot to occur. If you are setting this up on a particular WinXP user account, you may be asked for your XP user password. OK, when the task is created and appears in Scheduled Tasks, right click on it and click on Properties. On the Task tab you will see "Run", where the location of tst10.exe woold be present already. At the end of this line, outside the quotes, add /r:reboot.txt so it looks like
"C:\tst10.exe" /r:reboot.txt

Thats it. You might want to schedule a force-shutdown tool and download managers likewise.
 
Last edited:
Thanks nocaps
thank u very much
atlast i was able to schedule reboot of my router. thanks for ur help
 
hey guys. i m havin some problem in schedulin reboot of my dlink router. plz smbdy help me out
 
freeek said:
ya ... can't believe no1 asked that, what isp allows you uncapped after 12?

myadsl isn't limited to south africans... glad it worked for you, nocaps.
 
Yep...I'm from India and the package is provided by the telecom service provider MTNL. It is a 256K package which gives me 500MB download limit per month (uploads are not counted) and unlimited downloads from 12.00-8.00am (which is not counted towards the 500MB)...for about US$16 (including a monthly rent for Dlink DSL 502T router, which I have taken on rent from ISP instead of outright purchase).
 
Last edited:
he . nocaps. im havin sm prob in scheduling reboot of my dlink router.
plz help me out.
actually wht hpps is when i schedule my task and the command prompt comes up at the scheduled time. but therein everi command is written twice. like
login:admin
admin
password:
and then it waits for password
why does admin appear twice. i really have no idea. plz help
 
wgr614v5 netgear router needs rebooting tool

Hi All,

I am having the same problem where my nenetgear wgr614v5 has to be rebooted between 02:00 - 08:00 AM. I have tried all the tools including the tst10 telnet script mentioned above.

Any help pleaaaaaaaase.


Regards.
 
This is cool information dabean...
Will try this today... I am too using the same DSL plan as nocaps... and was very much interesting in having some tool to automate the router reboot through Operating System.

However, do you have any idea how to do the same from Linux...
Would be glad to get any information on this one.


Thank you so much...
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X