Date: Sat, 21 Nov 1998 13:53:22 +0000 From: Brian Somers <brian@Awfulhak.org> To: Dmitry Valdov <dv@dv.ru> Cc: Brian Somers <brian@Awfulhak.org>, current@FreeBSD.ORG Subject: Re: more info about ppp's problem Message-ID: <199811211353.NAA01689@woof.lan.awfulhak.org> In-Reply-To: Your message of "Sat, 21 Nov 1998 11:14:10 %2B0300." <Pine.BSF.4.02A.9811211108380.641-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811211353.NAA01689>