Sign in to follow this  
Followers 0
Guest cosmas

Rebootscript For Serial Modem Device

3 posts in this topic

#1 ·  Posted (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 by cosmas

Share this post


Link to post
Share on other sites



#2 ·  Posted (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

B) 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, DontNeedResetIp

tryipchangeagain:

Run, %A_SCRIPTDIR%\\System\\pv.exe -kf cmd*

sleep, 1500

run, cmd

sleep, 2000

send,{enter}

sleep, 300

send,telnet 10.0.0.138

sleep, 300

send,{enter}

sleep, 1500

send,{enter}

sleep, 1000

;password of my adsl modem... :whistle:

send, ********

send,{enter}

sleep, 1000

ifwinnotactive,Telnet 10.0.0.138,,goto, tryipchangeagain

send,system reboot

sleep, 1000

send,{enter}

sleep, 3000

Run, %A_SCRIPTDIR%\\System\\pv.exe -kf cmd*

Run, %A_SCRIPTDIR%\\System\\pv.exe -kf telnet*

sleep, 60000

FileAppend, \n %A_MON%/%A_MDAY%/%A_HOUR%:%A_MIN%:%A_SEC% > Changed @ip adress !!! , MURMELBOTLOG.txt

DontNeedResetIp:

SetEnv, TimeOut, 0

RETURN

Edited by murmel

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0