ut300r2u pppoe automatic reboot config

  • Thread starter Thread starter banda
  • Start date Start date
  • Replies Replies 16
  • Views Views 8,972

banda

~
Messages
571
Location
NA
ISP
mtnl-256kbps-unltd
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 basic method is the same one described in cyberwiz's post in the sticky but i have edited the script a little to make it work and also added the steps required to make the logoff, shutdown of the comp automatic)


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!
 
cyberwiz gave the method for bridged mode, mine is for pppoe... as mentioned in the title
 
(the basic method is the same one described in cyberwiz's post in the sticky but i have edited the script a little to make it work and also added the steps required to make the logoff, shutdown of the comp automatic)


credit given to cyberwiz in my post now...
 
i think the script used in 'reboot.txt' can be used for any modem, even mine which is a dsl 502t, right?well, i used it and it works perfectly except for two things:1) The telnet window doesnt close after the reboot - I have SEND "exit\m" in the txt file but still it wont close the window and stays on 'Sending: reboot' in the status bar of telnet. How do i force it close once the reboot is done? 2) Is there a turn off and turn on method similar to this so that i dont need to keep looping the reboot continuously for 4-5mins so that the 12am/8am timeframe isnt crossed? Also, is there any permanent damage caused by rebooting the router so frequently? Earlier, i used to use bridged mode which worked perfectly but now i have to use pppoe mode so that i can configure my triband connection in a wifi network. Can anyone plz help me on the above?Thanx.
 
@bladefire_85
reboot.rar
^^ new link for the file

@yohu123
you can have the scheduler close the task after a min .. i have mentioned it in my post.
and there is no harm in rebooting your modem frequently
 
Back