Dataone Night UL : How to restart my wifi modem automatically?

Status
Not open for further replies.

anish_sha

Contributor
Hi guys , im using winvista, pls help me to create a bat file or something else such tht i can restart my modem at 2 AM and use for downloading..
 
its : rasdial (username) ( password )

and schedule it to 2

for disconnecting at 8 AM:

rundll32 iedkcs32.dll,CloseRASConnections
 
Create CONNECT.BAT with the following

Code:
@ECHO OFF

:CONNECT

rasdial <connection name> <username> <password>

if NOT %ERRORLEVEL% ==0 GOTO FAILED

EXIT

:FAILED

GOTO CONNECT

And DISCONNECT.BAT with

Code:
rasdial <connection name> /DISCONNECT

Schedule the CONNECT.bat @ 2.02am and the Disconnect @ 7.58am.

P.S. - connection name means the name you gave for the dialer. If you didn't give anything, r8 click on the dialer icon->rename->give a short name.
 
Code:
"D:\Program Files\Internet Explorer\iexplore.exe" 
"http://192.168.1.1/rebootinfo.cgi"

This is what I use for restarting my BSNL WA3002g modem.
 
sajitsm said:
Code:
"D:\Program Files\Internet Explorer\iexplore.exe" 
"http://192.168.1.1/rebootinfo.cgi"

This is what I use for restarting my BSNL WA3002g modem.

just paste the code in notepad ans save as a .bat file and run it at 2 am ?
 
yeah...that should do it. make sure u have password set for your windows user. otherwise scheduled task wont work. you may have to run it again at 8AM to reset the counter.
 
Why the hell bother about rebooting modem ! Just Schedule your downloads for Start @ 2AM !You do need to reboot your modem at all, all downloads & uploads after 2AM will Automatically qualify for night unlimited after 2am,

This is working for me for past 8 Months without any problems, I just make sure that all downloads are scheduled after 2.20 am only,just to be sure of an timing mismatch with bsnl server.
 
I think you are just lucky...The story is not same everywhere and those BSNL counters...boy do they suck! I had my experience and sure OP wud have experienced the same sort which made him open this thread on the first place.
 
sajitsm said:
yeah...that should do it. make sure u have password set for your windows user. otherwise scheduled task wont work. you may have to run it again at 8AM to reset the counter.

done that i worked when i was running on windows xp , now i am on windows 7 , not working for me:ashamed::ashamed:
 
anish_sha said:
done that i worked when i was running on windows xp , now i am on windows 7 , not working for me:ashamed::ashamed:
Just download this. Everything is covered including modem reboots, s/w lauch/close, shutdown etc. Using this since I moved to Windows 7.
 
sg3707 said:
It seems restarting is not required for BSNL these days. Did you check the data usage around 2:00 AM
Well those BSNL geezers could strike anytime. Yes I been a victim :X
 
the problem with these softwares is that theres is no option to change the dsl homepage ip adress.. by default it is 192.168.1.1 but mine is 192.168.2.1 as i am using one more router as a repeater

--- Updated Post - Automerged ---

how can i create a .bat file to restart the modem?
 
Status
Not open for further replies.