Date: Thu, 19 Jun 1997 23:54:15 +0000 (GMT) From: Adam David <adam@veda.is> To: freebsd-current@freebsd.org Subject: getty modem control Message-ID: <199706192354.XAA12656@veda.is>
next in thread | raw e-mail | index | archive | help
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 <adam@veda.is>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706192354.XAA12656>