From owner-freebsd-questions Tue Jul 9 13:57:26 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA06820 for questions-outgoing; Tue, 9 Jul 1996 13:57:26 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA06815 for ; Tue, 9 Jul 1996 13:57:22 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA24963; Tue, 9 Jul 1996 13:52:25 -0700 From: Terry Lambert Message-Id: <199607092052.NAA24963@phaeton.artisoft.com> Subject: Re: forcing a modem to hangup To: martin.loeffler@utoronto.ca (Martin Loeffler) Date: Tue, 9 Jul 1996 13:52:25 -0700 (MST) Cc: questions@freebsd.org In-Reply-To: <1.5.4.32.19960709125713.006dccd4@mailbox1.utcc.utoronto.ca> from "Martin Loeffler" at Jul 9, 96 08:57:13 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm running freebsd2.1 and using PPP to connect to the net. I have a problem > in that if the machine crashes and reboots, the modem stays connected and > PPP can't get ahold of it to re-dial. Is there anything that I can put in > rc.local to force a hangup before ppp tries to dial, or is there an option > I've missed in /etc/ppp/options to tell the modem to hangup when ppp > terminates, or is it too early in the morning to think about these things? The default POST setting for DTR should be such that it is *not* asserted unless it has been specifically asserted. An on-to-off transition of DTR will cause your modem to reset as if powered off then on. Failure modes: 1) Internal modems. Don't buy them, you can't trust them. 2) Modem not set to follow DTR correctly. Modem should reset as if powered off then back on on on-to-off DTR transition; if your modem does not do this, it is set up incorrectly. 3) Modem does not signal DCD loss to computer. Modem should on-to-off transition DCD signal when remote carrier is lost. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.