From owner-freebsd-questions Wed Jan 13 11:23:04 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA07336 for freebsd-questions-outgoing; Wed, 13 Jan 1999 11:23:04 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA07181 for ; Wed, 13 Jan 1999 11:22:27 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id TAA09697; Wed, 13 Jan 1999 19:21:18 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.1/8.9.1) with ESMTP id TAA00784; Wed, 13 Jan 1999 19:03:36 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199901131903.TAA00784@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Jay Nordwick" cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to force ppp to hangup? In-reply-to: Your message of "Sun, 10 Jan 1999 05:02:52 PST." <199901101302.FAA18650@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Jan 1999 19:03:36 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am using userland ppp and sometime I cannot get the modem to force > a disconnect. I have tried doing a 'close' and/or 'down' but ofter, after > the other modem has disconnected, mine insists on screaming down the line > for up to two minutes it seems. > > I have tried cat'ing directly to the device and also going into term mode, but > the modem does not ack back when I give it commands. > > I am using a USR 56 Flex PNP, if that makes a difference. > > What is the difference between 'down' and 'close'? If you upgrade to the latest ppp, `down' will close the connection immediately. `Close' will attempt to tell the other side about it first. Older (1.*) versions of ppp would not listen to commands while chatting. You can get the latest ppp at http://www.Awfulhak.org/ppp.html. > -jay -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message