#1
|
|||
|
|||
A connect option.
I think it would be very good because JD won't sometimes reconnect and lose the connection but with this option if that happen JD would connect to the net again, the best way would be a batch script and it's easy, a reconnect batch script looks like this:
@echo off rasdial "connection" /disconnect rem ping -n 20 127.0.0.1 >nul rasdial "connection" "username" "password" and the script we want would look like this: @echo off rasdial "connection" /connect rem ping -n 20 127.0.0.1 >nul rasdial "connection" "username" "password" You notice that we only have to change the disconnect in the second line with connect and it works. |
#2
|
||||
|
||||
Quote:
Rasdial only works if you have a direct connection to your modem. Not if you have a router. But surely "Reconnect" should have the same effect, if you've configured it correctly? My reconnect script does, anyway: first it does a disconnect, waits 5 seconds, then reconnects. But I have looked at some other scripts and they only disconnect, leaving the reconnect to the router to do on demand. Even so, they should work.... sometimes the router thinks it's connected, but nothing is moving. Then a reconnect forces it to make a new connnection. Last edited by Gweilo; 30.03.2009 at 16:04. |
|
|