From owner-freebsd-hackers Sat May 27 00:58:21 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA13914 for hackers-outgoing; Sat, 27 May 1995 00:58:21 -0700 Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.225.2]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id AAA13908 for ; Sat, 27 May 1995 00:58:11 -0700 Received: from gilberto.physik.rwth-aachen.de by campino.informatik.rwth-aachen.de (4.1/campino-7) id AA26295; Sat, 27 May 95 09:57:29 +0200 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.8/8.6.9) id KAA24773 for freebsd-hackers@freefall.cdrom.com; Sat, 27 May 1995 10:08:16 +0200 Date: Sat, 27 May 1995 10:08:16 +0200 From: "Christoph P. Kukulies" Message-Id: <199505270808.KAA24773@gilberto.physik.rwth-aachen.de> To: freebsd-hackers@freefall.cdrom.com Subject: ttydx/cuaax dialup woes Sender: hackers-owner@FreeBSD.org Precedence: bulk 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