This is a discussion on Need help with scheduling rebooting of Huawei router within the BSNL broadband forums, part of the Broadband Internet Service Providers category; Thanks for the gyan. I tried to reboot the router again using system restart command, but nothing happened. The IP ...
| |||||||
| BSNL broadband Bsnl broadband internet connection and modems, routers and other bsnl dataone related issues can be discussed here. |
| LinkBack | Thread Tools | Display Modes |
| | #11 |
| Junior Member Join Date: Jan 2009 Location: Bangalore Age: 44
Posts: 24
Rep Power: 2 | Thanks for the gyan. I tried to reboot the router again using system restart command, but nothing happened. The IP no remained the same, and could browse all sites as usual. I gave the command again, but the response was 'CLI is locked, try after some time'. There was no rebooting of the router, which I checked on the BSNL self care portal. I have also enclosed the modem page of Imrans BB helper, and also the log. There also the program was able to log in to the router, but the response was invalid. What might be the problem? |
| | |
| | #12 |
| Guardian Angel | Try this method: 1) Configure your modem in PPPoE mode, i.e., autodial mode 2) download TST10 (google it) and save it in C:\Windows\System32 folder 3) create two text files enable.txt Code: 192.168.1.1 WAIT "Login: " SEND "admin\m" WAIT "Password: " SEND "admin\m" WAIT "--> " SEND "pppoe set transport 1 autoconnect enabled\m" Code: 192.168.1.1 WAIT "Login: " SEND "admin\m" WAIT "Password: " SEND "admin\m" WAIT "--> " SEND "pppoe set transport 1 disabled\m" with the following contents routerON.bat Code: chdir C:\RouterSwitch c: TST10 /r:enable.txt /o:last_log.txt Code: chdir C:\RouterSwitch c: TST10 /r:disable.txt /o:last_log.txt in C:\RouterSwitch 6) schedule the routerOFF.bat to run 1:50 am and 7:55 am 7) schedule the routerON.bat to run 2:05am and once again at 8:05 am.
__________________ *** Never argue with an idiot. *** All my useful articles and Guides | My Movie Collection | My Blogs ------------------------------------------------------------------------------------------- |
| | |
| | #13 |
| Bronze Member Join Date: Dec 2008
Posts: 108
Rep Power: 2 | Nice Is the scripts enable.txt & disable.txt applicable for any router or for Huawei only. |
| | |
| | #15 |
| Junior Member Join Date: Jan 2009 Location: Bangalore Age: 44
Posts: 24
Rep Power: 2 | I did all that you have mentioned. My modem is already configured in pppoe mode. I created the .txt and .bat files as you mentioned, and scheduled them at the specified times. No reboot of the router occurred, and the last_log.txt folder is empty. What may be the problem ? |
| | |
| | #16 | |
| Guardian Angel | Quote:
What I posted was from a google search. You need to find the exact (telnet) command that will reboot the router. Try this as a script: Code: 192.168.1.1 23 WAIT "Login: " SEND "admin\m" WAIT "Password: " SEND "admin\m" WAIT "--> " SEND "set reboot\m" SEND "\035" 1. Configure in bridge mode 2. Create a dialer and call it "BSNL" 3. Create a batch file with the command: connect.bat rasdial BSNL admin <admin_password> disconnect.bat rasdial BSNL /disconnect Schedule connect.bat at 2:05 AM and disconnect.bat at 7:55 am. Also talk to superprash2003 and visit his blogsite. He is an expert. Last edited by just4kix; 01-14-09 at 11:39 AM. Reason: Automerged Doublepost | |
| | |
| | #17 |
| Bronze Member Join Date: Dec 2008
Posts: 108
Rep Power: 2 | Your problem is really interesting.. As nethack said: "After issuing the command "system restart" if u r not able to issue any further commands (telnet disconnected).. this means ur OS inside ur router is restarted" to confirm this issue can you please upload the screenshot of the usage page of BSNL for the last 3-4 days. As just4kix said: pppoe set transport 1 autoconnect enabled pppoe set transport 1 disabled can you try above commands manually (using windows telnet). Other than theese two things if you could post the screenshot of the outputs of 1) ?/help command just after login to router from windows telnet. 2) pppoe ? command just after login to router from windows telnet. It would be helpful to others.. |
| | |
| | #18 |
| Junior Member Join Date: Jan 2009 Location: Bangalore Age: 44
Posts: 24
Rep Power: 2 | Thanx just4kix, Nethack and DM111PUSP for your inputs. Will definitely post the screen shots, and also mail to superprash. Thanx once again. I have found that I can disconnect the router thru telnet with the command 'pppoe set transport 1 disabled', and reconnect the router thru the command ' pppoe set transport 1 autoconnect enabled'. Maybe if the code of the enable.txt and disable.txt mentioned in the post by Just4kix can be changed, then I may be able to connect. Please opine. Last edited by kinind; 01-14-09 at 10:02 PM. Reason: Automerged Doublepost |
| | |
| | #19 | |
| Bronze Member Join Date: Dec 2008
Posts: 108
Rep Power: 2 | Quote:
So you can use this approach with "Imran's BB helper utility":- 1) Within the application folder of s/w create two sub folders named Connect & Disconnect. 2) Copy BroadBand.exe to Connect folder as Connect.exe, Disconnect.exe in Disconnect folder. 3) Copy Reboot.txt to both folders 4) Change the contents of Reboot.txt under Connect folder to Code: 192.168.1.1 WAIT "*" SEND "admin\m" WAIT "*" SEND "admin\m" WAIT "*" SEND "pppoe set transport 1 autoconnect enabled\m" Code: 192.168.1.1 WAIT "*" SEND "admin\m" WAIT "*" SEND "admin\m" WAIT "*" SEND "pppoe set transport 1 disabled\m" 6) Schedule times for connection and disconnection in both instances. Hope it will work. (Note : if you use these scripts you will NOT get "Invalid Responce" message in the Log file as you are using wildcard * in WAIT statements.) | |
| | |
| | #20 | |
| Guardian Angel | Quote:
1. WAIT "Login: " 2. WAIT "Password: " 3. WAIT "--> " The above commands mean: 1. A "Login: " prompt is displayed on screen and is waiting for user input 2. A "Password: " prompt is displayed on screen and is waiting for user input 3. A "--> " prompt is displayed on screen and is waiting for user input The last WAIT command could wrong. Some router display a "$" sign as a prompt, others may display ">", etc. Then the command needs to be changed to: WAIT "<exact prompt including spaces if any>" | |
| | |
| Tags |
| huawei, rebooting, router, scheduling |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| nokia-siemen C2110 router power problem | lightgreen49 | BSNL broadband | 16 | 02-16-10 05:59 PM |
| LEO-150N-BT Wireless N Storage Router | deepmohan | Computer Accessories | 0 | 02-14-10 12:02 AM |