From owner-freebsd-current Sat Dec 21 15:52:48 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA08417 for current-outgoing; Sat, 21 Dec 1996 15:52:48 -0800 (PST) Received: from po1.glue.umd.edu (root@po1.glue.umd.edu [129.2.128.44]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id PAA08393; Sat, 21 Dec 1996 15:52:42 -0800 (PST) Received: from packet.eng.umd.edu (packet.eng.umd.edu [129.2.98.184]) by po1.glue.umd.edu (8.8.3/8.7.3) with ESMTP id SAA06200; Sat, 21 Dec 1996 18:52:39 -0500 (EST) Received: from localhost (chuckr@localhost) by packet.eng.umd.edu (8.8.3/8.7.3) with SMTP id SAA24079; Sat, 21 Dec 1996 18:52:38 -0500 (EST) X-Authentication-Warning: packet.eng.umd.edu: chuckr owned process doing -bs Date: Sat, 21 Dec 1996 18:52:38 -0500 (EST) From: Chuck Robey X-Sender: chuckr@packet.eng.umd.edu To: dicen@hooked.net cc: Nate Williams , freebsd-questions@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: User ppp not hanging up modem. In-Reply-To: <32BBB4C1.794BDF32@hooked.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 21 Dec 1996 dicen@hooked.net wrote: > Nate Williams wrote: > > > > > 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. Note that the standard command "&D3" tells the modem to reset itself when DTR drops. Nate's right, this _is_ standard. What he missed was that Hayes modems (Hayes originated the protocol that's now a defacto standard) used to get around the +++ transparency issue by requiring a 2 second dead time (either before or after the +++ code, I forget which). Hayes patented that delay, I think, which is why modems don't use it anymore. > > > > Most of this *is* already documented in the FreeBSD handbook. > > > > Nate > Nope. Nope. Nope. Yes, section 11.3.6. Nate's right. I have look through the entire /usr/share/doc tree and > didn't find anything about ppp not hanging up modems, etc.. Someone > please put this in the FAQ. I have read usenet posts about this one. > Other people are going through the hell I did. I don't like spending > hours debuging code only to discover the code is fine and my modem is > misconfigured (sure I should have thought of it first). > > dicen > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------