From owner-freebsd-current Mon Dec 14 11:24:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29204 for freebsd-current-outgoing; Mon, 14 Dec 1998 11:24:18 -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 LAA29143; Mon, 14 Dec 1998 11:24:10 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id TAA21292; Mon, 14 Dec 1998 19:23:59 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.1/8.9.1) with ESMTP id TAA04535; Mon, 14 Dec 1998 19:09:05 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199812141909.TAA04535@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Dmitry Valdov cc: Brian Somers , Brian Somers , current@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/ppp ip.c (fwd) In-reply-to: Your message of "Thu, 12 Nov 1998 11:28:45 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 14 Dec 1998 19:09:05 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, The attached message got lost in my intray :-/ Sorry. You say that with debug enabled, ppp thinks everything's ok. Does this mean that ppp is reporting the modem carrier status as being ``online'' ? If this is the case, then I suspect a hardware failure - it's unlikely that the sio driver would report carrier if there isn't any.... all it's doing is an inb() when it's given an ioctl(,TIOCMGET,). > On Thu, 12 Nov 1998, Brian Somers wrote: > > > Date: Thu, 12 Nov 1998 01:12:37 +0000 > > From: Brian Somers > > To: Dmitry Valdov > > Cc: Brian Somers , current@freebsd.org > > Subject: Re: cvs commit: src/usr.sbin/ppp ip.c (fwd) > > > > In the log, does it mention something like: > > > > deflink: /dev/cuaa0 doesn't support CD > > No. I've aready said that the problem exists periodicaly (~ in 5-10% cases). > Once again - I'm really sure that modem is configured properly, port/modem > correctly handles CD signal and it connected when script finished.. Just > believe me because I've experience with modems since 1990 :) > > > > > ? This will happen if your modem doesn't show a CD signal at all > > when LCP is started. If this is the case, your modem is > > misconfigured, or isn't connected when your dial/login scripts have > > finished. > > > > > Hi! > > > > > > Just have this problem again. With debug set on. ppp thinks that > > > everything is ok, but modem already hanged up. When I kill it with -1 it > > > says that > > > it normally terminated the connection then exit. > > > I think the workaround is to send ate0 to modem because it sends something > > > to modem and receiving it :) But default config has ATE1 in it. > > > I'm *really* sure that my modem is configured properly and it's not a user > > > error :) > > > > > > What can I do to help you to resolve the problem? I'm using dial-on-demand > > > (pmdemand section) and running ppp with a command ppp -auto pmdemand. > > > > > > > > > On Wed, 11 Nov 1998, Dmitry Valdov wrote: > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > Date: Tue, 10 Nov 1998 21:32:53 +0000 > > > > From: Brian Somers > > > > To: Kris Kennaway > > > > Cc: Dmitry Valdov , Brian Somers , > > > > current@freebsd.org > > > > Subject: Re: cvs commit: src/usr.sbin/ppp ip.c > > > > > > > > > On Tue, 10 Nov 1998, Dmitry Valdov wrote: > > > > > > > > > > > Also there is one more bug - sometimes ppp don't detect carrier lost and > > > > > > stays in open state for a long time. :( > > > > > > > > > > Sorry for the "implicit bug report", Brian, but I've been meaning to track > > > > > this down for a long time and make sure it's not user error. I often see this > > > > > as well - it's noticeable for me because I have ipfw installed and when the > > > > > modem drops carrier I see packets being 'reflected' by the modem's local echo > > > > > (I assume), and bouncing off the ipfw 'incoming address of myself' filter. > > > > > > > > Try ``set log +debug''. You should see the online/offline status of > > > > the link at frequent intervals. If this doesn't agree with your > > > > modem, then you modem may be misconfigured. > > > > > > > > > Kris -- 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