Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 restart router from windows

views
     
TSCrossbone
post Dec 15 2007, 09:03 PM, updated 17y ago

Getting Started
**
Junior Member
275 posts

Joined: Nov 2006
is there a program where i could reboot the router directly from windows,instead of going all the way to the configuration page and disconnect it from there.


my router is wrt54g,using dd-wrt firmware.
and i noticed there is a feature that lets the router automatically reconnect within a time period,but i want to reconnect it manually.
SUSVelocity
post Dec 15 2007, 10:41 PM

Look at all my stars!!
*******
Senior Member
3,188 posts

Joined: Nov 2007
off the electric point and on.. Tats even faster and more efficient then any software
prasys
post Dec 15 2007, 11:15 PM

Heros Never Die
Group Icon
VIP
12,925 posts

Joined: Mar 2005
From: Kuala Lumpur
Yes

Its called telnet or SSH

All you have to do is to enable Telnet in router (or SSH if you want to be secure. But for me telnet should be good as there is no SSH Client out there for Windows by default - unless you could Putty in)

Just go to start -> run and type

telnet 192.168.1.1

It will ask for user/pass. Key in root as user and your router's password as password. You should see a prompt

Simply type reboot and hit enter. It will automatically reboot the router. Simple eh ?
Thunderbolt
post Dec 16 2007, 12:24 AM

Tonight We Dine In Penang!
******
Senior Member
1,191 posts

Joined: Jan 2007
From: Penang


Wouldnt pressing the on/off button behind the modem would be more faster ?
TSCrossbone
post Dec 16 2007, 12:52 AM

Getting Started
**
Junior Member
275 posts

Joined: Nov 2006
QUOTE(prasys @ Dec 15 2007, 11:15 PM)
Yes

Its called telnet or SSH

All you have to do is to enable Telnet in router (or SSH if you want to be secure. But for me telnet should be good as there is no SSH Client out there for Windows by default - unless you could Putty in)

Just go to start -> run and type

telnet 192.168.1.1

It will ask for user/pass. Key in root as user and your router's password as password. You should see a prompt

Simply type reboot and hit enter. It will automatically reboot the router. Simple eh ?
*
thanks!

i made a batch file for it,how do i make it automatically key in my usename and password and the word reboot?
roy918
post Dec 16 2007, 01:45 AM

On my way
****
Senior Member
558 posts

Joined: Jan 2003
From: HELL
i used to run batch file to restart my modem (Dlink500T).
may be it's helpful for u as well.

3 files are need to reboot ur modem.
TST10.exe(program that do wat telnet will do), .txt(txt file - commands to send to TST10.exe) and .bat(batch file - run the TST10.exe and send commands from .txt to TST10.exe)

attached are the example to reboot DLink 500T.

.txt
QUOTE
192.168.1.1 23
WAIT "login:"
SEND "username\m" //ur username here
WAIT "Password:"
SEND "password\m" //ur password here
WAIT "#"
SEND "reboot\m"    //command to reboot modem here
WAIT "#"
SEND "exit\m"


.bat
QUOTE
tst10.exe /r:reboot.txt /m



Attached File(s)
Attached File  TST10.zip ( 190.28k ) Number of downloads: 2489
TSCrossbone
post Dec 16 2007, 12:50 PM

Getting Started
**
Junior Member
275 posts

Joined: Nov 2006
not working sad.gif
roy918
post Dec 16 2007, 12:55 PM

On my way
****
Senior Member
558 posts

Joined: Jan 2003
From: HELL
192.168.1.1 23
WAIT "login:"
SEND "username\m" //ur username here
WAIT "Password:"
SEND "password\m" //ur password here
WAIT "#"
SEND "reboot\m" //command to reboot modem here
WAIT "#"
SEND "exit\m"

u need to change the red colour line also.
must match as wat u see when u telnet to ur modem.
TSCrossbone
post Dec 16 2007, 06:24 PM

Getting Started
**
Junior Member
275 posts

Joined: Nov 2006
thanks,its working now


roy918
post Dec 16 2007, 08:31 PM

On my way
****
Senior Member
558 posts

