DIGIT-ARC read-only archive · snapshot: July 23, 2026

BSNL Combo500 Night Unlimited automation

26 posts · originally from https://geek.digit.in/community/threads/bsnl-combo500-night-unlimited-automation.166962/

anirbandd
anirbandd Original post #1
Nov 30, 2012 at 8:52 AM
i use the above plan, with night unlimited 2am-8am. gives decent speed of 250kBps (2mbps).

main problem is the 2am time start. its hard to get up at 2am, and for the last few days, with winter setting in, its even harder, to leave the warm bed in the middle of the night. so for the last week, i could not dl anything.

is there anyway to automate the download process?? i can set up task to switch on my comp at 2am and start utorrent, but is there any way to dial the connection?? someone told me that scripts could be written for dialing the connection.

Please help.
R
Nov 30, 2012 at 9:14 AM
I believe there is a way out.@Skud can help you with this.
baiju
baiju #3
Nov 30, 2012 at 10:58 AM
I was using a pair of .bat files and windows task scheduler to do exactly the same before upgrading to 750UL plan.

Create a batch file 'Dial.bat' and the command to use is rasdial "Broadband Connection" username password

Here 'Broadband Connection' is the name of the internet connection to dial. Replace 'username' and 'password' also appropriately.

To disconnect create another batch file Disconnect.bat with command rasdial "Broadband Connection" /disconnect

Now open Windows Task scheduler and create a task with name 'dial connection'. Click triggers > New to set the time at which the task to start. Enter time as 02.00 and select the option 'Daily'. Now click Actions > New > Select the Dial.bat file to run. Click Conditions and select the option 'Wake the computer to run this task'. Save the task created. To fool proof you can repeat the task by adding more triggers at 2.05 am, 2.30 am, 3.00 am etc. because in some cases the first dial may not work. Similarly create a new task for disconnect connection at 8.00 am. If you want to shutdown the computer then append the command shutdown.exe -s -f to the Disconnect.bat file.

Put the computer in sleep mode and the system will awake at 2.00 am and dial the connection. Instead of sleep mode, you can use the timer function in bios to cold start the pc at 2.00 am also.
anirbandd
Nov 30, 2012 at 12:04 PM
this is the thing i was talking about!! thank you @baiju!!

How do i create a .bat file?? :p

allright.. got a good link.. sharing for myself [ :p ] and for people with similar issues...

*pranavashok.com/blog/2009/07/scheduling-your-bsnl-broadband-connection-during-night-unlimited/
baiju
baiju #5
Nov 30, 2012 at 12:47 PM
open notepad, type the commands and save it with extension .bat and 'Save As Type' All Files. Otherwise the name will be .bat.txt.
anirbandd
Nov 30, 2012 at 12:53 PM
yup.. set the schedules... keeping the fingers crossed now ;)
baiju
baiju #7
Nov 30, 2012 at 12:59 PM
You can test it by pressing 'Run' button or enter a test time and put the pc to sleep and see if pc wakes up and connects to internet.
Flash
Flash #8
Nov 30, 2012 at 4:58 PM
When i had this connection, i sometimes manually wakeup to put downloads and fall asleep, to wake again by 8 :lol:
Really, an useful thread and i suggest this to move to tutorial.
krishnendu
Nov 30, 2012 at 5:36 PM
@baiju I use utorrent scheduler but its a nice and proper way to do things. Thanks mate :)
anirbandd
anirbandd #10
Nov 30, 2012 at 5:53 PM
@baiju I use utorrent scheduler but its a nice and proper way to do things. Thanks mate :)

i too use scheduler.. my main motive was to Switch the pc on bfore dl, not keeping it on. with, the rising electricity costs, that was necessary.
krishnendu
Nov 30, 2012 at 6:02 PM
^^ this can be done by the cold start from bios however I don't know how to do this.
I have no problem with the power off issue coz my mother switch off the modem every mornng at 8. lol thanks to mom :D
anirbandd
anirbandd #12
Nov 30, 2012 at 6:05 PM
^^ this can be done by the cold start from bios however I don't know how to do this.

:facepalm: then why say?

how do you start the dl?? stay awkae till 2am?
krishnendu
Nov 30, 2012 at 6:10 PM
No I keep my PC on from 11am. This is a bad option though. Need a wayout.
anirbandd
anirbandd #14
Nov 30, 2012 at 6:19 PM
No I keep my PC on from 11am. This is a bad option though. Need a wayout.

bingo!! :D

When i had this connection, i sometimes manually wakeup to put downloads and fall asleep, to wake again by 8 :lol:
Really, an useful thread and i suggest this to move to tutorial.

sure.. if the mods agree :)
krishnendu
Nov 30, 2012 at 6:40 PM
^^
Got it:hyper:

There is an Alarm option in BIOS to AUTO POWER ON. Solved. :wink:
baiju
baiju #16
Nov 30, 2012 at 6:47 PM
^^ Yes. It is usually under the bios power settings like Wake ON ALARM. But I found keeping the PC sleep much better since sometimes the bios alarm didn't work for me. I tried different scheduler tools but found the windows scheduling to be the best.
digit.sh
digit.sh #17
Nov 30, 2012 at 10:50 PM
No I keep my PC on from 11am. This is a bad option though. Need a wayout.

I have the same plan and I keep my WiFi modem on (pppoe mode) from 11 P.M. when I go to sleep. I download on netbook which I keep on 24/7/365 :) Inverter takes care of the modem in case of sudden loadshedding, which is ofcourse very very rare now a days. :) Ktorrent on ArchLinux has nice scheduling options including queue manager(to control the order in which the torrents will download) and fine grain control over up/down speed per torrent. :) cron takes care of starting/killing ktorrent at the desired time. Wget takes care of direct downloads. Thats it. :cool:

Btw, its time we should get 2mbps totally unlimited plan. Whats BSNL doing?!:-(
anirbandd
anirbandd #18
Nov 30, 2012 at 11:52 PM
task scheduling is way better than bios fiddling...


agree.. its time bsnl stopped sitting onthe job. the least it could would be to extend the happy hours 8pm to 8am... gimme 12hrs and i'll be happy ;-)
krishnendu
Dec 1, 2012 at 12:20 AM
Btw, its time we should get 2mbps totally unlimited plan. Whats BSNL doing?!:-(

lol. :D 2am most annoying, their plan is 6hrs unlimited but 12am to 6am would have been better rather than 2 to 8.
anirbandd
anirbandd #20
Dec 1, 2012 at 8:44 AM
thats where bsnl played it nasty.. they fixed a starting time when most people would be unable to wake up. it resulted in a huge decrease of its server load.


my task scheduler started my dls beautifully last night.. now i have some peace of mind... thanks again baiju!!
D
duke123 #21
Dec 1, 2012 at 8:16 PM
^^^ gus have a look at this..it works for me...automatic PC power on from Hibernation...
PC auto shut down and turn on - Auto Power-on & Shut-down
anirbandd
anirbandd #22
Dec 1, 2012 at 9:21 PM
baiju's soln deals with the "auto wake up from sleep" problem without a 3rd party s/w. not to mention, it effectively addresses auto connection dialing and utorrent startup.

i thank you for your input, but going through the thread before posting will be appreciated.
D
duke123 #23
Dec 2, 2012 at 12:06 AM
i thought above bat files woe up from sleep and not hibernation...this software wakes PC up from hibernation mode and sleep and it has lots of other functions...

if you want to get better options you should read others opinions fully...
anirbandd
anirbandd #24
Dec 2, 2012 at 12:37 AM
dont get me wrong bro.. but i did read the thing... and the bat files do wake up from hibernation.

i am sorry if i sounded rude.
baiju
baiju #25
Dec 2, 2012 at 8:15 AM
The bat files can wake up pc from hibernation also. I have tried all these - sleep, hibernation, bios wakeup and third party tools.
anirbandd
anirbandd #26
May 29, 2013 at 10:03 PM
Mods may lock thread :)