Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 1998 19:09:05 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Dmitry Valdov <dv@dv.ru>
Cc:        Brian Somers <brian@Awfulhak.org>, Brian Somers <brian@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/ppp ip.c (fwd) 
Message-ID:  <199812141909.TAA04535@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Thu, 12 Nov 1998 11:28:45 %2B0300." <Pine.BSF.3.95q.981112111129.13038A-100000@xkis.kis.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 <brian@Awfulhak.org>
> > To: Dmitry Valdov <dv@dv.ru>
> > Cc: Brian Somers <brian@freebsd.org>, 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 <brian@Awfulhak.org>
> > > > To: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
> > > > Cc: Dmitry Valdov <dv@dv.ru>, Brian Somers <brian@freebsd.org>,
> > > >     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 <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?199812141909.TAA04535>