From owner-freebsd-questions Sun Dec 22 20:27:43 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id UAA14966 for questions-outgoing; Sun, 22 Dec 1996 20:27:43 -0800 (PST) Received: from obie.softweyr.com (slc37.modem.xmission.com [204.228.136.37]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id UAA14959 for ; Sun, 22 Dec 1996 20:27:39 -0800 (PST) Received: (from wes@localhost) by obie.softweyr.com (8.7.5/8.6.12) id VAA00453; Sun, 22 Dec 1996 21:28:21 -0700 (MST) Date: Sun, 22 Dec 1996 21:28:21 -0700 (MST) Message-Id: <199612230428.VAA00453@obie.softweyr.com> From: Wes Peters To: dicen@hooked.net CC: questions@freebsd.org Subject: Re: User ppp not hanging up modem. In-Reply-To: <32BBB4C1.794BDF32@hooked.net> 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 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. dicen@hooked.net replied: > Interesting. But, what exactly is the prabobalitity of that? I will have > think about this one. Nearly 100%, in my case. This mail message, for instance, would cause the modem to drop into command mode and the PPP link to hang. Much of the source code I work on between home and work has comments that look like: //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // // Foo: this object really does nothing; it is a syntatical // meta-object. // //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Zappo snappo, down comes the link! % Most of this *is* already documented in the FreeBSD handbook. > Nope. Nope. Nope. 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). FreeBSD Handbook : Basic Networking : Dialup access : Modem Settings, section 11.4.6, tells you exactly how to setup your modem to make it work with PPP under FreeBSD. If you're going to assume you know more about modems and FreeBSD than the contributors who wrote the handbook, don't be surprised when you get bitten. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com