Community discussions

MikroTik App
 
Zapnologica
Long time Member
Long time Member
Topic Author
Posts: 594
Joined: Fri Sep 25, 2009 8:15 pm
Location: South frica

Can Mikrotik RB ACT as a Serial Device Server?

Sun Jan 31, 2010 6:28 pm

Hi there,

I have seen that The RB have a serial port on, well most of them do, I was working with a friend who connects petrol pumps to computers wirlessly and he was using a device name MOXA http://www.moxa.com/product/NPort_W22502150_plus.htm, it basicaly converts serial to wireless, then there is software on the pc that creates a virtual COM port?

Can mikrotik boards do this?
It would save him allot of time and money, The Moxa also does not support windows 7 which is also a problem?

Thanks
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Can Mikrotik RB ACT as a Serial Device Server?

Sun Jan 31, 2010 7:48 pm

yes, we replaced many moxa's with mikrotik routers... it uses rfc2217 standards. under "/port remote-access" you can set this up.
 
rmichael
Forum Veteran
Forum Veteran
Posts: 718
Joined: Sun Mar 08, 2009 11:00 pm

Re: Can Mikrotik RB ACT as a Serial Device Server?

Sun Jan 31, 2010 9:31 pm

Just be aware that RBs do not support hardware flow control (RTS CTS) and other signals ...
 
Zapnologica
Long time Member
Long time Member
Topic Author
Posts: 594
Joined: Fri Sep 25, 2009 8:15 pm
Location: South frica

Re: Can Mikrotik RB ACT as a Serial Device Server?

Mon Feb 01, 2010 7:17 am

Oh cool, Cause i worked with a MOXA and it jsut pised me off its so thats good news.

What software do you use on the computer to get the virtual com port through the internet?
 
Zapnologica
Long time Member
Long time Member
Topic Author
Posts: 594
Joined: Fri Sep 25, 2009 8:15 pm
Location: South frica

Re: Can Mikrotik RB ACT as a Serial Device Server?

Tue Feb 02, 2010 7:12 am

Just be aware that RBs do not support hardware flow control (RTS CTS) and other signals ...
[*]

Do alot of the hardware devics need RTS ?
 
rmichael
Forum Veteran
Forum Veteran
Posts: 718
Joined: Sun Mar 08, 2009 11:00 pm

Re: Can Mikrotik RB ACT as a Serial Device Server?

Tue Feb 02, 2010 8:45 pm

I don't know :) CTS RTS is used when device is running out of buffers so writes are affected the most as devices are slow. If all you do is read you should be OK.
 
Zapnologica
Long time Member
Long time Member
Topic Author
Posts: 594
Joined: Fri Sep 25, 2009 8:15 pm
Location: South frica

Re: Can Mikrotik RB ACT as a Serial Device Server?

Wed Feb 03, 2010 9:51 am

So what software can i use on windows to create a virtual com port throughthe netwrok to the Mikrotik RB?
 
ciphercore
Member Candidate
Member Candidate
Posts: 155
Joined: Fri Jan 29, 2010 5:48 pm

Re: Can Mikrotik RB ACT as a Serial Device Server?

Wed Feb 03, 2010 4:09 pm

We use these:

http://www.digi.com/products/consoleservers/

Not cheap, but you can find them used. They just work.
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Can Mikrotik RB ACT as a Serial Device Server?

Wed Feb 03, 2010 6:42 pm

 
Zapnologica
Long time Member
Long time Member
Topic Author
Posts: 594
Joined: Fri Sep 25, 2009 8:15 pm
Location: South frica

Re: Can Mikrotik RB ACT as a Serial Device Server?

Thu Feb 04, 2010 7:37 pm

oh thanks for that.

Ok to get it up and running do i need to setup any thing in the mikrotik? or do i just plug in my com device into the RB and the click search button on the software?
 
rmichael
Forum Veteran
Forum Veteran
Posts: 718
Joined: Sun Mar 08, 2009 11:00 pm

Re: Can Mikrotik RB ACT as a Serial Device Server?

Thu Feb 04, 2010 8:03 pm

google: wiki serial mikrotik


...or


click this link: http://wiki.mikrotik.com/wiki/Serial_Co ... cription_2
 
Zapnologica
Long time Member
Long time Member
Topic Author
Posts: 594
Joined: Fri Sep 25, 2009 8:15 pm
Location: South frica

Re: Can Mikrotik RB ACT as a Serial Device Server?

Thu Feb 04, 2010 10:53 pm

Ok i know i allways say this,

but the stuff on the wiki does not mean much to me,
From the looks of it, that is talking about using the serial port from the serial side, not just sharing it over the wireless interface? is that simelar?

Ok i found this:
/port remote-access add port=serial0 protocol=rfc2217 tcp-port=10000
that code you just type in console; it seems to work so far, now i just need to find a serial device to test.

http://wiki.mikrotik.com/wiki/Serial_Port_Usage

Who is online

Users browsing this forum: Hemhems and 22 guests