From owner-freebsd-current Sat Nov 21 07:00:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA16998 for freebsd-current-outgoing; Sat, 21 Nov 1998 07:00:38 -0800 (PST) (envelope-from owner-freebsd-current@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 HAA16809 for ; Sat, 21 Nov 1998 07:00:32 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (woof.lan.Awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id PAA22230; Sat, 21 Nov 1998 15:00:00 GMT (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id NAA01689; Sat, 21 Nov 1998 13:53:22 GMT (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199811211353.NAA01689@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Dmitry Valdov cc: Brian Somers , current@FreeBSD.ORG Subject: Re: more info about ppp's problem In-reply-to: Your message of "Sat, 21 Nov 1998 11:14:10 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 21 Nov 1998 13:53:22 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi! > > There is additional info. PPP does correctly handle carrier lost, but it > DOESN'T down link sometimes. (Not too often). There is output from show > commands when it happens: > > PPP ON home> show modem > Name: deflink > State: open, no carrier > Device: /dev/modem [.....] > PPP ON home> show timers > IPCP throughput timer[0x8089994]: freq = 1.00s, next = 0.40s, state = > running > modem throughput timer[0x80a3040]: freq = 1.00s, next = 1.00s, state = > running > hdlc timer[0x80a5728]: freq = 60.00s, next = 32.40s, state = running > idle timer[0x808afe0]: freq = 300.00s, next = 293.10s, state = running [.....] As you can see, there's no ``modem CD'' timer running. The only way this can happen is if carrier wasn't present when your login script completed. You should see a message in your log file saying deflink: /dev/modem doesn't support CD The only thing I can think may be happening is that your modem is not reporting CD correctly, or is reporting it correctly, but line noise is causing it to ``fluctuate''. There's a setting on most modems (S10 maybe?) that determines how long carrier must be lost before reporting it - you could try increasing this to something like 2 seconds. If you've been seeing frequent line drops, this may help that too (if CD is there after the login script, ppp may drop the link because of line noise because it sees the carrier loss). > Dmitry. -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message