dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
2848
share rss forum feed

Lopan

join:2005-10-10
Aurora, ON

Creating a batch file or .exe to reboot my DIR 655

I have to reboot my router often for various reasons (DIR 655, Hardware Version A3, Firmware Version 1.35NA).

Is it possible to create a file/program (with my user login data embedded in to said program) to reboot my router for me? As opposed to manually logging in to my router, navigating to the correct page, and clicking reboot. This would help my roommates who are not very tech savy.

Also I am aware I can plug and unplug the device, that is now what I am asking.
Also I am aware that logging in to reboot it takes a relatively small amount of time, this will not solve my issue.

Thank you for reading and any help. Any suggestions that are similar to simply running a program to reboot the device are welcome.

Colin


BimmerE38FN

join:2002-09-15
Boise, ID
kudos:1

1 recommendation

How about a 110v power timer that you can set up and connect the power adapter too.


Optimus2357
Premium
join:2010-11-21
West Warwick, RI
kudos:3

1 recommendation

To answer your question specifically; no. There is no way to do it with any batch file or .exe, or any script since most of those will require ssh or telnet to gain access to the router, which the DIR-655 does not have.

As for what will work, we need to know your requirements. You said unplugging and plugging back in won't be a solution, why? Are the people required not going to physical access to the router? What is the reason you have to reboot it?

In general, the only thing that comes to mind is creating some sort of macro, probably with Firefox, to duplicate the keystrokes and mouse gestures required to reboot via the web interface.

Lopan

join:2005-10-10
Aurora, ON
Hey thanks for the replies.

I will spare you the wall of text and explanations.

I will just create a macro with auto hotkey on their computers. was hoping to avoid 3rd party software, but i have no choice.

thanks again, take care


NetFixer
Freedom is NOT Free
Premium
join:2004-06-24
The Boro
Reviews:
·Cingular Wireless
·Comcast Business..
·Vonage
Do your brain dead room mates reside within earshot of the router? How about a Clapper?
         
»www.walmart.com/ip/The-Clapper-S···10740655
         


--
A well-regulated militia, being necessary to the security of a free State, the right of the people to keep and bear arms shall not be infringed.

When governments fear people, there is liberty. When the people fear the government, there is tyranny.


LazMan
Premium
join:2003-03-26
canada
reply to Lopan
Not for nothing, but what's causing the need to reboot the router?

Perhaps fixing the underlying problem(s) may negate the need to powercycle or reload the device?


wave_sailor

join:2001-04-23
reply to Lopan
If your technically wise with cookies and sessions, maybe you can try using Fiddler to see what cookies and sessions are being created, then you cook up and batch file with curl or maybe wget to do what you need to do.


John97
Over The Hills And Far Away
Premium
join:2000-11-14
Spring Hill, FL
kudos:1
Reviews:
·Bright House
·ooma

1 recommendation

reply to Lopan
When I had to start rebooting my DIR-655 fairly often(same hardware and firmware), I knew it had reached the end of its life.

I'd use an A/C timer as suggested above and set it to trip off then back on at 4:00 AM.
--
So put me on a highway, and show me a sign.
And take it to the limit one more time...


maaw

@fibertel.com.ar
Of course you can. You need to use curl and do some research. I owned a di-624 before and i manage to write a full script to change my DHCP Cable ISP IP. The script should look like this:

curl.exe --user admin:YOURKEY »your.router.ip/restart.cgi

This is actually what it looked like for my old di-624, i've no idea what URL should your script point to, but this may give you a clue.
It's funny to read many people stating 'no, it's impossible' just because they don't know how to do it.


Optimus2357
Premium
join:2010-11-21
West Warwick, RI
kudos:3
You mean like this?

»www.makionv.com/2011/05/how-to-r···and.html

If so, that requires telnet, which this router does not have. If I am wrong though, and it works, let me know.