MTNL Broadband: Router Reboot

  • Thread starter Thread starter loginname
  • Start date Start date
  • Replies Replies 2
  • Views Views 4,199

loginname

Newbie
Messages
34
Location
NA
ISP
MTNL
Frankly somebody asked me for this in my pm and i just thought maybe i shud just post...again apologies if already posted...i m just too lazy to search

ut300r2u pppoe automatic reboot config

for every body who is having trouble rebooting their modem for the nu plans while keeping the modem in pppoe, here is a short tutorial.---->

the objective is to
[*]make the modem reboot itself a couple of times at somewhere around 12:05am
[*]logoff the current user from windows at 7:45
[*]make the modem reboot a few times between 7:50am and 8am
[*]finally make the computer shutdown completely at 8:05am
[/list]ok here are the steps---

1- download THIS

its a rar file that contains the following-
tst10.exe ---- the trusted old telnet tool
reboot.txt ---- the script that tst10.exe will use to reboot ur modem
LogOff.exe ---- a tool to force logoff from windows
ShutDown.exe ---- a tool to force shutdown the comp

2 - unrar the reboot folder in the file to c:\

3 - make sure that the username and password of ur modem are both 'admin'. if not, then open up reboot.txt and edit it to use ur password

this is what the script looks like
----------------------------------
192.168.1.1 23
WAIT "login"
SEND "admin\m"
WAIT "password"
SEND "admin\m" (if ur password is different u only need to edit this line)
WAIT
SEND "reboot\m"
WAIT
SEND "exit\m"
-----------------------------------

4 - goto start>all programs>accessories>system tools> scheduled tasks

5- create the following tasks
Task 1
Run - "c:\reboot\TST10.exe" /r:reboot.txt
Run in - c:\reboot
under 'Schedule'- Daily | 12:03 am
hit 'advanced', check 'repeat task' - 'every' -2min- 'until' - 'duration' - 4min
click ok
under 'settings' check 'stop task if it runs for' - 2mins
click ok
it will ask u for ur windows password -- put it in there or leave blank if u don't have a password set

Task 2
Run - "c:\reboot\TST10.exe" /r:reboot.txt
Run in - c:\reboot
under 'Schedule'- Daily | 7:50 am
hit 'advanced', check 'repeat task'- 'every' -2min - 'until' - 'duration' - 8min
click ok
under 'settings' check 'stop task if it runs for' - 1mins
click ok
it will ask u for ur windows password -- put it in there or leave blank if u don't have a password set

Task 3
Run - "c:\reboot\LogOff.exe" /F
Run in - c:\reboot
under 'Schedule'- Daily | 7:45 am
click ok
it will ask u for ur windows password -- put it in there or leave blank if u don't have a password set

Task 4
Run - "c:\reboot\ShutDown.exe" /F
Run in - c:\reboot
under 'Schedule'- Daily | 8:05 am
click ok
it will ask u for ur windows password -- put it in there or leave blank if u don't have a password set

6-test run the commands to make sure they are working fine

7-DONE!
 
Aah... once again 🙂 Its there in the stickies... and the wiki... anyways... u have taken the effort... good. keep it up... !!!
 
Hi,I have been tryin this for very long and it doesnt seem to happen for me... i have given the same script and when i run the bat file, it jus stops after the password in the next line. The current state of the telenet scripting tool is "Sending: reboot". It's waitin for the user input "ENTER" after which it executes the "reboot" command. The telenet screen looks like this....*************************ADSL RouterLogin: adminadminPassword: password*************************What will make it do the reboot without giving the user input???Searched many other post... its the same script but wonderin why.Whats the mistake that im doing???Thanks in advance
 

Top