User Guides The Perfect BSNL Night Unlimited Solution

Here is the trick which i have almost perfected.

The Scenario.

As we all know the night unlimited starts from 2:00 AM and remains active with 8:00 AM. But the catch is that you need to disconnect and reconnect at 2:00 and 8:00 for the billing software of BSNL to register your free night unlimited downloads correctly. For this the best solution is to physically turn off and then turn on the modem @ 2:00 AM and again @ 8:00 AM. But that’s too much of a pain and also "What are comps for!!! ". The other way to do it is logging on to the router and then rebooting it @ 2:00 AM and 8:00 PM. As we all know the Beetel 220BX does reconnect automatically if you set it on the PPPoE mode. We will try to do automate the second process so that we can have our peace of mind during late nights.

The Hardware, The Software and The Settings:

Hardware:

Beetel 220BX Modem
Netgear WGR614 Wireless router
I am making this a little tricky for the simple reason that everybody today has a Wi-Fi router connected to their ADSL modems for ease of use with Notebooks. So the automation has to be done in such a way that all the aspects are taken care of.

Software:

Mozilla Firefox Browser
Notepad :p
utorrent

Settings:

220BX Modem having IP as 192.168.1.1
Router having a static/dymaic IP between 192.168.1.2 – 192.168.1.255
Desktop/Laptops taking Dynamic IP’s from the router between 192.168.1.2 – 192.168.1.255
(Note that if you are not having a Wi-Fi router in between then also it does not make a difference. Only difference will be your Desktop will have a Static IP between 192.168.1.2 - 192.168.1.255. You have dynamic IP’s but I’ll be testing the same with static IP’s.)

Procedure:

First things first. Fire up utorrent and then click on Options>Preferences>Scheduler
Next click on enable Scheduler and then colour the slots between 2:00 – 8:00 to dark green and rest as white(Where Dark Green is full speed and White is Turn off Downloading).
Click on ok. You should see that all the downloading has been stopped (Considering the time is not between 2:00 and 8:00)
Now your utorrent is scheduled.

Next step is to fire up Notepad. Put in this line in the notepad
Code:
 C:\Progra~1\Mozill~1\firefox.exe -new-tab [URL]http://admin:password@192.168.1.1/rebootinfo.cgi[/URL]
Where your username and password for the modem is admin and password. If not then change the username and password with the ones you have saved in your modem.
Save the file as Reboot.bat at a convenient location. Best place is directly in C:\ or your Windows installation partition.
Run it. For the first time your browser will give you an alert message that you are trying to logon to a website with the admin username. Click on ok. Wait for around 1 Min. Your modem should reboot during this time. If not then there is something wrong somewhere. Check everything from the beginning again. And do not proceed further till your modem starts rebooting.

Now that your modem has started rebooting all you need to do is run this file at the desired time of yours. My guess is that about 2:05 AM is a good time to run this file, and again at 7:55 AM. The reason for that is that your PC time is not in sync with BSNL server’s and the 5 minutes rush will save you from those embarrassing bills.
To automate the whole process you need windows task scheduler. While writing this guide i am giving a example of Windows Vista OS and i guess Windows XP will work the same ways. I will try this same thing again at my home and post back if there are any necessary changes which have to me made.

