Community discussions

MikroTik App
 
User avatar
sytex
Trainer
Trainer
Topic Author
Posts: 87
Joined: Fri May 23, 2008 10:35 am
Location: Hungary

Serial port on Mikrotik Device

Thu Jan 29, 2009 7:02 pm

Is there possible way to send out more commands to the serial port from one script, and wait for the OK string between the commands?
 
User avatar
JJCinAZ
Member
Member
Posts: 476
Joined: Fri Oct 22, 2004 8:03 am
Location: Tucson, AZ
Contact:

Re: Serial port on Mikrotik Device

Thu Jan 29, 2009 7:15 pm

Not easily done. Search the forums for some kludges. What you really want/need is for Mikrotik to add expect to the router.
 
User avatar
sytex
Trainer
Trainer
Topic Author
Posts: 87
Joined: Fri May 23, 2008 10:35 am
Location: Hungary

Re: Serial port on Mikrotik Device

Thu Jan 29, 2009 11:31 pm

Sorry I can't understand your last sentence.. :(
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24749
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Serial port on Mikrotik Device

Fri Jan 30, 2009 10:53 am

http://en.wikipedia.org/wiki/Expect

but it will not be added to RouterOS, so that sentence was not that important
No answer to your question? How to write posts
 
User avatar
JJCinAZ
Member
Member
Posts: 476
Joined: Fri Oct 22, 2004 8:03 am
Location: Tucson, AZ
Contact:

Re: Serial port on Mikrotik Device

Wed Feb 04, 2009 4:33 pm

Okay, that last reply was quite funny given your signature.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24749
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Serial port on Mikrotik Device

Thu Feb 05, 2009 9:29 am

Well, you did _receive_ and answer, didn't you ?
No answer to your question? How to write posts

Who is online

Users browsing this forum: No registered users and 30 guests