Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 1996 18:52:38 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        dicen@hooked.net
Cc:        Nate Williams <nate@mt.sri.com>, freebsd-questions@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: User ppp not hanging up modem.
Message-ID:  <Pine.OSF.3.95.961221184603.23960A-100000@packet.eng.umd.edu>
In-Reply-To: <32BBB4C1.794BDF32@hooked.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95.961221184603.23960A-100000>