Now click on Start>All Programs>Accessories>System Tools>Task Scheduler
In the Task scheduler on the right hand side in the actions pane click on “Create a basic taskâ€
A new window will pop up. Here in the name field just write “Modem Reboot at 2.05†and in the description field just write â€Take that you BSNL Suckersâ€.
Click on next and select Daily.
Click on next and select the start date as the present date and time as 2:05 AM (Don’t mess up the time. Don’t touch any thing else and click on next.
Click on start a programme and click on next. In this window browse for the reboot.bat file which we have saved earlier in the c:\ or any other desired location where you had saved it earlier. Click on next and then followed by finish.
Now repeat the entire task scheduler process from the beginning for rebooting the modem @ 7:55.
And now you are done. To do a test run you can either change your system time to 2:04 or create a test task scheduler 2 minutes from the present time and run it. But don’t forget to revert back the changes.
All this is fairly simple and almost foolproof. Just to be extra sure you can make the modem reboot @ 2.15AM and schedule a shutdown of windows @ 8:00 AM in the morning. Hopefully this trick should work with every other modem which is available in the market. If not then you need to find out the command to reboot the modem and put it in the bat file.
I found this single command to be a blessing in disguise and hopefully this guide will help quite a few of you in avoiding some billing nightmares.
Switch
Notes:
This guide assumes your modem is set to PPPoE mode and you don’t need to dial manually to connect to the net.
You are using utorrent as your P2P software.
You are on BSNL Night Unlimited and not on MTNL Night Unlimited.
You don’t work on your comp during the night unlimited hours. :bleh:
You don’t have a very big bank balance.

===================================================================

Added later. Suggestion by ..:: Free Radical ::.. for people who use there modem in Bridged mode.

You can simply use rasdial if you are in Bridge mode

copy this into a text file and save it has a .CMD batch file

CONNECT.CMD
Code:
@ECHO OFF

:CONNECT
rasdial <Connection Name> <Phone Number> <Password>
if NOT %ERRORLEVEL% ==0 GOTO FAILED
EXIT

:FAILED
GOTO CONNECT
DISCONNECT.CMD
Code:
rasdial <Connection Name> /DISCONNECT
Where <Connection Name> = Name of the bridge Mode WAN Miniport PPPoE dialer connection in your Network connections folder.
And use task scheduler to run each whenever you desire.
Better than using a browser.
 
Why all this hassle? I've not gone through every post but I'll tell you what I do.

I've set my comp to wake up at 2:30 am via bios.

Before I go to bed, I put stuff for download via torrents. Then I hybernate my pc immediately. and leave the router turned on.

I place a heavy material, usually a book on the enter key so as to automatically go through with the login screen after my comp wakes up. Once thats done, the downloads resume.

I usually wake up later and switch it off before 8.

It's simple and tested working perfectly.
 
No need of all the hanky dorry steps ! simply turn on your modem /router before going to bed, leave it on idle, Schedule the torrent to start @ 2.20 (as bsnl server timings are quite weired ) on your comp and program the computer to shut down @ 8 am.

This thing has been working for me for several months now, with out any issues.
 
ok i have that weird Disconection problem since april where u cannot surf after some time

and cannot access the router ip too

then @ some broadband forum i saw a tip to change it to bridge mode ... thus i did it and my connection is good

my question is

do i need to add that FF script too ?

or the CONNECT & Dissconect script is enough ?

does that mean i just need to run the Disconnect script at 11:59 and run Connect script @ 12:01 and then Dissconect @ 7:55 ... all this without cutting off the power of modem to restart it ?

let me know

Thank you guyz
 
nice work switch, highly appreciated for spending so much time on helping others. But as far as my experience goes there isn't any such limitation. I have been using that in the past & I use to leave my PC by 10PM till 8 AM, I use to have the schedule set in my utorrent for that. But I have never been charged for the money as such for not reconnecting at 2AM in the night. Has there been any change in the policy?
Rating it as five star. :)
 
I've observed that bsnl automatically starts its free download timer at around 2:03 am. I've always noticed one single entry from 2:03 am to 8:03 am.
 
deep_nx said:
ok i have that weird Disconection problem since april where u cannot surf after some time

and cannot access the router ip too

then @ some broadband forum i saw a tip to change it to bridge mode ... thus i did it and my connection is good

my question is

do i need to add that FF script too ?

or the CONNECT & Dissconect script is enough ?

does that mean i just need to run the Disconnect script at 11:59 and run Connect script @ 12:01 and then Dissconect @ 7:55 ... all this without cutting off the power of modem to restart it ?

let me know

Thank you guyz

Yup you have to run the disconnect script at 11.59 pm and then the connect one at say 12.10, then the disconnect one at 7.50 am(all this without cutting off the power of modem) . This way the bsnl registers ur data usuage till 11.59, it will not record the 12.10 to 7.50 one since its during the free usuage period.:eek:hyeah:

Run a shutdown script at 7. 52 am so that the computer shut down ! After u get up from your sleep you can switch off the modem ! :)
 
i have tata indicom broadband connection.
i have an adsl modem and have bought a belkin router.
now when i switch on the router and modem the router auto dials.
i want to schedule my downloads from night 9-9.
however i need to dial at 9 and disconnect at 9. please help me. its a belking g wireless router.
 
Hey guys,

My BSNL modem switches off when power goes off and then when power is back, i have to again connect.

Is there a way to automate this on restart of modem?
Task scheduler can be used to automate login on restart of PC but for modem, i am clueless. Please help.
 
m0h1t said:
^But modem on bridge mode. Dial on PC.

Could you please elaborate on that? I am not getting anything :p

I googled and found a Broadband helper from someone called Imran. Will it be able to do that? Or is there a way to change something in Configuration settings and get it done?
 
clown_abhi said:
Could you please elaborate on that? I am not getting anything :p
I googled and found a Broadband helper from someone called Imran. Will it be able to do that? Or is there a way to change something in Configuration settings and get it done?
oh boy.. No need for any any helpers or the like, It'll prolly be spamware or a trojan or something similar.

First make sure you know you're internet username and password. The username will most prolly be you're phone no.
Go to 192.168.1.1, Username > Admin // Password -> password

Click on Wan > Edit > Next > Select Bridge + LLC/SNP Bridging > Next > Next > Save

Go back to Wan > Click on Save/Reboot
Now setup a Broadband Dialer(PPPoE) on you're PC.
 
Thanks :)

I have to configure the Dialer option in Windows 7, right for broadband dialer?

If the power goes, connection will terminate and the say power comes back after 2 minutes, will the dialer autoconnect?
 
Just set the dialer to auto-reconnect whenever line is dropped.

Alternatively you can schedule the dialer aswell to make it full proof.
 
Back
Top