public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeffrey Altman <jaltman-WLbs8XpHrcb2fBVCVOL8/A@public.gmane.org>
To: Peter Astrand <peter-+4tYiAq3b6azQB+pC5nmwQ@public.gmane.org>
Cc: ltsp-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Corey Minyard <minyard-HInyCGIudOg@public.gmane.org>,
	d.sbragion-eDKEdzQQoQ4L5bzFcGmneg@public.gmane.org,
	linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Serial port redirection
Date: Wed, 03 Dec 2003 11:36:17 -0500	[thread overview]
Message-ID: <3FCE1101.40502@columbia.edu> (raw)
In-Reply-To: <Pine.LNX.4.44.0312031557190.12826-100000-K9BqGu7AvB3wj5YHdwD3Ga2PxDmRETKR@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 3287 bytes --]

Its not a Kermit bug; If you pass the socket file descriptor to an 
external program
the external program must understand telnet protocol.  Otherwise, it 
can't send the
correct data format.



Peter Astrand wrote:

>>Hi. I'm trying to find a generic serial port redirection solution for a
>>Linux terminal server environment. I'd like a solution based on RFC2217.  
>>I'm particularly interested in syncing Palm Pilot PDAs. 
>>    
>>
>...
>  
>
>>ser2net/sredird + Kermit
>>------------------------
>>Kermit has built-in RFC2217 support, but it doesn't work for me:
>>
>>---
>>C-Kermit>set host localhost:4911
>> DNS Lookup...  Trying 127.0.0.1...  Reverse DNS Lookup... (OK)
>> localhost.localdomain connected on port 4911
>>C-Kermit>set speed 2400
>>localhost.localdomain:4911, 2400 bps
>>C-Kermit>connect
>>Connecting to host localhost.localdomain:4911
>> Escape character: Ctrl-\ (ASCII 28, FS): enabled
>>Type the escape character followed by C to get back,
>>or followed by ? to see other options.
>>----------------------------------------------------
>>,
>>Communications disconnect
>>---
>>    
>>
>
>Well, this was my fault: I didn't understand how Kermit worked. When using 
>"set carrier-watch off", things worked much better. 
>
>* BUT: When using Kermit as a RFC2217 client for transferring files with
>ZMODEM, I get "Bad CRC" pretty much all the time. This happens *both* with
>the sredird, ser2net and Tactical Softwares Dialout/Server for Windows.
>The problem seems to go away if I transfer files without "0xff" bytes(!)  
>This looks like a Kermit bug to me. I'll guess I have to talk to the
>Kermit folks about this.
>
>
>* ser2net is totally incompatible with cyclades-serial-client. This is
>because ser2net interprets RFC2217 a bit differently. sredird sends
>command "101" as ack for command "1", while ser2net sends "1". RFC2217 is
>not very explicit about which way is most correct. The ser2net approach
>looks better to me, but the sredird one is probably more widely used
>(since Cyclades terminal server uses it, for example.) Probably, RFC2217
>software needs to handle both cases.
>
>
>Some more test cases:
>
>* minicom + cyclades-serial-client + sredird:
>  Works
>
>* pilot-link + cyclades-serial-client + sredird:
>  Does not work (see my previous mail)
>
>* pilot-link + cyclades-serial-client + Dialout/Server:
>  Works perfectly. 
>
>* photopc + cyclades-serial-client + sredird:
>  Does not work. I get "excessive retries". 
>
>* photopc + cyclades-serial-client + Dialout/Server:
>  Works perfectly. 
>
>So, the combination of sredird + cyclades-serial-client does not work 
>correctly. 
>
>Also, I tried running "Contract I.T. Communications Analyzer" on a Windows
>machine. One physical port was connected to a Linux machine via a null
>modem cable. This machine ran sredird. One virtual port was created with
>Tactical Softwares Dialout software, connecting to sredird. Communications
>Analyzer indicated 90% Byte Error Rate! Since cyclades-serial-client was
>not involved in this test, I would say that it looks like sredird is doing
>something wrong.
>
>
>If *anyone* has any ideas of how to solve these problem, please let me
>know. I'm starting to run out of time and patience...
>
>
>(Which mailing list is best for this topic?)
>
>  
>

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3427 bytes --]

  parent reply	other threads:[~2003-12-03 16:36 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-01 14:32 Serial port redirection Peter Astrand
     [not found] ` <Pine.LNX.4.44.0312011300480.8142-100000-K9BqGu7AvB3wj5YHdwD3Ga2PxDmRETKR@public.gmane.org>
2003-12-03 16:30   ` Peter Astrand
2003-12-03 13:31     ` Corey Minyard
2003-12-05  9:11       ` Peter Astrand
2003-12-05 21:10         ` Corey Minyard
2003-12-08  9:49           ` Peter Astrand
2003-12-08 10:11             ` Peter Astrand
     [not found]     ` <Pine.LNX.4.44.0312031557190.12826-100000-K9BqGu7AvB3wj5YHdwD3Ga2PxDmRETKR@public.gmane.org>
2003-12-03 16:36       ` Jeffrey Altman [this message]
     [not found]         ` <3FCE1101.40502-WLbs8XpHrcb2fBVCVOL8/A@public.gmane.org>
2003-12-03 13:02           ` Corey Minyard
     [not found]             ` <3FCDDEE6.4070905-HInyCGIudOg@public.gmane.org>
2003-12-04 17:13               ` Jeffrey Altman
     [not found]                 ` <3FCF6B4D.2050103-WLbs8XpHrcb2fBVCVOL8/A@public.gmane.org>
2003-12-03 13:23                   ` Corey Minyard
2003-12-04 17:37                     ` Jeffrey Altman
2003-12-04 17:49                       ` Corey Minyard
     [not found]                         ` <3FCF73BE.1010707-HInyCGIudOg@public.gmane.org>
2003-12-04 19:12                           ` Jeffrey Altman
2003-12-03 16:42       ` Jeffrey Altman
2003-12-03 13:21         ` Corey Minyard
2003-12-04 17:34           ` Jeffrey Altman
     [not found]             ` <3FCF7026.6070109-WLbs8XpHrcb2fBVCVOL8/A@public.gmane.org>
2003-12-03 13:45               ` Corey Minyard
2003-12-04 17:52                 ` Jeffrey Altman
2003-12-05  9:19             ` Peter Astrand
2003-12-05 15:33               ` Jeffrey Altman
2003-12-05 15:43                 ` Peter Astrand
2003-12-05 15:50                   ` Jeffrey Altman
2003-12-06 23:31                     ` Peter Astrand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FCE1101.40502@columbia.edu \
    --to=jaltman-wlbs8xphrcb2fbvcvol8/a@public.gmane.org \
    --cc=d.sbragion-eDKEdzQQoQ4L5bzFcGmneg@public.gmane.org \
    --cc=linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ltsp-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=minyard-HInyCGIudOg@public.gmane.org \
    --cc=peter-+4tYiAq3b6azQB+pC5nmwQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox