
special-login add user=serial port=serial0
Rs232 emulator mac serial#
Then connect this username to the desired serial port: user add name=serial password=secret group=read If you want to access the device directly without logging into RouterOS first, use the special-login command.įirst create a new user for access to the serial device: If you really want to send a Ctrl-A character to your serial device you have to type Ctrl-A two times.Īccessing a serial device directly by SSH / telnet / mac-telnet This will return you to your RouterOS console. If you want to exit the connection to the serial device type Ctrl-A, then Q. The Ctrl-A character will not be sent to your device! This will give you access to the device you connected to port serial0.Ĭtrl-A is the prefix key, which means that you will enter a small "menu" by pressing Ctrl-A. The easiest way is the serial-terminal command: Now we're ready to go!Īccessing a serial device from within RouterOS Usually you will have to use a null modem cable (the same thing as a cross-over-cable for Ethernet). Now's the time to connect your device if not already done. You can also try to let RouterOS guess the needed baud rate by setting

port set serial0 baud-rate=19200 data-bits=8 parity=none stop-bits=1 What settings you need to use depends on the device you connect: Using the following command you will set your serial port to 19200 Baud 8N1. Next you will have to configure your serial port according to the serial port settings of the connected device. If you are on a device with only one serial port (like all RouterBoards, WRAP/ALIX boards etc.) you will have to disable the system console on this serial port:īe sure to just disable the console rather than removing it, as RouterOS will recreate the console after the next reboot when you really remove it.
Rs232 emulator mac free#
Please note that there are some #Caveats you should be aware of! Take your time understanding those limits to avoid strange things to happen when connecting a device to a serial port on a RouterBoard.įirst you have to have a free serial port to use for this. Unfortunately RouterOS doesn't provide commands to write/read the serial port directly. There's also a nasty workaround for sending text out over a serial port.
Rs232 emulator mac Pc#

5 Accessing a serial device as if it were physically connected to your PCs' COM port.

4 Accessing a serial device directly by SSH / telnet / mac-telnet.3 Accessing a serial device from within RouterOS.1 Usage possibilities for serial ports in RouterOS.
