JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 26.03.2009, 21:16
AltairAC
Guest
 
Posts: n/a
Default 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.
Reply With Quote
  #2  
Old 30.03.2009, 17:00
Gweilo's Avatar
Gweilo Gweilo is offline
JD Legend
 
Join Date: Mar 2009
Posts: 725
Default

Quote:
Originally Posted by AltairAC View Post
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:

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 17:04.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 16:25.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.