I can't find a Linux client for ser2net capable of controlling the port parameters (speed, parity, etc) trough RFC2217.
I tried cyclades-serial-client (the only one I could find) which in theory should be RFC2217 compliant and aware of the port parameters change on the client tty, but is never able to make ser2net change the parameters on the server.
I don't know if its a bug on ser2net or cyclades-serial-client RFC2217 implementation but I tried to connect with HW-VSP from a windows virtual machine and that proprietary software is able to control ser2net port speed.
Do you know any software for Linux which creates a virtual tty device and is able to pass parameters such as baud rate to ser2net?
I use ser2net in an openwrt router to access a remote device that needs one baud rate in operation but another for configuration and so I need to change the port speed on the fly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The CKU kermit program has rfc2217 capability, that's how I test. But
it doesn't make a virtual tty. The cyclades client is the only other
one I have ever heard of, but I have not tried it.
-corey
On 01/01/2014 05:49 PM, Ricardo Costa wrote:
I can't find a Linux client for ser2net capable of controlling the
port parameters (speed, parity, etc) trough RFC2217.
I tried cyclades-serial-client (the only one I could find) which in
theory should be RFC2217 compliant and aware of the port parameters
change on the client tty, but is never able to make ser2net change the
parameters on the server.
I don't know if its a bug on ser2net or cyclades-serial-client RFC2217
implementation but I tried to connect with HW-VSP from a windows
virtual machine and that proprietary software is able to control
ser2net port speed.
Do you know any software for Linux which creates a virtual tty device
and is able to pass parameters such as baud rate to ser2net?
I use ser2net in an openwrt router to access a remote device that
needs one baud rate in operation but another for configuration and so
I need to change the port speed on the fly.
It should be possible to use CUSE (part of FUSE) in a userspace app to make a virtual serial device that connects to an RFC2217 server such as ser2net.
I have the experience with FUSE (and awareness of CUSE though I've not used it myself so far). I also have experience with RFC2217. I'd be interested to write such an app. But am time-poor at this stage in life. I might be persuaded to do it if there's enough interest.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't find a Linux client for ser2net capable of controlling the port parameters (speed, parity, etc) trough RFC2217.
I tried cyclades-serial-client (the only one I could find) which in theory should be RFC2217 compliant and aware of the port parameters change on the client tty, but is never able to make ser2net change the parameters on the server.
I don't know if its a bug on ser2net or cyclades-serial-client RFC2217 implementation but I tried to connect with HW-VSP from a windows virtual machine and that proprietary software is able to control ser2net port speed.
Do you know any software for Linux which creates a virtual tty device and is able to pass parameters such as baud rate to ser2net?
I use ser2net in an openwrt router to access a remote device that needs one baud rate in operation but another for configuration and so I need to change the port speed on the fly.
The CKU kermit program has rfc2217 capability, that's how I test. But
it doesn't make a virtual tty. The cyclades client is the only other
one I have ever heard of, but I have not tried it.
-corey
On 01/01/2014 05:49 PM, Ricardo Costa wrote:
FYI. python-serial provides RFC2217 support in the latest SVN version. See http://pyserial.sourceforge.net/pyserial_api.html#rfc-2217-network-ports
It should be possible to use CUSE (part of FUSE) in a userspace app to make a virtual serial device that connects to an RFC2217 server such as ser2net.
I have the experience with FUSE (and awareness of CUSE though I've not used it myself so far). I also have experience with RFC2217. I'd be interested to write such an app. But am time-poor at this stage in life. I might be persuaded to do it if there's enough interest.
It would be wonderful to see a CUSE approach and being able to emulate the full line control handling.
On 09/05/2017 03:24 AM, Joaquim Homrighausen wrote:
-corey
The ttynvt driver [1] is based on CUSE. It supports RFC2217, ioctls and tty line disciplines (tty and PPP).
[1] https://gitlab.com/lars-thrane-as/ttynvt