This is a discussion on Help regarding Modem Rebooting Script!! within the BSNL broadband forums, part of the Broadband Internet Service Providers category; I m using Huawei SmartAX MT841 Modem with wi-fi.....I m using PPPoE mode....I want to know modem rebooting script so ...
| |||||||
| BSNL broadband Bsnl broadband internet connection and modems, routers and other bsnl dataone related issues can be discussed here. |
| LinkBack | Thread Tools | Display Modes |
| | #1 |
| Junior Member | I m using Huawei SmartAX MT841 Modem with wi-fi.....I m using PPPoE mode....I want to know modem rebooting script so that i can automate my downloads....i know the scripts for Bridge Mode Connect/Disconnect but i need scripts for modem reboot now that i m on PPPoE mode!! anyone ? help!! |
| | |
| | #2 |
| Platinum Member Join Date: Aug 2007 Location: Chennai
Posts: 4,246
Rep Power: 12 | |
| | |
| | #3 |
| Junior Member | imran's utility not working!! what my problem is i am not able to access telnet. i am using vista and MT841 and have enabled telnet. everytime i connect to my router it says connection to host lost!! |
| | |
| | #4 | |
| Platinum Member Join Date: Aug 2007 Location: Chennai
Posts: 4,246
Rep Power: 12 | start run telnet 192.168.1.1 23 any result ? 2. In "Always On" PPPoE mode, utility may not work. The auto script tries to open the modem and connect to Internet. at scheduled time. ( TST10 telnet script) Quote:
See forum "Broadband How to .. ) for more details. | |
| | |
| | #5 |
| Platinum Member Join Date: Feb 2008
Posts: 2,692
Rep Power: 5 | |
| | |
| | #6 | |
| Silver Member Join Date: Apr 2008 Location: delhi Age: 23
Posts: 420
Rep Power: 2 | Quote:
you can see my post about the same happening at the following link :- http://www.indiabroadband.net/bsnl-b...d-utility.html (Help with Imran's brodband utility ......) i guess this "connection to the host lost" is a BUG in vista telnet ............... but you can automate this by using the autohotkey method like i did ...................the link to the post is as under :- http://www.indiabroadband.net/broadb...html#post32035 (Automatic rebooting of router at 2 AM and 8 AM) you may follow the following steps to do it :- (1).create the script required to reboot as mentioned in the linked post (find the correct script which works for your modem type). (2).convert the .txt file to .exe file . (3).then schedule the script using the inbuilt task scheduler of Vista . (4).but here the point which needs to be kept in mind is that TO RUN THE SCRIPT FOR ABOUT 25-50 TIMES CONSECUTIVELY AFTER A TIME GAP OF ABOUT 2 SECONDS AFTER EACH EXECUTION ................. the motive of this is that while Vista may show "Connection to the host lost" at times but then since you have scheduled it to run a no. of times it would get executed one or the other time ......... this is how i got over this problem of "connection to the host lost" hoepfully this info helps you ................ | |
| | |
| | #7 |
| Junior Member | when using .ahk--> .exe file its just opening telnet window and then nothing happens |
| | |
| | #8 | |
| Silver Member Join Date: Apr 2008 Location: delhi Age: 23
Posts: 420
Rep Power: 2 | Quote:
then you may do the alterations to the script for your modem type .......... and yeah the script mentioned in the link (autohotkey one)didn't work for me either so for the time being i would advice you to try the script line-by-line ........... Oh!sorry basically i'm afraid ............. i guess i have deleted the original script which worked for me .......... and just have the converted .exe file but anyways don't worry about the script i would by tomorrow re-work on it and get you the script which works in windows vista ............. for the time being i can only advice you to try the script line-by-line i.e. first try running just the first and move on accordingly and check the output at every stage ................ Here's the script which works for me in Windows Vista - Run telnet.exe Send o{SPACE}192.168.1.1{ENTER} Send admin{ENTER} [Enter your logon id here in place of admin] Send admin{ENTER} [Enter your logon password here in place of admin] Send reboot{ENTER} Just change the login name and password accordingly and as well the reboot command for your modem type ........ after having converted the script into .exe file try it just by double clicking it (try it for a no. of times )....... hopefully this script helps ......... if you have any further problems just post in the forum .......... Last edited by eruptionjoojo; 04-07-09 at 12:00 AM. Reason: Automerged Doublepost | |
| | |
| | #9 |
| Junior Member | Run telnet.exe Send o{SPACE}192.168.1.1{ENTER} after it it asks for login and when i am about to type my login it gives an error as follows: connection to host lost press any key to continue.... this is what my problem is.....not being able to telnet my router...i know the script for my router....but its not working just because telnet not working.... |
| | |
| | #10 | |
| Silver Member Join Date: Apr 2008 Location: delhi Age: 23
Posts: 420
Rep Power: 2 | Quote:
first of all please tell me how many times did you try to telnet your router manually and did you read that post which i had posted about the same problem completely ................ ?? there is no need to type the username manually ............... as that is what the script is all for ......... ok now leave the script and try the manual method .............. we would get back to the script later ............. so i guess you must try to telnet your router more than one's (the manual way) ......... just type the below mentioned commands in the command prompt window :- (1).C:\>telnet {the above command would open telnet} (2).telnet>o 192.168.1.1 {after this you may get the "connection to the host lost"error but then after a no. of trials you would get to the login screen asking for username } (3).If you were successful i mean the "connection to the host "error didn't appear ............ then you need to type your username name/login name at the login prompt and press ENTER ........................ Login:admin NOTE:-inbetween this as well "Connection to the host lost " error may appear and but then you got to re-try again the above mentioned steps .................. (4).then if everything goes right you would be prompted for the password ............. Password:admin now type the password into the password prompt ................... now again i would say that the "connection to the host lost" error may appear but after re-trying a no. of times the above mentioned steps in the sequential order you would be able to login successfully .................... Login successful --> hopefully this helps ............... | |
| | |
| | #11 |
| Junior Member | i m getting this error!! i m not talking about script but manual access success rate is less than 10% not able to telnet manually moreover we cannot depend on hit and trial method by running the script a number of times..... i am getting this connection lost error from like last 100 tries anyways thank you alll for ur valuable help... my problem for rebooting has been solved but by using macro recorders they can record every actions of urs and u can later schedule it a must try for automated downloads or any other autamation!! google it out "Macro Recorder" |
| | |
| | #12 | |
| Silver Member Join Date: Apr 2008 Location: delhi Age: 23
Posts: 420
Rep Power: 2 | Quote:
| |
| | |
| | #13 |
| Bronze Member Join Date: Jan 2008
Posts: 102
Rep Power: 2 | it says System cannot find the path specified ->run,telnet.exe am using win7 |
| | |
| | #14 |
| Platinum Member Join Date: Jan 2009 Location: Chennai
Posts: 810
Rep Power: 3 | from MS VISTA onwards Microsoft have made telnet as an add-on feature to use that you will have to go to Control Panel > Programs and Features > Select TASK Turn on windows features on and off > Windows Features Pop-up window will open > Select Telnet Client (from the list) > Click OK. Installation will begin which will take significant time and you are done. |
| | |
| | #15 |
| Bronze Member Join Date: Jan 2008
Posts: 102
Rep Power: 2 | thanks for the help. i installed telnet and now when i run the compiled exe the telnet window opens, which is just like cmd prmt, and nothing else happens. i manually used telnet and it worked, but when using the script nothing happens |
| | |
| | #16 |
| Platinum Member Join Date: Jan 2009 Location: Chennai
Posts: 810
Rep Power: 3 | @George101 1). Which script are you using? 2). Whats the make of your modem/router? Last edited by deepmohan; 06-08-09 at 04:09 PM. |
| | |
| | #17 |
| Junior Member | Windows Vista and 7 has some problems with Telnet!! You wont be able to login to ur router thru telnet even after enabling it!! dont know why!! seems a bug with vista and 7!! Instead use macro-expert program for automating task!! i am using the same!! its working!! check out my thread on "Automated Tasks" |
| | |
| | #18 | ||
| Platinum Member Join Date: Jan 2009 Location: Chennai
Posts: 810
Rep Power: 3 | Quote:
![]() I have vista its working fine for me... no problem with telnet. Quote:
| ||
| | |
| | #19 |
| Junior Member | i was using vista too....and it wasnt working.....other users also reported the same problem.....everytime u enter ur login id....it says connection to host lost....now m using windows 7....same problem exists.... |
| | |
| | #20 |
| Bronze Member Join Date: Jan 2008
Posts: 102
Rep Power: 2 | wen i manually use telnet there is no problem, but when i use any script to start telnet, telnet opens with a blank window and doesnt do anything no matter what we type !!! |
| | |
| Tags |
| modem, rebooting, script |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Rebooting Modem In Ubuntu(Linux) | eruptionjoojo | BSNL broadband | 19 | 04-02-09 10:35 PM |
| Easy way of auto-rebooting WA3002G4 modem. | ozdesi | BSNL broadband | 26 | 11-16-08 12:45 AM |
| Request For Java Script To Power On The Modem Ut300r2u | ravi07 | BSNL broadband | 8 | 04-09-08 02:19 AM |
| Help!script To Download B/w 2-8 A.m. | deepak19892009 | BSNL broadband | 2 | 04-06-08 10:32 PM |
| Airtel Broadband: Modem rebooting during game | satya_love | Airtel Broadband | 1 | 12-22-07 04:24 PM |