From owner-freebsd-current Thu Jun 19 16:31:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA26848 for current-outgoing; Thu, 19 Jun 1997 16:31:51 -0700 (PDT) Received: from veda.is (ubiq.veda.is [193.4.230.60]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA26627 for ; Thu, 19 Jun 1997 16:27:07 -0700 (PDT) Received: (from adam@localhost) by veda.is (8.8.5/8.7.3) id XAA12656 for freebsd-current@freebsd.org; Thu, 19 Jun 1997 23:54:16 GMT From: Adam David Message-Id: <199706192354.XAA12656@veda.is> Subject: getty modem control To: freebsd-current@freebsd.org Date: Thu, 19 Jun 1997 23:54:15 +0000 (GMT) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 1. Would anyone be terribly upset if I added modem string grabbing support to getty? This would be useful for logging caller ID and connect speed. 2. I've been trying to use the modem init stuff on FreeBSD 2.2.2 getty. DTR lights up but there is no flicker on TXD. After this attempt I can no longer access /dev/ttyd0 or /dev/cua00, 'cu' refuses to open the port (no light on DTR) because "Line in use". However, there is nothing using the line. getty will light DTR on further attempts, but no dice. Obviously, nothing is getting sent to the hardware port and therefore no reply is received. # dwimgrep /etc/ttys ttyd0 "/usr/libexec/getty dialppp" unknown on # dwimgrep /etc/gettytab dialppp:\ :pp=/usr/local/sbin/pplogin:hw:dc#15:\ :ic="" at&fe0&t5&w0z0 OK\r:ac="RING\r ATA\r CONNECT:\ :tc=std.115200: # dwimgrep /var/log/authlog Jun 19 22:55:49 x getty[15727]: getty_chat script='"" at&fe0&t5&w0z0^M OK^M' Jun 19 22:55:49 x getty[15727]: chat_expect '' Jun 19 22:55:49 x getty[15727]: chat_expect OK Jun 19 22:55:49 x getty[15727]: chat_send 'at&fe0&t5&w0z0^M' Jun 19 22:55:59 x getty[15727]: chat_send TIMEOUT Jun 19 22:55:59 x getty[15727]: getty_chat TIMEOUT Jun 19 22:55:59 x getty[15727]: modem init problem on /dev/ttyd0 -- Adam David