Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 1995 03:38:28 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        ache@astral.msk.su, terry@cs.weber.edu
Cc:        bde@zeta.org.au, hackers@freebsd.org, harry@hgac.com, jkh@violet.berkeley.edu
Subject:   Re: dial up at > 9600 baud
Message-ID:  <199507231738.DAA18866@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> The problem: initial port speed 9600, getty speed 38400 f.e.,
>> port opened on carrier at 9600, modem detects it and set
>> connection to 9600 too, _then_ getty change port speed to 38400
>> confusing modem completely.
>> 
>> I understand that problem solves by locking port on 38400
>> initially, but it isn't nice solution, getty must able
>> to open port at correct speed setted in its flags.

There's nothing really wrong with setting the initial speed to 38400
(except 38400 is too slow - why not 115200? :-).  Use
`stty 115200 </dev/ttyid*' in /etc/rc.serial.

>I guess I still don't understand how the modem magically detects
>the port speed when the port sets the baud before it says anything
>(like "login: ").

Perhaps getty sometimes writes something before setting the speed.
It does quite a let between the open and setting the speed.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507231738.DAA18866>