Menu

Any Linux RFC2217 Client for ser2net?

2014-01-01
2019-05-31
  • Ricardo Costa

    Ricardo Costa - 2014-01-01

    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.

     
    • Corey Minyard

      Corey Minyard - 2014-01-02

      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.


      Any Linux RFC2217 Client for ser2net?
      https://sourceforge.net/p/ser2net/discussion/90083/thread/3af80fd7/?limit=50#f459


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/ser2net/discussion/90083/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Craig McQueen

    Craig McQueen - 2016-06-01

    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.

     
  • Frank Rolsted Jensen

    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

     

Log in to post a comment.