This is a discussion on Auto Net Connect at 2.00 am using Task Scheduler within the BSNL broadband forums, part of the Broadband Internet Service Providers category; Hey Guys, After fiddling with the various night download managers that are available in this forum, I got totally confused. ...
| |||||||
| BSNL broadband Bsnl broadband internet connection and modems, routers and other bsnl dataone related issues can be discussed here. |
| LinkBack | Thread Tools | Display Modes |
| | #1 |
| Junior Member Join Date: Dec 2008 Location: Within Earshot
Posts: 82
Rep Power: 1 | Hey Guys, After fiddling with the various night download managers that are available in this forum, I got totally confused. Most of them are for those internet connections which are "Always On". In such cases the router needs to be rebooted at 2 am to start a new session. But my connection is PPPoE with authentication (i.e. you have to submit username and password each time you want to connect). For this kind of router configuration, reboot is not necessary. You simply have to logout and login at 2 am again to BSNL servers to start a new session. After some trial and error I came upon the following solution: My Setup: Laptop running Vista. Siemens ADSL router with WiFi. I have named my local WiFi connection as "Wireless" and is setup to connect automatically whenever the router is in range (You can enable this in the properties page of the wireless connection). My internet connection is named "Broadband" and requires input of username and password. I have configured it to redial automatically (say 20 attempts with 3 second intervals between attempts) whenever the line gets disconnected.I have also enabled "Save username and password only for me" on the dialer UI. The Process: 1) Open Windows task scheduler (from System Tools) and create a new task called "WakeUp". Trigger it to start at 2.00 am everyday. Under the Actions tab select "Start a Program" and click on browse for Program script. The Windows/System32 directory will open. Find an executable called "winresume" and select it. After that the program script would look like this "C:\WINDOWS\System32\winresume.exe". Under the Conditions tab select "Start the task only if computer is on AC Power". I have selected this action because I'm not on UPS. In case of a power cut, my router would be off and I would'nt like my laptop to wake up on battery power. For those who have UPS etc. they may modify this option. 2)Create another new task called "Connect Broadband". Select "Run with highest priveleges" under General Tab. Trigger it to start at 2.05 am daily. I have kept a 5 minute window between "Wakeup" and "Connect Broadband" to give sufficient time for the wireless connection to be established after the computer wakes up. (This may take more then a minute, I've noticed) Under the Actions tab select "Start a Program" and click on browse for Program script.The Windows/System32 directory will open. Find an executable called "rasdial" and select it. In the arguments field type in as follows: broadband username password. Here broadband is the name of your broadband connection. Username and pass word are the ones which you use to login. After this the program script would look like "C:\WINDOWS\System32\rasdial.exe broadband username password" Under the Conditions tab enable "Start only if following network connection is available" and choose the name of your wireless network just below. This ensures that broadband will connect only if the wireless connection has been priorly established. For ethernet users, similar modifications can be made. Under the Settings tab enable "Run task as soon as possible after a scheduled start is missed". 3)Create another new task called "Disconnect Broadband". Select "Run with highest priveleges" under General Tab. Trigger it to start at 7.55 am daily. Under the Actions tab select "Start a Program" and click on browse for Program script.The Windows/System32 directory will open. Find an executable called "rasdial" and select it. In the arguments field type in as follows: broadband /disconnect. Here broadband is the name of your broadband connection.(There is a space between broadband and the slash" After this the program script would look like "C:\WINDOWS\System32\rasdial.exe broadband /disconnect" Under the conditions tab enable "Wake the computer to start this task". (This is unnecessary but just as a precaution). Under the Settings tab enable "Run task as soon as possible after a scheduled start is missed" and also "If the running task does not end force it to stop"(These are precautions to ensure that BB disconects) Usage: 1)Start your computer and router, say at about 10 pm. Run utorrent(or whatever) and load up a few torrents.Logoff the internet. Put your laptop to sleep(not shutoff or logout)but keep the router switched on. 2)At exactly 2.00 am the laptop will wake up and will establish wireless connection with your WiFi Router. This will certainly be established within 2 minutes. 3)At exactly 2.05 am the computer will check whether your wireless has been established. It will then try to connect to BSNL broadband using username and password. It it connects, its fine. If not, the dialer application will attempt to reconnect by itself at least 20 times after 3 second intervals.This is also true if the line drops at any other time before 8 am (when you are sleeping). 4)At exactly 7.55 am the computer will disconnect from BSNL broadband. Note: Instead of using the above mentioned "disconnect" script, you may also use a freeware called Auto Net Disconnector which cuts your internet connection at the scheduled time and also switches off your computer. You will find it here -- Auto Net Disconnector Download - Softpedia I have used the above process for a couple of days and found it ok. I felt that when there is a built in task scheduler why not try to use it. The process I have described is for a wifi router and laptop. I think it can also be applied to desktop PCs and normal routers with a few modifications. However I don't know whether it will work with Win XP. I am no computer expert Last edited by udayan; 01-28-09 at 12:57 PM. |
| | |
| | #2 |
| Amor vincit omnia | Thanks for the info. I have always wondered about scheduling in Windows Vista in bridged mode* and router mode. I have saved the link for future reference. *When u dial the connection manually it is known as bridge mode. When the modem dials the connection automatically it is termed as pppoe/router mode. |
| | |
| | #3 |
| Guest
Posts: n/a
| thanks a lot for the info ... repo added ... |
| |
| | #4 |
| Junior Member Join Date: Dec 2008 Location: Within Earshot
Posts: 82
Rep Power: 1 | |
| | |
| | #5 |
| Junior Member Join Date: Jul 2008 Location: madurai Age: 19
Posts: 15
Rep Power: 2 | Thanks.. I've been using Auto Power-on and Shut down to do the trick. It's paid software though. |
| | |
| | #7 |
| Guest
Posts: n/a
| |
| |
| | #8 |
| Junior Member Join Date: Oct 2008 Location: manjapra Age: 21
Posts: 26
Rep Power: 2 | thnx man |
| | |
| | #9 |
| Guest
Posts: n/a
| If you want to automate Night Unlimited Download process, try this http://imran-utilities.synthasite.com/ |
| |
| Tags |
| 200, auto, connect, net |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Any way to auto connect? | mickey | Nokia | 4 | 01-11-09 11:14 AM |
| Auto turn off ?? | thats_me | Nokia | 0 | 10-08-08 09:02 PM |
| how can set modem to auto connect??? | neil_x.rated | BSNL broadband | 3 | 03-06-08 12:19 PM |
| Auto dial up. | agent | BSNL broadband | 1 | 11-10-07 12:33 PM |
| Auto Pc/connection On | ashwinsid | BSNL broadband | 7 | 09-03-07 01:28 PM |