Linux – Virtual tty client for network telnet/RFC2217 server

linuxtelnet

I have network device that serves up a telnet/RFC2217 (virtual serial port) interface. On Linux, how do I create a virtual tty that connects to this thing? If I understand correctly, socat doesn't really support telnet and does not support RFC2217.

Best Answer

Please have a look at the ttynvt driver [1]. It supports RFC2217, ioctls and tty line disciplines (tty and PPP).

[1] https://gitlab.com/lars-thrane-as/ttynvt

Related Question