methods to disonnect the modem after downloading
method 1
Connecting ur modem in bridge mode,then u can easily connect or reconnect the modem with win xp commands
method 2
I think ur modem is in PPPOE mode,then this the method i use
First login into ur modem
Go to Advanced>PPP now u can see two options under "connection settings"
opt 1.
Connection On Demand (Connection will close if idle for minutes)
opt 2.
Manual (Use Connect/Disconnect button only)
Note: the first option "connection on demand" is not working for me here , if that works for u then it will be a better method than the second one
u can also see a disonnect button,clicking it will disconnect ur modem frm the bsnl server
So here is a method to automate the second option
1. Download Autohotkey frm
http://www.autohotkey.com/ (excellent tool for ultimate automation for windows users)
2. install it
3. open notepad and copy paste the code given below & save the file as disconnect.ahk, the extension shud be .ahk
this code is for ut300r2u modem,but if ur modem's firmware is different frm tat of mine u will need to edit the code according to the pages in ur modem,or i will edit it for u but u will need to post the no of steps it took in ur modem.
To find out the actual steps to reach the PPP page,type
http://192.168.1.1/ now dont use mouse only use keyboard and note down the steps like
step1 username entered
step2 pressed tab button(to reach passwd field)
step3 passwd entered
step4 pressed enter
step5 pressed tab 8 times to hightlight advanced ( may be different in urs)
like that note down all the steps
once u have the exact step u can edit this code urself or post ur steps here i will edit the code for u.
Once the script is ready u can shedule this script(disconnect.ahk) to run at 7:30 before compu shutdown.
Wen executed it will lanchung the default browser in ur compu , will login into modem,goes to particular page and disconnects ur modem
Code:
sleep 1000
Run http://192.168.1.1/
sleep 20000
Send admin
sleep 1000
Send {Tab}
send admin{Enter}
sleep 9000
send {Tab 8}
sleep 3000
send {Enter}
sleep 3000
send {Tab 9}
sleep 3000
send {Enter}
sleep 3000
send {Tab 17}
sleep 3000
send {Enter}
sleep 3000
Exit
code explanation
sleep 1000 <----------------- just a delay
Run
http://192.168.1.1/ <------starting browser
sleep 20000 <--------20 second delay for browser to start(20000ms = 20sec)
Send admin <-------- user name (replace admin with ur username)
sleep 1000 <----- delay
Send {Tab} <------ hitting tab to move the cursor to passwd field
send pass{Enter} <----- entering password & hitting enter to login(replace pass with ur password)
........