From owner-freebsd-current Wed Nov 11 17:16:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA01865 for freebsd-current-outgoing; Wed, 11 Nov 1998 17:16:45 -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 RAA01852; Wed, 11 Nov 1998 17:16:38 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.Awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id BAA02685; Thu, 12 Nov 1998 01:06:34 GMT (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id BAA04676; Thu, 12 Nov 1998 01:08:06 GMT (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199811120108.BAA04676@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: cvs commit: src/usr.sbin/ppp ip.c (fwd) In-reply-to: Your message of "Thu, 12 Nov 1998 00:00:00 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 12 Nov 1998 01:08:05 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Are you doing anything funny with ``hostname'' on your machine ? The only reports I've heard where ppp hangs at startup is when your ``hostname'' won't resolve (see http://www.FreeBSD.org/FAQ/userppp.html). If this isn't the problem, I'd appreciate if you could build ppp with -g and when it hangs, run ``gdb -p whatever'' and do a ``bt''. Cheers. > I've just tried to put > "delete! default" in ppp.conf file and it has no effect. ppp hangs when > default route exists. > > > On Wed, 11 Nov 1998, Dmitry Valdov wrote: > > > > > > > ---------- Forwarded message ---------- > > Date: Tue, 10 Nov 1998 21:40:53 +0000 > > From: Brian Somers > > To: Jason Fesler > > Cc: Kris Kennaway , > > Dmitry Valdov , Brian Somers , > > current@FreeBSD.ORG > > Subject: Re: cvs commit: src/usr.sbin/ppp ip.c > > > > > > 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 > > > > > > I've had this since the 2.2.2 days when I first started running ppp. > > > After a while (hours, days, weeks - random) either carrier isn't noticed > > > as being missing, or all outgoing packets don't cross the serial cable to > > > to the other side. After a while I kinda gave up. > > > > Ppp won't expect carrier if it's not detected when ppp starts doing > > LCP. This allows null-modem cables without the correct wiring to > > work. > > > > As I've said to a couple of these posts - enable debug logging and > > you'll see the carrier status reported every second. You can also > > ``show modem'' to see what things look like. > > > > > I now every few minutes fping a few hosts on the nearby remote side. If > > > they _all_ fail (a good 10 second timeout is given) then I kill -9 the ppp > > > session, wait 2 seconds, then restart ppp. It's caught every strange > > > random bug on either side soon enough that I no longer have to try and > > > call home and walk the wife through ppp.. > > > > Ppp should be a lot more reliable these days. -- 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