Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 1995 10:08:16 +0200
From:      "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To:        freebsd-hackers@freefall.cdrom.com
Subject:   ttydx/cuaax dialup woes
Message-ID:  <199505270808.KAA24773@gilberto.physik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
I had a hell of a time figuring out why my dial-in machine didn't
work anymore under FreeBSD-2.0-current. I tried nearly everything
in /etc/rc.serial. My ttys line was

ttyd0  "/usr/libexec/getty std.19200" dialup on

My modems had AT&C1 and AT&D2 set.
When dialing in from my home site I got a CONNECT 14400/V.42bis
but only got a string of garbage which did not appear to be the
banner just in the wrong baud rate. Looking at the process list 
I could see (through a different connection into the machine)
that getty was still sitting there with the same pid. After hanging
up at my home site a new getty was execed (pid change).
Baud rates from the computer to the modem were 19200 on both sides.
I also did a stty -f /dev/ttyid0 19200 -crtsts (also crtscts).
The modems were configured to keep the baudrate (AT\J0). It looked like
the open (in getty) did not succeed (DCD line?).

I could not get a login banner in no way whatever I tried until I changed
the ttys line to

cuaa0 "/usr/libexec/getty std.19200" dialup on

and like magic everything worked.

Could anyone explain why I couldn't manage this using ttyd devices?


--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
FreeBSD blues.physik.rwth-aachen.de 2.0-BUILT-19950507 FreeBSD 2.0-BUILT-1995
0507 #0: Sun May  7 18:08:05 MET DST 1995     root@blues.physik.rwth-aachen.d
e:/usr/src/sys/compile/BLUESGUS  i386



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