Joined: Jan 2003
From: HELL
QUOTE(Crossbone @ Dec 16 2007, 06:24 PM)
thanks,its working now
*
rclxms.gif rclxms.gif

Now i'm using batch file to check my router connection if it's dead.
I'm using penangfon and sometime router will dead and needed to restart.

ping 61.4.x.x //ping to gateway
if %errorlevel%==1 (
start http://username:password@192.168.0.1/x.htm //command to restart router
) else (
exit
)

I use task scheduler to run the batch file every 15min but somehow my connection to router being kicked out by my router(D-link 524). When i use another pc to check connection and it manage to online.
Anyone can help?

This post has been edited by roy918: Dec 16 2007, 08:33 PM
TSCrossbone
post Dec 17 2007, 10:51 AM

Getting Started
**
Junior Member
275 posts

Joined: Nov 2006
i got another router 3com brand one

anyway to do the same?

i tried telnet,not working at all
roy918
post Dec 17 2007, 05:06 PM

On my way
****
Senior Member
558 posts

Joined: Jan 2003
From: HELL
QUOTE(Crossbone @ Dec 17 2007, 10:51 AM)
i got another router 3com brand one

anyway to do the same?

i tried telnet,not working at all
*
is the 3com support telnet?
wat model is it?
TSCrossbone
post Dec 17 2007, 06:02 PM

Getting Started
**
Junior Member
275 posts

Joined: Nov 2006
model is 3CRWE554G72T
roy918
post Dec 17 2007, 07:54 PM

On my way
****
Senior Member
558 posts

Joined: Jan 2003
From: HELL
QUOTE(Crossbone @ Dec 17 2007, 06:02 PM)
model is 3CRWE554G72T
*
bro, refer to ur 3com spec or here
ur 3com doesn;t support telnet, for sure it wont works with TST10

dun telnet blindly, do some research or googling around
TSCrossbone
post Dec 18 2007, 10:24 AM

Getting Started
**
Junior Member
275 posts

Joined: Nov 2006
i guess there is no way to reboot the 3com router from places other than the configuration page? sad.gif
roy918
post Dec 18 2007, 01:03 PM

On my way
****
Senior Member
558 posts

Joined: Jan 2003
From: HELL
QUOTE(Crossbone @ Dec 18 2007, 10:24 AM)
i guess there is no way to reboot the 3com router from places other than the configuration page? sad.gif
*
might have other option.
for example, my d-link di-524 router doesn't mention it can be rebooted using http link. (http://username:password@192.168.0.1/x.htm)
but i got to know this by google around.
so, if u still can get from google, u can try to ask for help in 3com support forum.

This post has been edited by roy918: Dec 18 2007, 01:07 PM
Muhammad Rizwan
post Nov 22 2012, 07:51 AM

New Member
*
Newbie
1 posts

Joined: Nov 2012


QUOTE(roy918 @ Dec 15 2007, 10:45 PM)
i used to run batch file to restart my modem (Dlink500T).
may be it's helpful for u as well.

3 files are need to reboot ur modem.
TST10.exe(program that do wat telnet will do), .txt(txt file - commands to send to TST10.exe) and .bat(batch file - run the TST10.exe and send commands from .txt to TST10.exe)

attached are the example to reboot DLink 500T.

.txt
.bat
*
ASlam o Alikum

bro
why this is not working for my ptcl wrouter??? what shoud i do changes with it?????????


Added on November 22, 2012, 7:55 am
QUOTE(roy918 @ Dec 15 2007, 10:45 PM)
i used to run batch file to restart my modem (Dlink500T).
may be it's helpful for u as well.

3 files are need to reboot ur modem.
TST10.exe(program that do wat telnet will do), .txt(txt file - commands to send to TST10.exe) and .bat(batch file - run the TST10.exe and send commands from .txt to TST10.exe)

attached are the example to reboot DLink 500T.

.txt
.bat
*
ASlam o Alikum

bro roy918 plz tell me
why this is not working for my ptcl wrouter??? what shoud i do changes with it?????????

This post has been edited by Muhammad Rizwan: Nov 22 2012, 07:55 AM

 

Change to:
| Lo-Fi Version
0.0200sec    0.36    6 queries    GZIP Disabled
Time is now: 29th March 2024 - 07:16 AM