public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* Remote serial port configuration.
@ 2004-03-04 15:03 Vijaymahantesh Kalakoti
  2004-03-04 15:46 ` Jan-Benedict Glaw
  2004-03-05 13:23 ` Gerald Emig
  0 siblings, 2 replies; 3+ messages in thread
From: Vijaymahantesh Kalakoti @ 2004-03-04 15:03 UTC (permalink / raw)
  To: linux-serial

[-- Attachment #1: Type: TEXT/PLAIN, Size: 627 bytes --]


Hi all,

I have connected two pc's through serial port. And one of the pc is 
configured to run a terminal on the serial port( ttyS0 ) by configuring 
the getty to run on serial port. 

I have written a program to send the username & password from the other 
computer. The configuration of serial port on both the systems are same.

But I am not able to login to the system. But when I give a delay 1/100 th 
of a second or more between sending of username & password, then it is 
getting logging into the system.

Can I log in without introducing any delays?

Pls help me in this regard.

Thanks & regards
vijay kalkoti
-- 


[-- Attachment #2: Type: text/plain, Size: 1049 bytes --]

***********************************************************************

********************************************************************

SASKEN BUSINESS DISCLAIMER

This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.

***********************************************************************

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Remote serial port configuration.
  2004-03-04 15:03 Remote serial port configuration Vijaymahantesh Kalakoti
@ 2004-03-04 15:46 ` Jan-Benedict Glaw
  2004-03-05 13:23 ` Gerald Emig
  1 sibling, 0 replies; 3+ messages in thread
From: Jan-Benedict Glaw @ 2004-03-04 15:46 UTC (permalink / raw)
  To: linux-serial

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

On Thu, 2004-03-04 20:33:58 +0530, Vijaymahantesh Kalakoti <vijayck@sasken.com>
wrote in message <Pine.LNX.4.44.0403042021001.5144-100000@pcz-vijayck.sasken.com>:
> I have connected two pc's through serial port. And one of the pc is 
> configured to run a terminal on the serial port( ttyS0 ) by configuring 
> the getty to run on serial port. 
> 
> I have written a program to send the username & password from the other 
> computer. The configuration of serial port on both the systems are same.
> 
> But I am not able to login to the system. But when I give a delay 1/100 th 
> of a second or more between sending of username & password, then it is 
> getting logging into the system.
> 
> Can I log in without introducing any delays?

Sounds a bit like

	- Handshake wires are missing (so some data is lost)
	- UART type is configured wrongly

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Remote serial port configuration.
  2004-03-04 15:03 Remote serial port configuration Vijaymahantesh Kalakoti
  2004-03-04 15:46 ` Jan-Benedict Glaw
@ 2004-03-05 13:23 ` Gerald Emig
  1 sibling, 0 replies; 3+ messages in thread
From: Gerald Emig @ 2004-03-05 13:23 UTC (permalink / raw)
  To: Vijaymahantesh Kalakoti; +Cc: linux-serial

On Thu, 4 Mar 2004 20:33:58 +0530 (IST)
Vijaymahantesh Kalakoti <vijayck@sasken.com> wrote:

> 
> Hi all,
> 
> I have connected two pc's through serial port. And one of the pc is 
> configured to run a terminal on the serial port( ttyS0 ) by
> configuring the getty to run on serial port. 
> 
> I have written a program to send the username & password from the
> other computer. The configuration of serial port on both the systems
> are same.
> 
> But I am not able to login to the system. But when I give a delay
> 1/100 th of a second or more between sending of username & password,
> then it is getting logging into the system.
> 
> Can I log in without introducing any delays?

May be the following helps:

Current getty programs do clear their input buffer before they issue the
"Password:" prompt.


> 
> Pls help me in this regard.
> 
> Thanks & regards
> vijay kalkoti
> -- 
> 
> 



Gerald Emig

--
EMIG Software, Engelstr. 17, D-66564 Ottweiler, Germany
Tel.+49(0)6858-699567, Fax.699568, gme@emig-software.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-05 12:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-04 15:03 Remote serial port configuration Vijaymahantesh Kalakoti
2004-03-04 15:46 ` Jan-Benedict Glaw
2004-03-05 13:23 ` Gerald Emig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox