BSNL Combo500 Night Unlimited automation

anirbandd

Conversation Architect
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.
 

baiju

Ambassador of Buzz
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.
 
OP
anirbandd

anirbandd

Conversation Architect
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

Ambassador of Buzz
open notepad, type the commands and save it with extension .bat and 'Save As Type' All Files. Otherwise the name will be .bat.txt.
 

baiju

Ambassador of Buzz
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

Lost in speed
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.
 
OP
anirbandd

anirbandd

Conversation Architect
@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

Journeyman
^^ 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
 

baiju

Ambassador of Buzz
^^ 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

Journeyman
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?!:-(
 
OP
anirbandd

anirbandd

Conversation Architect
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 ;-)
 
OP
anirbandd

anirbandd

Conversation Architect
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!!
 
Top Bottom