From owner-freebsd-isp Mon Sep 2 13:03:00 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA09756 for isp-outgoing; Mon, 2 Sep 1996 13:03:00 -0700 (PDT) Received: from bitbucket.edmweb.com (redshirt01.edmweb.com [204.244.190.10]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA09751 for ; Mon, 2 Sep 1996 13:02:50 -0700 (PDT) Received: (from steve@localhost) by bitbucket.edmweb.com (8.6.12/8.6.12) id NAA00239; Mon, 2 Sep 1996 13:02:41 -0700 Date: Mon, 2 Sep 1996 13:02:37 -0700 (PDT) From: Steve Reid To: freebsd-isp@freebsd.org Subject: pppd lcp-echo? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've been looking at the pppd man page and I noticed the lcp-echo-request and lcp-echo-failure options. These options sound like they would be good to use because they would detect a lost connection when the modem would not. For instance, if there's a problem with the modem control lines not reporting a lost carrier, or if the stack software on the other end has died but carrier has not been dropped. I tried using lcp-echo-request and lcp-echo-failure on the server I'm setting up but those options did not work well at all. Either the iijppp on my end wasn't sending out the responses, or the pppd on the server was ignoring them... The connection died after pppd sent out as many echo requests as specified in the lcp-echo-failure option. Also, pppd did not drop DTR as I expected, but instead just refused to forward packets. The server machine is running FreeBSD 2.1.0-RELEASE with the pppd and sys/netinet/in_rmx.c taken from a fairly recent version of -stable. The client is my 2.1.0-RELEASE machine at home with iijppp. Is this option broken, or do I have the wrong idea of its purpose? Also, will all of the popular stack programs send out echo responses? ===================================================================== | Steve Reid - SysAdmin & Pres, EDM Web (http://www.edmweb.com/) | | Email: steve@edmweb.com Home Page: http://www.edmweb.com/steve/ | | PGP (2048/9F317269) Fingerprint: 11C89D1CD67287E68C09EC52443F8830 | | -- Disclaimer: JMHO, YMMV, TANSTAAFL, IANAL. -- | ===================================================================:)