Date: Tue, 9 Jul 1996 13:52:25 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: martin.loeffler@utoronto.ca (Martin Loeffler) Cc: questions@freebsd.org Subject: Re: forcing a modem to hangup Message-ID: <199607092052.NAA24963@phaeton.artisoft.com> In-Reply-To: <1.5.4.32.19960709125713.006dccd4@mailbox1.utcc.utoronto.ca> from "Martin Loeffler" at Jul 9, 96 08:57:13 am
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607092052.NAA24963>