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?
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.
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.
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.
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
>
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.