Date: Thu, 12 Nov 1998 01:08:05 +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) Message-ID: <199811120108.BAA04676@woof.lan.awfulhak.org> In-Reply-To: Your message of "Thu, 12 Nov 1998 00:00:00 %2B0300." <Pine.BSF.4.02A.9811112357130.646-100000@home.dv.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <brian@Awfulhak.org> > > To: Jason Fesler <jfesler@gigo.com> > > Cc: Kris Kennaway <kkennawa@physics.adelaide.edu.au>, > > Dmitry Valdov <dv@dv.ru>, Brian Somers <brian@FreeBSD.ORG>, > > 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 <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?199811120108.BAA04676>