Guest cosmas Posted February 5, 2004 Share Posted February 5, 2004 (edited) Hi all sorry for my bad english I have a question. Can you help me, i want reboot my Modem at the serial port of my server. I have a script, that works with IP and Telnet, but i would like modify to reboot the same device at serial port of my server. Can you help to modify this script?: run, telnet.exe 192.168.1.1 send, 5623{ENTER} send, 24{ENTER} send, 4{ENTER} send, 21{ENTER} WinClose, Telnet 192.168.1.1 exit many thanks for your help! cu COSMAS Edited February 5, 2004 by cosmas Link to comment Share on other sites More sharing options...
murmel Posted February 5, 2004 Share Posted February 5, 2004 (edited) Hi allsorry for my bad englishI have a question. Can you help me, i want reboot my Modem at the serial port of my server. I have a script, that works with IP and Telnet, but i would like modify to reboot the same device at serial port of my server. Can you help to modify this script?:run, telnet.exe 192.168.1.1send, 5623{ENTER}send, 24{ENTER}send, 4{ENTER}send, 21{ENTER}WinClose, Telnet 192.168.1.1exitmany thanks for your help!cu COSMAS hi i have this cod in my BOT sript for diablo PINDELBOT hope this help!!SRY FOR MY BAD ENGLISCH IM GERMAN^^;Change IP ADRESS (example with adsl modem);==========================================ChangeIpAdress:IfEqual, TimeOut, 1, goto, DontNeedResetIptryipchangeagain:Run, %A_SCRIPTDIR%\\System\\pv.exe -kf cmd*sleep, 1500run, cmdsleep, 2000send,{enter}sleep, 300send,telnet 10.0.0.138sleep, 300send,{enter}sleep, 1500send,{enter}sleep, 1000;password of my adsl modem... send, ******** send,{enter}sleep, 1000ifwinnotactive,Telnet 10.0.0.138,,goto, tryipchangeagainsend,system rebootsleep, 1000send,{enter}sleep, 3000Run, %A_SCRIPTDIR%\\System\\pv.exe -kf cmd*Run, %A_SCRIPTDIR%\\System\\pv.exe -kf telnet*sleep, 60000FileAppend, \n %A_MON%/%A_MDAY%/%A_HOUR%:%A_MIN%:%A_SEC% > Changed @ip adress !!! , MURMELBOTLOG.txtDontNeedResetIp:SetEnv, TimeOut, 0RETURN Edited February 5, 2004 by murmel Link to comment Share on other sites More sharing options...
Guest cosmas Posted February 7, 2004 Share Posted February 7, 2004 hi murmel no, i want connect my modem a the serial port. I can't connect with IP because my Modem ist config as bridge. can you help me, the Telnet IP Script to replace for serial modem? many thanks COSMAS Link to comment Share on other sites More sharing options...
Recommended Posts