JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 13.04.2020, 23:24
mbider mbider is offline
Modem User
 
Join Date: Apr 2020
Posts: 1
Default fast reconnect for Dlink DSL-2750U

Hi,
Let me share with you this method which allows you to quickly connect a Dlink DSL-2750U router without having to reboot it.
This method works under windows 10 with telnet and a VBS script but it is possible to adapt it for another system.
Script File (named Reconnect.vbs ):
Quote:
set OBJECT=WScript.CreateObject("WScript.Shell")
OBJECT.run"telnet.exe 192.168.1.1"
WScript.sleep 500
OBJECT.SendKeys "mylogin{ENTER}"
WScript.sleep 1000
OBJECT.SendKeys "mypassword{ENTER}"
WScript.sleep 1000
OBJECT.SendKeys "ppp config ppp0 down{ENTER}"
WScript.sleep 4000
OBJECT.SendKeys "ppp config ppp0 up{ENTER}"
WScript.sleep 500
OBJECT.SendKeys "exit{ENTER}"
WScript.sleep 500
OBJECT.SendKeys " "
Change 192.168.1.1 if your router have another adress.

Put the two file Reconnect.vbs and Telnet.exe in same directory.
In "Reconnect Method" Select "Reconnect.vbs" in "command" for "External Tool Reconnect".

By default the Telnet client in Windows 10 is disabled
here's how to enable it
  1. From command line:
    Quote:
    pkgmgr/iu:"TelnetClient"
  2. or from Enabling the telnet client through the graphical user interface:
  • Click the start button, then start typing "Turn Windows features on or off", and select this option, as shown below.
    Turn Windows features on or off
  • The "Turn Windows Features on or off" window should open, scroll down and select "Telnet Client".
  • Click the OK button to proceed.

After that copy telnet.exe from C:\windows\system32 to the common directory with Reconnect.vbs.

This method is inspired by a method found on the Internet that I modified to reconnect the Dlink DSL-2750U router
Attached Images
File Type: png turn-windows-features-on-or-off.png (20.7 KB, 2 views)
File Type: png windows-and-features.png (22.2 KB, 2 views)

Last edited by mbider; 14.04.2020 at 13:49. Reason: method improvement
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 00:53.
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.