serial port on 951G-2HnD

Hi,

I was wondering if there is a way of getting an (emulated) serial0 port on the 951G-2HnD RB. I would like to play with the /port remote-access to attach some remote modems, but I have no entries in the /port print.
I know that serial port is not available on the board, but isn’t there an option to enable the serial0 in the kernel for the remote-access use case?

Bump? Anyone?

No. That model dont have support for serial port, and never can have it. Forget about that.

The 951G-2HnD has a USB port, have you tried a USB to RS232 adapter?

No, I haven’t yet had a chance to play with one. Actually, my point was to make use of the remote connection since it opens up lots of fun applications, by providing appropriate services on some remote host side, while using just wireless or wired LAN connection to the host.

Hi,

I have a 951Ui-2HnD that I have a USB device connected to but there is nothing listed under ports, any ideas?
All the posts I have read on the forum talks about USB to RS232 but nothing about direct USB connections except for modems and drives.

Device:http://gsmcommander.com/products/#!/GC1281-OEM-Professional-Gsm-Commander/p/15295282/category=3599014

Thanks!

it supports PL2303HX (prolific) and FTDI USB to serial adapters. and yes, it’s a lot’s of fun.

Well, again, usb to serial adapter is a known thing, however it has nothing to do with remote connection. It will require me to physically connect to the other side of the usb to serial adapter, and I wanted to utilize remote connection and control mikrotik from my host which is wirelessly connected to the network.

Maybe you mean special login? http://wiki.mikrotik.com/wiki/Serial_Port_Usage#Accessing_a_serial_device_directly_by_SSH_.2F_telnet_.2F_mac-telnet

You can set up special login user on the device where the serial device is attached. Then, making SSH to this device will give you the console of the attached device. Now if you want to connect from elsewhere, you can make NAT for SSH - so when you initiate SSH with this special user to your RB, you will be redirected to the other PC, directly to the serial device

port will not appear anywhere. all you can do, is forward your ssh connection into the modem console

No, I am talking about this: http://wiki.mikrotik.com/wiki/Manual:Port#Remote_Access, or, in the same document you have referenced, this http://wiki.mikrotik.com/wiki/Serial_Port_Usage#Accessing_a_serial_device_as_if_it_were_physically_connected_to_your_PCs.27_COM_port

Official docs:

If you want to access serial device that can only talk to COM ports and is located somewhere else behind router, then you can use remote-access.

As defined in RFC 2217 RouterOS can transfer data from/to a serial device over TCP connection.

Enabling remote access on RouterOS is very easy:

/port remote-access add port=serial0 protocol=rfc2217 tcp-port=9999

>

So, this basically makes some service on my lan appear as device attached with COM port directly to Mikrotik. I was wondering, why is this feature dependent on existence of a physical serial port? This is a classic case of COM device emulation, which would perfectly fit COM port emulation in the kernel.

As long as it is already supported from the protocol point of view, why can't I enable this functionality for some emulated serial port on mikrotik? The docs above state that I should disable console that is attached to the serial port and then use the serial port to configure remote access.