Currently, I need to develop a program that will communicate with cisco devices on a serial line. I want to create a test environment on my linux development machine. So, I found a dynamic cisco emulator. This emulator can provide an interface via a serial line with the -U / dev / ttyS0 option. Well, this makes the speakers open the hardware serial port and exchange data through it. I can connect to this hardware serial port from another Linux device with a serial client like minicom.
However, since I use virtual boxing for both Linux machines, I bind serial ports using the virtual boxing feature to forward the serial port to the named pipe. This circuit seems to work, but is very rich. I am looking for a method to run dynamips and minicom on the same Linux machine.
I found that pseudo-terminals can be useful in my case. But I tried to run dynamips using "-U / dev / ptmx" and then connect using minicom to the created / dev / pts / ... port and vice versa. In both cases, I have an I / O error on both sides.
source share