Date: Mon, 25 Dec 1995 16:35:40 -0700 From: smp@csn.net To: FreeBSD-gnats-submit@freebsd.org Subject: bin/914: bug in tip: hayes dialer Message-ID: <199512252335.QAA02069@ilsa.systemsix.com> Resent-Message-ID: <199512252340.PAA07230@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 914
>Category: bin
>Synopsis: hayes dialer for tip fails 1st attempt to dial
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 25 15:40:01 PST 1995
>Last-Modified:
>Originator: Steve Passe
>Organization:
New Ideas
>Release: FreeBSD 2.1-STABLE i386
>Environment:
Supra Fax v32.bis modem on 16550 UART
>Description:
The hayes dialer stalls waiting for a 'connect' code from the modem.
It usually recovers after the 1st timeout.
>How-To-Repeat:
re-build tip with the hayes dialer defined in tipconf.h.
attempt to dial a site defined in /etc/remote.
>Fix:
The second 'gobble("\r");' appears to be the problem, removing it
causes the dial sequence to work properly.
/usr/src/usr.bin/tip/libacu/hayes.c, line 96:
write(FD, "ATv0\r", 5); /* tell modem to use short status codes */
gobble("\r");
>Audit-Trail:
>Unformatted:
>>> gobble("\r");
write(FD, "ATTD", 4); /* send dial command */
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512252335.QAA02069>
