JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 27.02.2010, 20:51
nasu
Guest
 
Posts: n/a
Default Zmiana IP TP-Link W8901G przez telnet

Witam
Mój ruter TP-Link W8901G
Firmware Version: 3.0.1 Build 091015 Rel.02846
ADSL Firmware Version: FwVer:3.11.2.167_TC3086 HwVer:T14.F7_5.0
Zmiana IP
Przez telnet
Tworzymy plik restart.bat lub wpisujemy w zakładce "Wybór metody/Wsadowe"
Jeśli inne hasło jak "admin" to należy zmienić na swoje.
Quote:
@ECHO OFF
rem :: :::::::::::::::::::::::::::::::::::::::::::::
rem :: temp_SendKeys.VBS will contain the "commands"
ECHO.set handler=WScript.CreateObject("WScript.Shell")>temp_SendKeys.VBS
ECHO.WScript.sleep 1500 >>temp_SendKeys.VBS


rem :: :::::::::::::::::::::::::::::::::::::::::::::
rem :: Host
ECHO.handler.SendKeys "open 192.168.1.1~" >>temp_SendKeys.VBS
ECHO.WScript.sleep 1000 >>temp_SendKeys.VBS


rem :: :::::::::::::::::::::::::::::::::::::::::::::

rem :: Send Password
ECHO.handler.SendKeys "admin~" >>temp_SendKeys.VBS
ECHO.WScript.sleep 1500 >>temp_SendKeys.VBS

rem :: Send Command
rem
ECHO.handler.SendKeys "wan adsl reset~" >>temp_SendKeys.VBS
ECHO.WScript.sleep 1000 >>temp_SendKeys.VBS


rem :: :::::::::::::::::::::::::::::::::::::::::::::
rem :: Logout
ECHO.handler.SendKeys "exit~" >>temp_SendKeys.VBS
ECHO.WScript.sleep 1250 >>temp_SendKeys.VBS
ECHO.handler.SendKeys " ~" >>temp_SendKeys.VBS
ECHO.WScript.sleep 1250 >>temp_SendKeys.VBS
ECHO.handler.SendKeys "quit~" >>temp_SendKeys.VBS
ECHO.WScript.sleep 1250 >>temp_SendKeys.VBS

rem :: Open Telnet
start telnet.EXE

rem :: Run the script
cscript//nologo temp_SendKeys.VBS

rem :: Delete temp_SendKeys.VBS
DEL temp_SendKeys.VBS

quit
exit
Reply With Quote
  #2  
Old 25.07.2010, 20:22
mcsimek
Guest
 
Posts: n/a
Default

super sposób z **External links are only visible to Support Staff****External links are only visible to Support Staff**
Code:
Witam, 
utwórz skrypt w jdownloaderze za pomocą przycisku "utwórz skrypt ponownego połączenia" (wcześniej obok wpisz użytkownika, hasło i ip routera) 
otwiera się wtedy okno przeglądarki w którym logujesz się na stronę konfiguracyjną routera 
klikamy zakładkę "interface setup" 
klikamy zakładkę "internet" 
wybierz virtual circuit pvc na którym masz połączenie (jeżeli nie jest wybrany odpowiedni) 
klikamy na górze radio button "deactivated" 
klikamy na dole "save" 
klikamy na górze radio button "activated" 
klikamy na dole "save" 
po chwili jdownloader zapyta o zapisanie skryptu 
potwierdzamy i testujemy nowy skrypt za pomocą przycisku "zmień adres ip" 

testuję to kilka dni i zmiana ip zajmuje kilka sekund:D
naprawde, jedynie 20 sek. !
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 18:03.
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.