MTNL Wireless Router (UTStarcom T-KD-318-EW) Reboot

  • Thread starter Thread starter nimbuz
  • Start date Start date
  • Replies Replies 1
  • Views Views 4,318

nimbuz

Regular
Messages
119
Location
NA
ISP
MTNL 849NU - 2.1 mbps
Hi,

I was able to successfully reboot the MTNL Wireless router using the "set reboot" command.

This is how you do it from command prompt:

1. Type "telnet 192.168.1.1"
2. Enter your password
3. Type "set reboot"

Done!

Although I'm not sure how to automate this on windows, but this is the applescript I run at scheduled times to reboot on my mac:

Code:
tell application "Terminal"    do script "telnet 192.168.1.1" -- this opens a new window    set wID to id of front window -- grab the new window's ID    set loopCount to 0    repeat until (last word of (contents of window id wID as text) = "password")        set loopCount to loopCount + 1 -- increment the counter        if loopCount = 50 then            say "Reboot failed. Please check immidiately!"            tell application "GrowlHelperApp"                notify with name ¬                    "Test Notification" title ¬                    "Reboot Failed!" description ¬                    "Reboot Failed!" application name "Growl AppleScript Sample" sticky yes            end tell            quit            return        end if        delay 2        do script "telnet 192.168.1.1" in front window    end repeat    do script "mypasswordhere" in window id wID    delay 2    do script "set reboot" in window id wID    say "Successfully Rebooted!"    tell application "GrowlHelperApp"        notify with name ¬            "Test Notification" title ¬            "Reboot Successful!" description ¬            "Reboot Successful!" application name "Growl AppleScript Sample" sticky yes    end tell    quitend tell
If you need further help scheduling this applescript, PM me.

Hope it helps some.
 
Back