From owner-freebsd-questions Sat Dec 21 10:40:36 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA21330 for questions-outgoing; Sat, 21 Dec 1996 10:40:36 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id KAA21325 for ; Sat, 21 Dec 1996 10:40:34 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id LAA27342; Sat, 21 Dec 1996 11:40:28 -0700 (MST) Date: Sat, 21 Dec 1996 11:40:28 -0700 (MST) Message-Id: <199612211840.LAA27342@rocky.mt.sri.com> From: Nate Williams To: Richard Wackerbarth Cc: dicen@hooked.net, freebsd-questions@freebsd.org, Nate Williams Subject: Re: User ppp not hanging up modem. In-Reply-To: References: <32BBA85F.41C67EA6@hooked.net> <199612211751.KAA27123@rocky.mt.sri.com> <32BBB4C1.794BDF32@hooked.net> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >> That's *NOT* the correct thing. What happens when for some reason > >> PPP happens to send the sequence '+++' to the modem? All of a sudden > >> it'll drop into command mode and you're screwed. User-PPP (as well as > >> all other PPP/SLIP implementations I've worked with) assumes that you've > >> disabled the escape sequence at least temporarily. > >> > >Interesting. But, what exactly is the prabobalitity of that? I will have > >think about this one. > > Actually, NOTHING happens. The escape sequence must be followed by a period > of idle (output only) time. If you transmit any character before the > timeout period expires, the modem ignores the sequence. There is still a *very* small chance that the last three characters in a packet could be in fact three escape characters. Small as it is, I still contend that depending on the escape character/hangup behavior is prone to errors and failure. Nate